Lightweight Framework for Runtime Updating of C-Based Software in Embedded Systems

D3 Professional conference proceedings

Internal Authors/Editors

Publication Details

List of Authors: Holmbacka S, Lund W, Lafond S, Lilius J
Publisher: USENIX
Publication year: 2013
Publisher: Usenix : the advanced computing systems association
Book title: Presented as part of the 5th Workshop on Hot Topics in Software Upgrades


Software updates in embedded systems are typically performed by bringing the system to stop, replacing the software and restarting the system. This process can in certain cases be very time consuming and costly, which leads to less frequent software updates. In order to establish both long uptime and up-to-date software, the software must be updated during runtime. This paper presents a runtime updating framework for embedded systems capable of replacing parts of software without stopping the system. The framework is based on FreeRTOS and mechanisms have been added to dynamically link and re-link FreeRTOS tasks to the system during runtime. Our framework enables the programmer to easily create updatable software with simple annotations to the program. Experiments demonstrate the benefits of updating software during runtime with an acceptable overhead when transferring the application state.

Last updated on 2020-31-05 at 03:45