[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] dragon_jtag and atxmega128A1 fails on chip erase
From: |
Andreas Løhre |
Subject: |
[avrdude-dev] dragon_jtag and atxmega128A1 fails on chip erase |
Date: |
Fri, 20 Nov 2009 22:52:32 +0100 |
Hello
When trying to erase and program the ATXMEGA128A1 with latest svn
(rev. 879) using dragon_jtag:
avrdude -vvvvv -c dragon_jtag -p x128a1 -P usb -e -U flash:w:testing.hex
it errs out with the error below.
There is no problem programming the part without the erase option.
avrdude: erasing chip
avrdude: jtagmkII_chip_erase(): Sending chip erase command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [16] . [00] . [01] . [00] . [00] . [00] . [0e]
. [13] . [a9] . [e2]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [16]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [aa]
avrdude: Recv: . [e3]
avrdude: Recv: . [ca]
avrdude: jtagmkII_recv(): Got message seqno 22 (command_sequence == 22)
Raw message:
0xaa
Illegal command
avrdude: jtagmkII_chip_erase(): bad response to chip erase command:
RSP_ILLEGAL_COMMAND
avrdude: jtagmkII_program_disable(): Sending leave progmode command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [17] . [00] . [01] . [00] . [00] . [00] . [0e]
. [15] [20] . [06]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [17]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [80]
avrdude: Recv: . [04]
avrdude: Recv: . [c5]
avrdude: jtagmkII_recv(): Got message seqno 23 (command_sequence == 23)
Raw message:
0x80
OK
Dragon info:
JTAG clock : 891.7 kHz (1.1 us)
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 6.04
hardware version: 1
S_MCU:
boot-loader FW version: 255
firmware version: 6.04
hardware version: 7
Serial number: 00:a2:00:00:77:21
Device ID: AVRDRAGON
.Andreas
- [avrdude-dev] dragon_jtag and atxmega128A1 fails on chip erase,
Andreas Løhre <=