MON251 User's Guide

Target Options

When you use MON251, your application must be stored in von Neumann-mapped RAM when downloaded to the target system. With your application stored in RAM, MON251 can modify the program code to set and clear breakpoints.

To relocate also the interrupt vectors you should setup the memory layout in in µVision under Options for Target – L251 Locate – User Classes. The following example shows the setup for:

  • Data RAM in address space 0 - 0x3FFF.
  • Code RAM in address space 0xFE0000 - 0xFEFFFF and 0xFF4000 - 0xFFFFFF.

Options for Target — Target Tab

Note

  • In the example above we assume that the MON251 firmware is stored in address space 0xFF0000 - 0xFF3FFF.
  • CODE ($0xFF4000, 0xFF4000 - 0xFFFFFF) relocates the reset and interrupt vectors to an offset of 0xFF4000. Refer to the L251 User's Guide, CLASSES Linker Directive for more information.