Rasmus Larsen
posted this on December 01, 2010 09:20
Q:
How can I program the EFM32?
A:
There are two ways of programming the EFM32:
1) Serial Wire: All EFM32 devices can be programmed using the two wire Serial Wire interface. A Serial Wire programmer/debugger is built into the EFM32 Starter Kit and the EFM32 Development Kit. By setting the debug port to out as explained here, you can use the kits as stand alone debuggers. More information on the needed hardware setup for a Serial Wire connection is found in "AN0002 EFM32 Hardware Considerations", in the application note section.
2) Pre-programmed bootloader: All EFM32 parts are pre-programmed with a bootloader in production. This bootloader can load in new firmware to the EFM32 via a UART connection, using the XMODEM protocol. More information on the bootloader is found in "AN0003 Serial Bootloader" in the application note section. This application note also contains the complete source code for the bootloader so users can make their own version of the bootloader, if customer features are needed. This could be useful for instance if encryption needs to be added to the bootloader to ensure firmware security/integrity in field updates.