There are two dW-aware tools: avrdude, with the dragon_dw mode and avarice which allows to use gdb/ddd to debug AVR software using dW. So support is sufficiently extensive, but there is not much documetation. So I'm looking for someone who has done it and has hints to share.
Markus On Sat, Apr 16, 2011 at 20:15, Jeff Keyzer <[email protected]> wrote: > 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 > [email protected] > > > > 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 <[email protected]> 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 >> [email protected] >> >> >> >> 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 <[email protected]> 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 >> [email protected], ++41 (79) 402 1186 (mobile) >> >> >> > > > -- > *Markus Baertschi*, Bas du Rossé 16, CH-1163, Etoy, Switzerland > [email protected], ++41 (79) 402 1186 (mobile) > > > -- *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
