|
From: | Markus Baertschi |
Subject: | [avrdude-dev] [bug #28516] Linux/Dragon: Error message on exit |
Date: | Thu, 07 Jan 2010 18:57:44 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.30 Safari/532.5 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |