Markus Baertschi <[email protected]> wrote: > 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 No. dragon_dw cannot reprogram fuses, as debugWIRE mode cannot handle that. You have to use dragon_isp again. It will fail in the first attempt, but then issue the sequence to get out of debugWIRE. After this, you have to re-issue the (ISP!) command, and it's supposed to work. Of course, nothing mandates you'd have to reprogram the fuses at this point at all: debugWIRE mode is just left temporarily in order to assign the /RESET pin to the ISP algorithm again. This state lasts until the next power-cycle, at which point the DWEN fuse will be evaluated again. So, if you intend to continue debugging, you could as well just use ISP mode to download new firmware (my experience says it's often faster and more reliable than within debugWIRE mode), and then just power-cycle to start a new debugging session. Obviously, your debugWIRE mode must be functional in order to get out of debugWIRE. If there are hardware issues that make debugWIRE mode not work (too much capacitive load at /RESET etc.), all this wouldn't work at all. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
