Though an emulator is quite useful for debugging code that has no side effects, most real-world applications include some circuitry besides the Arduino. If a microcontroller on an Arduino had a JTAG interface, it would be pretty straight-forward, but what if it's e.g. an Arduino Uno?
|
The Arduino Uno uses the Atmel Atmega328p microcontroller, which only has one debug option, DebugWire. There are a few tools that can work with it, but the least expensive and most commonly available is the AVR Dragon. You can use AVR Studio 6 for this. You can use the |
|||||||||||||
|
This might not be right for you but the Visual Micro plugin for Atmel Studio and Visual Studio has a usb debugger which only uses Arduino code. In the background the debugger uses Serial which might affect some time sensitive applications. |
|||
|