## 1 Introduction
### Related Studies  
In recent years, a significant number of notable studies have presented various techniques for improving the dynamic behaviour of embedded systems at the data storage level, as well as for modifying and executing program logic on demand, yielding notable results. The study entitled \"Runtime Environment for Dynamically Reconfigurable EmbeddedSystems\" [9] explores the development of a runtime environment specifically designed to support dynamic reconfiguration in embedded systems, providing an identical execution context for both software and hardware, as well as the capability to restructure the process structure implemented at both levels. This study is significant as it establishes the primary criteria required for the stability and platform independence of such projects, the approach to synthesizing the interface for integrating high-level modules, and the concept of a reconfiguration manager. The methodologies presented in this study were crucial for designing native high-level modules within the integrated development environment (IDE) and for their final implementation and data transfer to microcontrollers, with the manager acting as a mediator in the exchange of requests and responses. For insight into the process of hardware reconfiguration using bitstreams and standard FPGA circuits combined with an external controller, the study \"Dynamic Reconfigurability in Embedded System Design\" [10] has been deemed useful. The primary focus of this research is on the implementation of a three-layer architecture for data transfer from a high-level client system, partial bitstream validation for each functionality, and the generation of a new structure for low-level reprogramming. This approach is also applicable to virtual machines at a higher abstraction layer, with a gradual transition from source code to intermediate code and, ultimately, to calling system procedures on the microcontroller to implement changes with prior validation. Additionally, the FPGA circuits applied in this study could be used as a potential platform extension, especially for real-time image and signal processing algorithms. Another study titled \"A Dynamic Reconfiguration Scheme for Embedded System Based on Multi-core DSP\" [11] introduces an innovative approach to dynamic reconfiguration tailored specifically for multi-core Digital Signal Processors (DSPs), which are critical for high-performance embedded systems such as those used in aviation. By designating one core as a management core, the scheme enables the efficient time multiplexing of multiple algorithms on a single core, maximizing hardware resource utilization without interrupting system operations. Additionally, the use of a local reset mechanism allows seamless software switching, ensuring real-time operation with a reconfiguration time of just 4 milliseconds for a 128 KB program. The contribution of this study is particularly evident in the firmware design for a microcontroller that simultaneously processes user requests and virtual machine instructions in a distributed manner, while local reset only applies to initiating a new instance of the program with the received options and code. In the paper \"A Low-Overhead Script Language for Tiny Networked Embedded Systems\" [12], a new scripting language named \"Script\" is presented, specifically designed for resource-constrained sensor networks. The authors developed an interpreter for this language that runs on the popular MSP430 microcontroller and benchmarked its performance, showing comparable execution times to existing virtual machines while maintaining a similar memory footprint. SCript provides features such as conditional branching, loops, functions, and scoped variables, making it more powerful than simpler scripting approaches. These characteristics make SCript a flexible and efficient means for dynamically reprogramming sensor networks without requiring physical hardware modifications, reducing development time and enabling easier adaptation to changing environmental conditions.