From: Joerg W. <j...@ur...> - 2014-10-14 11:37:46
|
As Philip Mulrane wrote: > avarice -x -2 -j usb -P atxmega128a1 -e -p -f Programming through AVaRICE command-line options is deprecated (use AVRDUDE for this), and no longer maintained. > command[0x13, 1]: 13 > recv: 0x1b > recv: 0x06 > recv: 0x00 > recv: 0x01 > recv: 0x00 > recv: 0x00 > recv: 0x00 > recv: 0x0e > sDATA: reading 1 bytes > read: aa > recv: 0x9b > recv: 0x91 > CRC OK > Got message seqno 6 (command_sequence == 6) > response: AA Command 0x13 is a chip erase (your -e option), and response 0xaa is "Illegal command". Offhand, I've got no idea why PDI won't be willing to chip erase, but simply drop it. Program using AVRDUDE, and/or update the flash using GDB's "load" command. -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) |