Dears,
i need your support badly. i'm completely new to arduino.
i cannot upload or compile any simple sketch and i get this message.
Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
loading hardware from C:\Program Files (x86)\Arduino\hardware: loading package arduino: loading platform release: Error reading file (C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt:0): Invalid line format, should be 'key=value'
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
i've tried to reinstall the IDE and i've got the message below.
Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Sketch uses 1258 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
dear Ash112211,
to Solve this problem you must:
1.right click on (My Computer) window.
2.Click Properties
3.click "device Manager" on the left side
4.click twice on "Ports (COM & LPT)"
5.right click on "arduino"
6.click "update driver software"
7.click the second option"browsing
8.choose the drivers folder in arduino folder (in Programfiles folder)
9.click "next"
IN ARDUINO IDE:
1.click "tools" tab
2.choose the board type
3.choose the arduino COM
Regards
,kiroloes
thank you kiroloes so much.
im really grateful for your help. now it's working:)
Hi My IDE is recognising my Arduino and the COM port as well but still I am getting this error-:
Arduino: 1.8.11 Hourly Build 2019/11/11 03:33 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Sketch uses 1468 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.