stk500_paged_write() protocol error expect 0x14, resp0x64

Running a fairly new Arduino with a 328. Also an Arduino chip on a breadboard through a serial adapter. Both load blink just fine.

I am trying to load the keyer program - a ham radio keyer - is a 29004 byte program.

Full message -
avrdude: stk500_paged_write(): (a) protocol error, expect0x14, resp 0x64
avrdude: failed to write flash memory, rc=-4
avrdude: stk500disable(): protocol error, expect=0x14, resp=0x51

Any documentation anywhere for these errors?

The sketch compiles and uploads fine to my Arduino Uno.

http://radioartisan.wordpress.com/k3ng-arduino-cw-keyer-code-2011081901/

Binary sketch size: 27102 bytes (of a 32256 byte maximum)

RadioArtisan -

Problem with the sketch is that one has to be very careful what combination of options one enables. The actual problem turns out to have been that the compiled download was too big. The error message wasn't very helpful, but I did eventually find the comment in your online documentation that it won't all fit in an Arduino with a 328.

I guess that this error message should come back with something like - transferred sketch too large.

Got it functioning. now need to add a few transistors and get the sidetone and a key output functioning.

Built a quick and dirty shield so I can also use my Uno for other things. May build one using just the bare Arduino chip and a scrap of circuit board.

Thanks

Pete