MON251 User's Guide
Theory of Operation
The MON251 Target Monitor requires proper setup and configuration
of two distinct applications: the MON51 Target Monitor program and
the µVision IDE Project and Debugger.
MON251 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.
MON251 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 MON251
(via the serial interface) and is written into von Neumann memory
(by MON251). 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 MON251 using a proprietary serial protocol. MON251 serial
commands are NOT ASCII text-based and cannot be easily viewed or
created with a terminal program — the µVision Debugger and MON251
driver are required.