Where I demonstrate how to use the ATmega328PB Xplained Mini from Microchip to understand how to program in Standard C.
Developing in C for the ATmega328: Hints on Using Bloom and avr-gdb
Where I provide hints on using avr-gdb and bloom to debug code on the ATmega328P.
Sources#
Developing in C for the ATmega328: Examples of Bloom with gdb to Debug
Where I show some examples as to how to use Bloom and avr-gdb to debug code on the ATmega328P.
Sources#
- gdb Resources
- gdb Hints (from RP2040 effort)
- Bloom (replaces avarice)
- Microchip SNAP (replaces the Atmel Dragon)
Introduction#
In a previous entry, I …
Developing in C for the ATmega328: Setup Bloom and gdb for Hardware Debug
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.
Sources#
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 …