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 13:15:53 -0500

Yes,  there is a function to exit dW while in debugWire mode.  However, I do not think that Atmel has shared the dW protocol, nor do I know how to talk dW on the Dragon thru a Linux tool.

Jeff Keyzer



On Apr 16, 2011, at 1:05 PM, Markus Baertschi wrote:


I happen to have a dragon. But you can get out of dW mode without HV programming. If you debug with Studio this supposedly works fine. But I want to use the linux tools, so I'm looking to replicate the same. Avrdude can use dw, there is a switch for it. But using this switch in my setup does not work and I'm looking to fix that.

Markus

On Sat, Apr 16, 2011 at 20:02, Jeff Keyzer <address@hidden> wrote:
Markus,

Hah, ouch!  =]

ISP mode is disabled while in debugWIRE (I suspect this is due to RESET pin being reallocated).

The way I have used to get out of dW is to use HVPP or HVSP mode (depending on the device).  That's what my shield does.  You can also use the Dragon for this, but I don't think it can be done with avrdude (unless there is a way avrdude can invoke HVPP/HVSP mode).  I have used AVR Studio for this in the past.

Jeff Keyzer



On Apr 16, 2011, at 12:56 PM, Markus Baertschi wrote:


I do not have an arduino. Do you know something about the problem other than a device you want to sell ?

On Sat, Apr 16, 2011 at 19:52, Jeff Keyzer <address@hidden> wrote:
Shameless self-promotion: if you have an Arduino this shield will let you reset the fuses to get out of dW:


--
Markus Baertschi, Bas du Rossé 16, CH-1163, Etoy, Switzerland
address@hidden, ++41 (79) 402 1186 (mobile)





--
Markus Baertschi, Bas du Rossé 16, CH-1163, Etoy, Switzerland
address@hidden, ++41 (79) 402 1186 (mobile)



reply via email to

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