Where I illustrate how to setup using avr-gdb to debug code on the ATmega328P and replacing avarice with Bloom and the Atmel Dragon with the Microchip Snap.
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: Using Windows, Advanced
Where I setup the advanced, Standard C tool chain (avr-gcc) for the ATmega328P on Windows.
If you are looking to install the AVR toolchain for C using Windows Subsystem for Linux, don’t bother.
Background#
Note: This tutorial hasn’t been …
Developing in C for the ATmega328: Multitasking
Where I illustrate developing multitasking code for the ATmega328P using a new Standard C framework.
Sources#
- A Multitasking Kernal in One Line of code Simplistic, yet powerful approach to multitasking. examples/oneline
- AVR Scheduler Nicely documented …
Developing in C for the ATmega328: Using the Standard C Framework
Where I illustrate developing code for the ATmega328P using the new Standard C framework.
Sources#
- Github: Programming the Arduino Uno in C
- Microchip AVR ATmega328 Go to this page for the datasheet, you will need it.
- Definitive UNO pinout
- avr-libc …
DEPRECATED: Developing in C for the ATmega328P: Windows Setup Using WSL1
Developing in C for the ATmega328P: macOS Setup
Developing in C for the ATmega328P: Linux Setup
Developing in C for the ATmega328P: Setup Introduction
Developing in C for the ATmega328: A Simple Project
Where I use an example project from avr-gcc to better understand how to program the ATmega328.
Sources#
- Microchip AVR ATmega328 Go to this page for the datasheet, you will need it.
- Definitive UNO pinout
- avr-libc Standard AVR C Library
- avr-libc: simple …