Page 1 of 1

AVR/Arduino Hardware Debugger on the Cheap

Posted: Wed Jan 31, 2018 7:20 pm
by wholder
I’ve developed an Arduino sketch that runs on one Arduino and allows it to control and debug another Arduino, or an AVR-Series micro-controller such as an ATTiny85.  With some limitations, you can use the controlling Arduino to disassemble code, single step code, inspect and modify the current value of registers. I/O ports and SRAM and run code with a hardware breakpoint set.

You can read more about my project at https://sites.google.com/site/wayneholder/debugwire and/or watch a short demo video at https://youtu.be/kI_Z78a_0y0

Wayne

Re: AVR/Arduino Hardware Debugger on the Cheap

Posted: Sun Feb 04, 2018 2:05 pm
by wholder
Just a quick update, I've updated the code for both DebugWireDebugger and OnePinSerial to improve the automatic baud rate detection and the reliability of debugWire communication using OnePinSerial. The new code has successfully worked with an ATTiny85 running at 8 MHz. See: https://sites.google.com/site/wayneholder/debugwire

Wayne

Re: AVR/Arduino Hardware Debugger on the Cheap

Posted: Tue Feb 13, 2018 12:28 pm
by wholder
I’ve posted a new, part 3 article on my debugger project, along with new code and an overview video.  The new code  is now able debug an Arduino UNO running at 16 MHz and also includes some bug fixes and enhancements.

 https://sites.google.com/site/wayneholder/debugwire3
 https://youtu.be/F1202b0l5DA

Wayne