stk500v2 Error
hello,
im working pressure sensor bmp180 , arduino mega 2560. im not able upload program. there no compilation errors. have used same board work other sensors lm35 , dht11 , worked absolutely fine.
i checked ports, connections , there no issues that.
arduino: 1.6.13 (windows 10), board: "arduino/genuino mega or mega 2560, atmega2560 (mega 2560)"
sketch uses 6,978 bytes (2%) of program storage space. maximum 253,952 bytes.
global variables use 483 bytes (5%) of dynamic memory, leaving 7,709 bytes local variables. maximum 8,192 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 programmer
an error occurred while uploading sketch
this report have more information with
"show verbose output during compilation"
option enabled in file -> preferences.
this error message. can suggest me better solution?
im working pressure sensor bmp180 , arduino mega 2560. im not able upload program. there no compilation errors. have used same board work other sensors lm35 , dht11 , worked absolutely fine.
i checked ports, connections , there no issues that.
arduino: 1.6.13 (windows 10), board: "arduino/genuino mega or mega 2560, atmega2560 (mega 2560)"
sketch uses 6,978 bytes (2%) of program storage space. maximum 253,952 bytes.
global variables use 483 bytes (5%) of dynamic memory, leaving 7,709 bytes local variables. maximum 8,192 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 programmer
an error occurred while uploading sketch
this report have more information with
"show verbose output during compilation"
option enabled in file -> preferences.
this error message. can suggest me better solution?
stk500 errors
this of "generic" code give 1 answer.
best bet start @ top of list , eliminate many issues mentioned possible.
then search of forum "stk500" , follow each answer end of thread , try other people have tried. quite there "oh god" moments didn't think work does.
or 1 step tried may depend on step different post.
some of fixes / answers below no means complete list , small compilation of real answers forum. claim no credit of these.
"i had issue couple of times , l happened while unplugging , giving power arduino while other things plugged in. had restart computer fixed in both of cases."
"the problem com port has changed. check device manager check compiler tools/serial port; should same."
"had problem on windows machine. problem drivers. had not installed drivers arduino yet. "
"fyi should have reseat atmega chip once, if @ all. idea make sure pins contacting, takes 1 try. 98% of time not going help, it's rare cases chip , socket not aligned."
"i had press reset button after pressed "upload i/o board". , when after, mean 4 5 seconds after. seriously. of course, opposite advice feedback returned arduino ide....
it turns out (in case anyway) there narrow window of time uploader work. if press button early, "programmer not responding". if press late, "programmer not responding". have less second's time right. "
"burning bootloader helped."
"windows 10 , arduino drivers don't along. suggestion reinstall drivers , make sure correct ones."
"i got when used ultrasound sensor in project connected on rx/tx pins. after disconnecting upload worked. did not write if there connected @ time of upload. maybe helps?"
"check have chosen correct board under tools before uploading, unplug usb , re plug in, should trick."
on mac os x:
/users/(username)/library/arduino15 (a.k.a. ~/library/arduino15)
(note: 'library' folder greyed out in finder. folder can't opened double-click. browse contents of 'library', ctrl-click on , select "open in new tab" pop-up menu.)
on windows delete or rename both:
arduino ide 1.6.5r5 , previous: c:\users\(username)\appdata\roaming\arduino15
arduino ide 1.6.6 , later: c:\users\(username)\appdata\local\arduino15
on linux:
/home/(username)/.arduino15 (a.k.a. ~/.arduino15)
(note: file/folder names starting '.' not shown in directory listings. use 'ls -a' directory listing includes hidden files.)
"if using arduino nano w/ osx need install drivers.
download , execute it:
http://www.ftdichip.com/drivers/vcp/macosx/ftdiusbserialdriver_v2_2_14.dmg
and you'll find files:
• ftdiusbserialdriver_10_3.pkg specific osx 10.3 (panther)
• ftdiusbserialdriver_10_4_10_5_10_6.pkg specific osx 10.4 (tiger), osx 10.5 (leopard)
and 10.6 (snow leopard).
execute "ftdiusbserialdriver_10_4_10_5_10_6.pkg" if using osx 10.5+ (leopard+)"
"do have usb hub handy (thingy plugs usb , splits off 3 or 4 other ports)? not sure how macos handles hub, windoze, assigns device , starts installation process again. make sure have proper permissions (user account admin rights)."
"my problem installed ftdi drivers on mac though working arduino mega (which not need drivers) . apparently arduino program using drivers communicate mega why in tools-port had tty-usbserialxxx. uninstalled drivers , got tty.usbmodem1411. arduino mega ran fine. hope helps "
lots more here
Arduino Forum > Using Arduino > Installation & Troubleshooting > stk500v2 Error
arduino
Comments
Post a Comment