Markus,

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

Jeff Keyzer
MightyOhm Engineering
[email protected]


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


On Mon, Apr 18, 2011 at 12:46, Joerg Wunsch <[email protected] <mailto:[email protected]>> 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
[email protected] <mailto:[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

Reply via email to