While designing a microcontroller program, it is often a tedious task to confirm correct operation, if a potential error might occur. Although multiple methods exist to filter out the runtime errors, these are predominantly controller-specific. The goal of this paper is to design and implement a widely applicable debugger application, which is adaptable to any microcontroller type, thus facilitating the work of the programmer.
Regarding the more generally applicable debugging solutions, JTAG is usually not available during runtime, while serial communication is accessible, thus it is the basis of the solution discussed in this paper.
Within the confines of this project, a JavaFX based application, called MicroDebug was created, which has the ability to communicate with a microcontroller through a serial interface. The program can read live data from the controller, modify the value of its variables as well as initiate a triggered data collection.
The project includes the task of creating an other application, which is supposed to simulate the behavior of a microcontroller. This program, called MicroMocker is capable of generating different signal types, sending these to the MicroDebug along with collecting data in a triggered manner.
In conclusion, an application was created, which can display variables and signals coming from a microcontroller, with relatively little addition to the program of said controller.