On 1/8/07, Joerg Wunsch <[EMAIL PROTECTED]> wrote: ...
If you run avrdude with -vvvv, it will dump the programmer communication to stderr. Similarly, at the end of appnote AVR068, there's a description how to produce a trace of the STK500 communication. You might try comparing the relevant part of both traces to see where the difference might be.
I used avrdude -vvvv to capture the offending packet. I'll be happy to provide any other information that's needed to help troubleshoot this. Cheers, Shaun $ avrdude8 -vvvv -Uflash:w:/tmp/oemrepeater.bin avrdude: Version 5.3.1, compiled on Dec 26 2006 at 16:46:01 ... avrdude: reading input file "/tmp/oemrepeater.bin" avrdude: input file /tmp/oemrepeater.bin auto detected as raw binary avrdude: writing flash (864 bytes): Writing | | 0% 0.00s avrdude: jtagmkII_send(): sending 8 bytes avrdude: Sent: . [1b] . [0f] . [00] . [08] . [00] . [00] . [00] . [0e] / [2f] . [02] . [00] . [06] . [00] . [00] . [00] . [00] R [52] g [67] avrdude: jtagmkII_recv(): avrdude: Recv: . [1b] avrdude: Recv: . [0f] avrdude: Recv: . [00] avrdude: Recv: . [03] avrdude: Recv: . [00] avrdude: Recv: . [00] avrdude: Recv: . [00] avrdude: Recv: . [0e] avrdude: Recv: . [88] . [06] . [00] avrdude: Recv: . [c7] avrdude: Recv: . [d4] avrdude: jtagmkII_recv(): CRC OK avrdude: jtagmkII_recv(): Got message seqno 15 (command_sequence == 15) avrdude: jtagmkII_send(): sending 77 bytes avrdude: Sent: . [1b] . [10] . [00] M [4d] . [00] . [00] . [00] . [0e] / [2f] . [02] . [00] . [13] . [00] @ [40] . [a1] . [06] @ [40] L [4c] [20] . [ff] . [00] . [12] . [c0] + [2b] . [c0] * [2a] . [c0] ) [29] . [c0] ( [28] . [c0] ' [27] . [c0] . [8f] . [c1] % [25] . [c0] $ [24] . [c0] # [23] . [c0] " [22] . [c0] . [99] . [c0] [20] . [c0] . [1f] . [c0] . [1e] . [c0] . [1d] . [c0] . [1c] . [c0] . [1b] . [c0] . [1a] . [c0] . [11] $ [24] . [1f] . [be] . [cf] . [e5] . [d4] . [e0] . [de] . [bf] . [cd] . [bf] . [10] . [e0] . [a0] . [e6] . [b0] . [e0] . [e0] . [e6] . [f3] . [e0] . [02] . [c0] . [05] . [90] d [64] . [0f] avrdude: jtagmkII_recv(): avrdude: Recv: . [1b] avrdude: Recv: . [10] avrdude: Recv: . [00] avrdude: Recv: . [03] avrdude: Recv: . [00] avrdude: Recv: . [00] avrdude: Recv: . [00] avrdude: Recv: . [0e] avrdude: Recv: . [88] . [13] . [80] avrdude: Recv: h [68] avrdude: Recv: . [c4] avrdude: jtagmkII_recv(): CRC OK avrdude: jtagmkII_recv(): Got message seqno 16 (command_sequence == 16) avrdude: stk500v2_command(): unknown status 0x80 avrdude: stk500v2_paged_write: write command failed Writing | ################################################## | 100% 0.14s avrdude: failed to write flash memory, rc=-1 ... _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list