URL:
<http://savannah.nongnu.org/bugs/?28516>
Summary: Linux/Dragon: Error message on exit
Project: AVR Downloader/UploaDEr
Submitted by: markus_b
Submitted on: Thu 07 Jan 2010 07:57:43 PM CET
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Markus Baertschi
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Applies to the current svn version (889).
Avrdude displays an error message when exiting:
bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE
After looking at the source it looks to me like avrdude thinks it is in JTAG
mode and issues a GO command when shutting down to avoid blocking the MCU.
Here an example run:
$ avrdude -p ATTINY861 -c dragon_isp -P usb
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.15s
avrdude: Device signature = 0x1e930d
avrdude: safemode: Fuses OK
avrdude: jtagmkII_close(): bad response to GO command:
RSP_ILLEGAL_EMULATOR_MODE
avrdude done. Thank you.
Here the same run with high verbosity (-vvv):
$ avrdude -p ATTINY861 -c dragon_isp -P usb -vvv
...
avrdude: jtagmkII_close()
avrdude: jtagmkII_close(): Sending GO command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: jtagmkII_recv():
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 0 (command_sequence == 0)
Illegal emulator mode
avrdude: jtagmkII_close(): bad response to GO command:
RSP_ILLEGAL_EMULATOR_MODE
avrdude: jtagmkII_close(): Sending sign-off command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: jtagmkII_recv():
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 1 (command_sequence == 1)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?28516>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev