Work

Runtime Embedded Systems Peripheral Configuration Using an Interpreted Language

Year: 2025
Type: conference-paper
Abstract: This paper provides a description of an alternative to compiled code and GUI peripheral configuration tools in the field of embedded systems design and rapid prototyping. This is explored in the form of an interpreted language loaded onto a microcontroller, named NiTTY. Interaction with NiTTY is via a read-evaluate-print loop (REPL) over serial communication. NiTTY is used to demonstrate reliable reconfiguration of peripheral register functions without the need for recompilation or external programs, while also allowing for interfacing with high level languages. NiTTY was designed to imitate the simplicity of shell languages and implemented using a tree-walking parsing technique. A simple data structure containing searchable data about the permutation of registers, their configuration, and status of the enabled peripherals is included. The interpreter was tested using a unit test of the scanner & parser, along with four tests to verify the function and reliability of the program. This paper demonstrates a proof of concept of interfacing platform independence, reliability, and compactness. Questions about the performance, features, and optimisation of the program are raised, and reconciliation of these before effective use for rapid prototyping or commercial development is outlined.
Language: English
Open Access status: green
OpenAlex ID: W4415745875
FWCI:
Cites: 5
Cited by:
Related to: 9