Skip to content

Arduino debugger: real time variable SW debugger for Arduino

License

Notifications You must be signed in to change notification settings

EnricoBeltramo/ArduDebug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduDebug

A real-time Arduino debugger

How any SW developer know, to have a good tool to debug the SW is a very helpful utility. Unfortunately the base Arduino IDE haven’t much utility to debug your sketch. In order to improve that I created a tool that allow, by the USB, to see (and modify) at runtime the SW variables while the program is running on the Arduino board.

Basically this feature is more or less an “hack” of Arduino compiler and memory management in Arduino. Using the compiled files (.elf), I get the memory address of variables used in the sketch. After, with this information, I created a serial communication that allow me to read and write any statically allocated variable on the Arduino SW. To do that, it’s necessary a tool to install on PC and a little library to add to Arduino sketch.

this project is composed by two parts:

A detailed description of how it works can be found at: http://www.instructables.com/id/Arduino-Real-time-Variables-Debugger/

About

Arduino debugger: real time variable SW debugger for Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published