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: Mon, 18 Apr 2011 12:54:34 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9

Markus,

Thanks for sharing your findings.  I had no idea avrdude supported debugwire in this way.

Jeff Keyzer
MightyOhm Engineering
address@hidden

On 4/18/2011 12:45 PM, Markus Baertschi wrote:


On Mon, Apr 18, 2011 at 12:46, Joerg Wunsch <address@hidden> wrote:
> So, if I understand this correctly:
Right, you did.

Thanks Jörg,
 
this works reasonably well with avrdude now. Along these steps:
1) Program DWEN with avrdude
    Example: avrdude -P usb -c dragon_isp -p t85 -v -U hfuse:w:0x9D:m
2) Perform actions using debugwire
    Example: avrdude -P usb -c dragon_dw -p t85 -v -U flash:w:sample.hex
1) UnProgram DWEN with avrdude
    Example: avrdude -P usb -c dragon_isp -p t85 -v -U hfuse:w:0xDD:m

There are some instabilities around, for example avrdude would segfault
after step 1). It looks they are dragon related, power-cycling the dragon
did got me unstuck when stuck.

Markus

--
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]