Pages: [1]   Go Down
Author Topic: stk500_paged_write() protocol error expect 0x14, resp0x64  (Read 737 times)
0 Members and 1 Guest are viewing this topic.
South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1025
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8975
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1025
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: