MON166 Target Monitor

Back to Keil Page >>>
MON166 is a full-featured, license-free, royalty-free target monitor designed for the C16x microcontroller family.  It may be configured for a wide variety of target systems including those with a bootstrap loader. MON166 communicates with the µVision3 Debugger using your PC's COM port. You may use the µVision3 Debugger and MON166 to easily debug your target programs in real-time. You can view program symbols, debug using your source code, watch program variables, examine memory contents, and more!

Hardware Requirements

  • 5 Kbytes code space for MON166
  • 256 bytes of data memory
  • 10 bytes of stack space in the user program
  • Serial port for the PC interface
  • NMI or other TRAP for breakpoints

Software Requirements

MON166 requires few (if any) changes to your source code. Since MON166 uses the NMI trap for breakpoints, your program must avoid using this memory area. The following linker command reserves this memory:

L166 mycode.obj reserve(08h-0Bh, 0ACh-0AFh, 0B8h-0BBh)

If you have problems with MON166 crashing, you have probably neglected to reserve these memory areas for the trap vectors.

Configuration

Before you can use MON166, you must modify the configuration files and rebuild the monitor to support your target hardware. Several predefined configurations of the monitor are available for generic hardware and for boards available from Keil Software and Phytec.

Refer to the README.TXT file that is included in the \KEIL\C166\MONITOR\ directory. This file discusses how to add MON166 support for additional target hardware.

Last Updated: January 31, 2007 2:30 PM

Nohau UK Home >>>