Today I wrote and compiled a very large sketch:
Bynary sketch size: 32152 byte (of a 32256 byte maximum)
When I've tried to upload it, I have seen the RX/TX LEDs blinking for a couple of seconds with the message "uploading..." into the IDE. Then LEDs have stopped blinking and I've got this error:
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64 avrdure: failed to write flash memory, rc=4 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I've tried to upload the example sketch "Blinking" and it did: it have been uploaded with no errors. I tried another sketch and no problems found. But if I try this huge sketch I get that error. Arduino Uno - IDE 0021 - Windows XP I didn't try under Linux and/or IDE 0022.