Hardware Debug: Using gdb to Debug

Where I illustrate debugging code for the ATmega328P using the Atmel Dragon, avr-gdb and avarice. This is a overview of a hardware debugger approach, for a more detailed view on Linux using Bloom, follow this guide.

Update (Feb 2022): I also recommend …

Developing in C for the ATmega328P: macOS Setup

Where I setup the Standard C toolchain (avr-gcc) for the ATmega328P on macOS using homebrew.

Test with the Arduino IDE!#

After performing these steps on multiple machines, I’ve found it best to install and test using the Arduino IDE before going …

Developing in C for the ATmega328P: Linux Setup

Where I setup the Standard C toolchain for the ATmega328P for Linux, with specific emphasis on the Raspberry Pi.

Test with the Arduino IDE!#

Note: If you have a GUI interface to your Linux PC, by all means, install the Arduino Legacy IDE (1.8.19). In the …