debugWIRE
debugWIRE is a serial communications protocol, designed by
Protocol
debugWIRE is designed as a simpler alternative to
Programmer models
debugWIRE is supported by all modern hardware debuggers from Microchip. This includes Atmel-ICE,[3] JTAGICE3, AVR Dragon, JTAGICE mkII, and SNAP.[4] It is also possible to build a cheap debugWIRE hardware debugger[5] based on an open-source Arduino sketch.[6]
debugWIRE specifications
debugWIRE is activated by setting (programming to zero) of the fuse DWEN (debugWIRE enable), normally located in the high fuse byte. After this action the /RESET pin function isn't available anymore and the ISP protocol cannot be used. debugWIRE can be disabled with any of the mentioned debuggers by sending a special reset command that disables temporarily the debugWIRE function and reenables /RESET and also ISP until next power down cycle. debugWIRE is not able to program the fuses of a device. If you want to disable debugWIRE permanently you have to disable the function temporarily and program the fuse using the now available ISP function.[7] debugWIRE uses a 1 wire
References
- ^ AVR Instruction Set Manual
- ^ ATtiny25-ATtiny45-ATtiny85_Datasheet-Summary.pdf
- ^ Atmel-ICE
- ^ MPLAB SNAP In-Circuit Debugger
- ^ A debugWIRE Hardware Debugger for Less Than 10 €
- ^ dw-link---An Arduino-based debugWIRE debugger
- ^ debugWIRE article (in German)
- ^ The debugWIRE protocol
- ^ Simple stand-alone debugWIRE debugger (open source)
- ^ Microchip Makes (25 November 2015). "Advanced Debugging with Arduino Boards" – via YouTube.