MON51 User's Guide
Theory of Operation
The MON51 Target Monitor requires proper setup and configuration
of two distinct applications: the MON51 Target Monitor program and
the µVision IDE Project and Debugger.
MON51 is a program that resides on your target system.
It may be programmed into EPROM, ROM, EEPROM, FLASH, non-volatile
memory, or RAM. It communicates with the µVision Debugger and
allows you to download programs (to von Neumann RAM), set breakpoints,
watch memory areas and program objects, and so on. MON51 starts
running when you reset your target system.
The µVision Debugger begins a debugging session with the
monitor by establishing serial communication between your PC
(running µVision) and your target hardware (running MON51). The
target program being debugged in µVision is transmitted to MON51
(via the serial interface) and is written into von Neumann memory
(by MON51). Once the target program has been downloaded, you may
proceed to step through it, set breakpoints, and so on.
All operations performed in the µVision Debugger are communicated
to MON51 using a proprietary serial protocol. MON51 serial commands
are NOT ASCII text-based and cannot be easily viewed or created
with a terminal program — the µVision Debugger and MON51 driver are