Implementing EEPROM emulation with wear-leveling for 8-bit MCUs

This application note demonstrates a way to use the flash memory of an 8-bit flash MCU to emulate single-variable-rewritable EEPROM memory through firmware. The example API provided enables reading and writing of single variables to non-volatile flash memory. The erase-rewrite algorithm implements wear-leveling on the flash by distributing page erases. There are different ways to…

The story behind the Gecko microcontrollers

Do you know why EFM32 is called Gecko microcontrollers? It was right before the EFM32 microcontrollers were launched that Geir, Senior VP and General Manager of MCU products, watched a TV program called Life in Cold Blood by Sir David Attenborough. He thought that the EFM32 has a lot in common with a gecko on…

Why faster processing saves energy

Why EFM32 Wonder Gecko microcontrollers The 32-bit Wonder Gecko is the latest and most advanced EFM32 microcontroller family based on the ARM Cortex-M4 CPU. The EFM32 Wonder Gecko enables faster processing of complex data, shorter time in active mode, ultra-low power consumption even at high temperature, and autonomously operation in all sleep modes. With built-in…

Setting Up Development Environments – part 2

4 Linux Toolchain In this chapter you will learn how to set up a free toolchain on Linux. The Operating System (OS) of choice when writing this guide was Ubuntu 11.04, but the tools should be distribution independent. The Tiny Gecko (TG) Starter Kit (STK) with the TG840F32 MCU was used as the target device, but the process…