Microcontroller startup code written in C++

The startup code of a microcontroller is the first code executed after a reset. It performs microcontroller specific initialisation as well as zero-clearing RAM, ROM-to-RAM static initialisation and calling constructors for static objects before calling main, as shown in the next figure: Startup code is mostly written in assembly (sometimes in C) and usually requires […]

Read more

Graphical Debugging of ATMEGA328P on Linux

If you are a Windows user Atmel Studio provides a complete IDE for programming and debugging of Atmel microcontrollers. Unfortunately there is no complete toolchain available for Linux users. The Snowfox framework can be built for both Windows and Linux where the lack of official tooling makes development for the AVR platform cumbersome. This article […]

Read more