Problem uploading sketch in verify phase
the following applies arduino -1.0 on linux(64 bit).
i ported ide run on atmega2561 in stk500/stk501 dev board. (modified pins_arduino.h , boards.txt) bootloader stk500v2 @ 115200 16mhz clock. set fuses using avr studio , jtagmkii (on windows machine). used avrdude command line burn bootloader controller (from linux computer). verified avrdude connect bootloader (avrdude -pm2561 -cstk500v2 -b115200 -p/dev/ttyusb1) this on linux using usb serial dongle plugged stk501 db9. .1uf capacitor soldered db9 pin 4 rst line on stk500. boards.txt file modified entry stk500/m2561 having correct baud rate , bootloader entries. able download sketches board using ide, don't verify. downloaded simple blink example , modified go faster. during download led stops blinking verifies ide reset board. following output in verbose mode can see download proceeds, gets stuck during verify readback phase during see "timed out" message. if exit ide , reset board manually newly loaded sketch runs. can manually load sketch avrdude command line using verify option compile sketch , find hex file in /tmp/buildxxxxxx directory. manually loading avrdude command line verify download correctly. somehow ide not communicating correctly avrdude.
i ported ide run on atmega2561 in stk500/stk501 dev board. (modified pins_arduino.h , boards.txt) bootloader stk500v2 @ 115200 16mhz clock. set fuses using avr studio , jtagmkii (on windows machine). used avrdude command line burn bootloader controller (from linux computer). verified avrdude connect bootloader (avrdude -pm2561 -cstk500v2 -b115200 -p/dev/ttyusb1) this on linux using usb serial dongle plugged stk501 db9. .1uf capacitor soldered db9 pin 4 rst line on stk500. boards.txt file modified entry stk500/m2561 having correct baud rate , bootloader entries. able download sketches board using ide, don't verify. downloaded simple blink example , modified go faster. during download led stops blinking verifies ide reset board. following output in verbose mode can see download proceeds, gets stuck during verify readback phase during see "timed out" message. if exit ide , reset board manually newly loaded sketch runs. can manually load sketch avrdude command line using verify option compile sketch , find hex file in /tmp/buildxxxxxx directory. manually loading avrdude command line verify download correctly. somehow ide not communicating correctly avrdude.
just make understand: when upload command-line, verify work? or have avrdude skip verify?
Arduino Forum > Using Arduino > Installation & Troubleshooting > Problem uploading sketch in verify phase
arduino
Comments
Post a Comment