- Atollic truestudio program device upgrade#
- Atollic truestudio program device code#
įile New Download new example project from TrueSTORE STMicroelectronics STM32F4-Discovery īL = Bootloader. Atollic truestudio program device code#
Etc.Įxample hardware & code STM32-F4-Discovery kit from STMicroelectronics Download the example projects with ready-made code from TrueSTORE (inside TrueSTUDIO). Interaction between the bootloader and the main application.Ĭoverage It will not cover the actual self-update feature (downloading and flash reprogramming of the main application) Many methods exists and are highly application specific!
Ĭonstructing and building the bootloader.Ĭonstructing and building the main application. Atollic truestudio program device upgrade#
New requirements – Need a method to upgrade a product’s firmware due to new functionality.Ī product recall might not be a feasible option!Ĭoverage This document will cover the area of bootloaders from the perspective of Atollic TrueSTUDIO on ARM Cortex-M devices.
įirmware is rarely bug free! – Need a method to upgrade a product’s firmware when defects are found. Why use a bootloader? Enables a device/product to upgrade itself in the field. What is a bootloader? General definition: “A boot loader is a computer program that loads the main operating system or runtime environment for the computer after completion of the self-tests.” - Wikipedia In microcontroller land (ARM Cortex-M0/M3/M4/M7): “A bootloader enriches the capabilities of the microcontroller and makes it a self-programmable device” Working with bootloaders on Cortex-M devices