Shameless self-promotion: if you have an Arduino this shield will let you reset the fuses to get out of dW:
http://mightyohm.com/hvrescue2 Jeff Keyzer [email protected] On Apr 16, 2011, at 12:44 PM, Markus Baertschi wrote: > I'm exploring debugging via dW on linux. It looks to me like all the pieces > are there, but I can not make it work. Therefore some questions. > > I can enter dW mode using avrdude using this command line: > > avrdude -P usb -c dragon_isp -p t85 -v -U hfuse:w:0x9F:m > > I did presume that using this I can go back to ISP: > > avrdude -P usb -c dragon_dw -p t85 -v -U hfuse:w:0xDF:m > > But this does not work, it seems that avrdude can not really communicate with > dW: > > markus@T60:~$ avrdude -P usb -c dragon_dw -p t85 -v > > avrdude: Version 5.10, compiled on Jun 30 2010 at 20:31:41 > Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ > Copyright (c) 2007-2009 Joerg Wunsch > > System wide configuration file is "/usr/local/avr/etc/avrdude.conf" > User configuration file is "/home/markus/.avrduderc" > > Using Port : usb > Using Programmer : dragon_dw > avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A2000053CF > JTAG ICE mkII sign-on message: > Communications protocol version: 1 > M_MCU: > boot-loader FW version: 255 > firmware version: 1.01 > hardware version: 1 > S_MCU: > boot-loader FW version: 255 > firmware version: 2.00 > hardware version: 6 > Serial number: 00:a2:00:00:53:cf > Device ID: AVRDRAGON > avrdude: jtagmkII_setparm(): bad response to set parameter command: > RSP_DEBUGWIRE_SYNC_FAILED > avrdude: jtagmkII_close(): timeout/error communicating with programmer > (status -1) > avrdude: jtagmkII_close(): timeout/error communicating with programmer > (status -1) > > avrdude done. Thank you. > > Any hints/experience on how to get out of dW mode again ? > > -- > Markus Baertschi, Bas du Rossé 16, CH-1163, Etoy, Switzerland > [email protected], ++41 (79) 402 1186 (mobile) > > _______________________________________________ > AVR-chat mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/avr-chat
_______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
