The MON-51 ROM Monitor is an easy to implement solution for debugging applications while they run on any target microcontroller supported by the Raisonance toolchain. This MON-51 executable is placed at the core of an application. It is downloaded via serial interface at the same time as the main program code. It is directly managed by Ride and allows the user to control:
If the target board can write to the "Code" space, advanced features such as 'line-by-line execution' or code breakpoints are also possible.
MON-51 requires a communication link with the host PC running the Ride integrated development environment. This link is usually via the UART that is present on every 8051 compatible derivative. If used for application debugging with MON-51, the UART cannot be used elsewhere in the application.
MON-51 consists of:
The source files for communication functions are provided in C and Assembler to allow the user to migrate the ROM-Monitor to a specific board or application.
With the MON-51, it is also possible to modify the content of DATA, XDATA, SFR or BIT memory space. However the SFR registers and bits associated with the UART used by the monitor must never be modified.