Skip to content
Open access

Runtime Firmware Update for 32-Bit Microcontrollers with Instruction Cache Under Concurrent Task Execution

Sep 2026 · Italian National Conference on Sensors · Vol 26 · 0 citations · 28 references
Medicine

TL;DR

The proposed approach enables dynamic Flash Program Memory (FPM) reprogramming without reboot while preserving concurrent task execution, making it suitable for intelligent sensors and edge-based IoT devices requiring continuous operation.

Abstract

Smart sensor devices increasingly require remote firmware updates to deploy new functionality, security patches and algorithmic improvements without interrupting services. Runtime firmware updates remain a significant challenge in embedded sensing systems, particularly in real-time and high-availability applications where service interruption and system reboot are undesirable. This paper presents an innovative runtime firmware update mechanism for 32-bit embedded systems architecture and integrated with a custom Runtime Scheduler (RTS). The proposed approach enables dynamic Flash Program Memory (FPM) reprogramming without reboot while preserving concurrent task execution, making it suitable for intelligent sensors and edge-based IoT devices requiring continuous operation. Three update granularities, application, function and row levels, were implemented and experimentally evaluated. Reducing update granularity significantly decreased both system downtime and update data size. For the demonstration update developed to validate the concept, function-level updates reduced the transmitted patch size to approximately 35% of the data that would have been required for the equivalent application-level update, while row-level updates reduced the maximum continuous system unavailability time to approximately 16 ms by distributing FPM write operations across multiple RTS cycles. The mechanism also incorporates instruction cache invalidation, dynamic task validation and fault recovery procedures. Experiments using an intelligent power quality monitoring sensor testbed demonstrate its feasibility while improving availability, reducing update overhead and maintaining operational continuity.

Read PDF

Similar papers

Conference Open access Aug 2026

Context-Aware Adaptive AES-CTR Hardware Accelerator for IoT and Embedded Systems

A context-aware adaptive AES hardware accelerator implemented on a Xilinx Artix-7 FPGA that allows runtime switching between AES-128 and AES-256 encryption modes while operating in Counter (CTR) mode is discussed.

Sachin Bhaskar S., K. E. · 0 citations

Operating Systems Platforms for Embedded Real-Time Applications

A framework built on top of Zephyr RTOS that enables secure multitenancy on MCUs that leverages PMP-based hardware memory protection for tenant isolation, dynamically loadable applications via Zephyr’s LLEXT subsystem with mTLS-authenticated connection for post-deployment reconfigurability, and a condition-based publis...

Elad Lahav, Julien Gourgue, C. Pelsser et al. · 2 citations
Open access Sep 2026

Workload-Aware Performance Profiling of IoT Microcontrollers: A Cross-Architecture Benchmark Across Compression, Cryptography and Signal Processing

This study compares active-computation energy and latency for twelve compression, security/integrity and signal-processing workloads on ESP32, RP2040 and STM32F446. Common scalar C kernels process fixed 2048-byte inputs on one application core under two operating profiles: maximum nominal CPU clocks of 240, 200 and 180...

Nicoleta-Alexandra Trancă, Noela-Elena Pîrleci, Dumitru-Cristian Trancă et al. · 0 citations
Open access Sep 2026

A Deterministic FPGA-CPU Data Interaction Architecture with Cache-Aware Core Selection for Real-Time Systems

The architecture introduces two reusable system-level design principles: interrupt-independent notification via sequence counters, avoiding OS-mediated jitter as much as possible, and cache-aware core selection based on the non-uniform cache architecture (NUCA) to reduce the variability of access latency, thereby achie...

Hui-Ji Zheng, Qing Liu, Kang Wang et al. · 0 citations
Conference Open access Aug 2026

Command-Path Runtime Evaluation of a Multi-Source STM32 Smart-Lighting IoT Node

The design and runtime evaluation of a multi-source STM32-based smart-lighting IoT node for command-path testing is presented and runtime evidence for property reporting, command forwarding, STM32-side actuation, state synchronization, and response latency is collected.

Chen Chen, Hao-Dong Wang, Zhi-Jun Xie et al. · 0 citations
Conference Aug 2026

A Scalable Framework for Remote Real-Time Debugging of Embedded EV Chargers via WebSocket and XCP

The rapid proliferation of Electric Vehicle (EV) charging infrastructure necessitates the development of advanced diagnostic, monitoring and maintenance capabilities. Traditional methods for embedded controllers within EV chargers are contingent on physical access, a paradigm that introduces significant logistical and...

W. D. N. D. Bandara, P. J. Dissanayake, M. Haleem et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.