Category Archives: Beginners

Why You Don’t Want To Use Dynamic Allocation On Your MCU

If you have some background in computer programming languages, and you just started working with low-memory MCUs, you may be tempted to do some dynamic allocation in your programs. After all, that’s what smart memory management is all about, right? Well, the truth is that in the vast majority of cases, dynamic allocation in MCUs will be pointless and even detrimental. In this post, I will explain why.

Continue reading Why You Don’t Want To Use Dynamic Allocation On Your MCU

Programming AVR Microcontrollers With Linux (The Relatively Easy Way)

After playing with the Arduino for a certain period, you may feel an urge to move forward to stand-alone microcontrollers. The official way to program AVR MCUs is with the Atmel Studio IDE and an Atmel programmer/debugger, such as Atmel-ICE. But Atmel Studio is only for Windows, and the programmers are pretty expensive. Here’s an alternative.

A cheap AVR programmer, suitable for Linux too
A cheap AVR programmer, suitable for Linux too

Continue reading Programming AVR Microcontrollers With Linux (The Relatively Easy Way)