This Arduino sketch turns your Arduino UNO into a hardware debugger for the classic ATtinys and the ATmegaX8s, such as the ATmega328. It is particularly useful if you would like to find out how it feels to symbolically debug your Arduino sketch on an Arduino Uno or an ATtiny board. Do you want to give it a try? Use the Quick-start Guide to see if it works for you.
Since version 2.2.0, you can use dw-link as an STK500 v1 programmer as well. Since version 4.0.0, you can use this debugger in the Arduino IDE 2 by downloading additional board manager files. Version 6.0.0 makes dw-link completely compatible with PyAvrOCD.
This repository contains the following directories:
- dw-link: Contains the Arduino sketch that turns your Arduino board into a hardware debugger,
- docs: Contains the documentation file for the manual,
- examples: Contains two Arduino sketches and a PlatformIO project,
- tests: Contains some test cases and a Python script for running them semi-automatically,
- pcb: Contains design data (KiCad) for the optional dw-link probe,
- testprobe: Contains a sketch to be used to run tests on a freshly assembled dw-link probe,
Note that the debugger may contain bugs. If you encounter behavior that you think is wrong, report it as an issue. Try to be as specific as possible so that I can reproduce the behavior. Current issues, known bugs, and limitations are listed in the problem section of the manual.
The cover picture was designed based on vector graphics by captainvector at 123RF.
