![]() no special drivers), connecting directly to the DebugWIRE port is noticeably faster. ![]() (Although one of these is needed initially to program the DWEN fuse which enables the DebugWIRE port).Īs well as reducing complexity (e.g. I was looking for a simple debugger of the sort used on minicomputers (DEC's DDT), or CP/M (SID) or MSDOS (DEBUG).Īdditionally I hoped to connect directly to the DebugWIRE port, avoiding the complication of special-purpose hardware like the AVR-ICE or AVR-Dragon. Further a number of dependencies to install turn up along the way, and this is Windows only. I became frustrated that debugging an ATtiny45 required me to install MS Visual studio and AVR studio, both of which are large packages and time-consuming to download. (If running on a linux system with no GTK support installed the load command requires a filename parameter.) Stand-alone On MacOS the build requires brew install libusb libusb-compatįile chooser: If the load command is used without a parameter, dwdebug will display the MS windows or GTK file chooser. On Linux the build requires libusb-dev installed. I install 32 bit cygwin and use cygwin setup to add the mingw64-i686-binutils and mingw-i686-gcc-core packages. The binary produced is dwdebug.īuild on Windows with MinGW-w64 under cygwin. Manualīuild on linux with a conventional gcc/make setup. I have not been able to make the ATtiny2313 work. I have not tested but expect these to work: ATmega8U2, ATmega16U2, ATmega32U2. The following devices are expected to work because they are alternate sizes of known working devices: ATtiny25, ATtiny24, ATmega48A, ATtiny44, ATmega48PA, ATtiny441, ATmega88A, ATtiny84, ATmega88PA, ATmega168A, ATmega168PA, ATmega328. The following devices have been tested: ATtiny13, ATtiny45, ATtiny84, ATtiny841, ATtiny85, ATmega168PA, ATmega328P. Digispark support requires libusb-win32 installed (e.g. ![]() USB UART support requires only standard system libraries. Cross-platformīuilt and tested on Windows 10.1, Ubuntu 15.04 and macOS 10.13.6. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This project would not have been possible without the careful investigation and documentation of the DebugWire protocol by RikusW at. Instead of expensive proprietary hardware it works with a USB UART (FT232 or CH340) or a DigiSpark/LittleWire compatible board. Simple stand-alone programmer and debugger for AVR processors that support DebugWIRE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |