Problem uploading sketch in verify phase

[quote author=Coding Badly link=topic=102895.msg772440#msg772440 date=1335343735]

Just to make certain I understand: When you upload from the command-line, does the verify work? Or do you have avrdude skip the verify?

[/quote]Avrdude works perfectly from the command line and does complete the verify.

ken@franken-penguin /tmp/build6480978933833115943.tmp $ avrdude -pm2561 -b57600 -cstk500v2 -P/dev/ttyUSB1 -U flash:w:Blink.cpp.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e9802
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "Blink.cpp.hex"
avrdude: input file Blink.cpp.hex auto detected as Intel Hex
avrdude: writing flash (1478 bytes):

Writing | ################################################## | 100% 0.35s

avrdude: 1478 bytes of flash written
avrdude: verifying flash memory against Blink.cpp.hex:
avrdude: load data flash data from input file Blink.cpp.hex:
avrdude: input file Blink.cpp.hex auto detected as Intel Hex
avrdude: input file Blink.cpp.hex contains 1478 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.29s

avrdude: verifying ...
avrdude: 1478 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done. Thank you.