IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v17y2025i1p23-d1561816.html
   My bibliography  Save this article

Framework Design for the Dynamic Reconfiguration of IoT-Enabled Embedded Systems and “On-the-Fly” Code Execution

Author

Listed:
  • Elmin Marevac

    (Polytechnic Faculty, University of Zenica, 72000 Zenica, Bosnia and Herzegovina)

  • Esad Kadušić

    (Faculty of Educational Sciences, University of Sarajevo, 71000 Sarajevo, Bosnia and Herzegovina)

  • Nataša Živić

    (Faculty of Digital Transformation, Leipzig University of Applied Sciences, 04277 Leipzig, Germany)

  • Nevzudin Buzađija

    (Polytechnic Faculty, University of Zenica, 72000 Zenica, Bosnia and Herzegovina)

  • Samir Lemeš

    (Polytechnic Faculty, University of Zenica, 72000 Zenica, Bosnia and Herzegovina)

Abstract

Embedded systems, particularly when integrated into the Internet of Things (IoT) landscape, are critical for projects requiring robust, energy-efficient interfaces to collect real-time data from the environment. As these systems become complex, the need for dynamic reconfiguration, improved availability, and stability becomes increasingly important. This paper presents the design of a framework architecture that supports dynamic reconfiguration and “on-the-fly” code execution in IoT-enabled embedded systems, including a virtual machine capable of hot reloads, ensuring system availability even during configuration updates. A “hardware-in-the-loop” workflow manages communication between the embedded components, while low-level coding constraints are accessible through an additional abstraction layer, with examples such as MicroPython or Lua. The study results demonstrate the VM’s ability to handle serialization and deserialization with minimal impact on system performance, even under high workloads, with serialization having a median time of 160 microseconds and deserialization having a median of 964 microseconds. Both processes were fast and resource-efficient under normal conditions, supporting real-time updates with occasional outliers, suggesting room for optimization and also highlighting the advantages of VM-based firmware update methods, which outperform traditional approaches like Serial and OTA (Over-the-Air, the ability to update or configure firmware, software, or devices via wireless connection) updates by achieving lower latency and greater consistency. With these promising results, however, challenges like occasional deserialization time outliers and the need for optimization in memory management and network protocols remain for future work. This study also provides a comparative analysis of currently available commercial solutions, highlighting their strengths and weaknesses.

Suggested Citation

  • Elmin Marevac & Esad Kadušić & Nataša Živić & Nevzudin Buzađija & Samir Lemeš, 2025. "Framework Design for the Dynamic Reconfiguration of IoT-Enabled Embedded Systems and “On-the-Fly” Code Execution," Future Internet, MDPI, vol. 17(1), pages 1-41, January.
  • Handle: RePEc:gam:jftint:v:17:y:2025:i:1:p:23-:d:1561816
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/17/1/23/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/17/1/23/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:17:y:2025:i:1:p:23-:d:1561816. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.