avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Using avrdude on linux to enter and leave dW


From: Jeff Keyzer
Subject: Re: [avr-chat] Using avrdude on linux to enter and leave dW
Date: Sat, 16 Apr 2011 12:52:52 -0500

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



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:

address@hidden:~$ 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
address@hidden, ++41 (79) 402 1186 (mobile)

_______________________________________________
AVR-chat mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-chat


reply via email to

[Prev in Thread] Current Thread [Next in Thread]