Everything

 

-DEBUG_MONITOR


This option specifies the memory area for the OCD monitor.

[Specification format]

-DEBUG_MONITOR[=address1-address2]

 

-

Interpretation when omitted

The memory area for the OCD monitor is not allocated.

[Detailed description]

-

Specify the start address for the OCD monitor as address1 and the end address for the OCD monitor as address2.

-

When the start address for the OCD monitor and the end address for the OCD monitor are omitted, the following is assumed to be specified.

-

For an 8-bit CPU
0 bytes

-

For other than an 8-bit CPU
Start address for OCD monitor: End address for on-chip ROM - 512 + 1
End address for OCD monitor: End address for on-chip ROM

-

This option fills addresses 0x2, 0x3, and 0xCE to 0xD7 and the area from the OCD monitor start address to the OCD monitor end address with 0xFF.

-

The area of addresses 0x2 and 0x3 which is also the vector table gives priority to the following specifications.
-rrm option > -debug_monitor option > Assembly source file specification > -vectn option > -vect option

-

When the memory area for the OCD monitor includes the location to allocate the user option bytes, the following specifications are given priority.
-user_opt_byte option > Assembly source file specification > Device file specification > -debug_monitor option

-

When the memory area for the OCD monitor includes the location to allocate the control value for on-chip debugging, the following specifications are given priority.
-ocdbg option > Assembly source file specification > Device file specification > -debug_monitor option

-

When the memory area for the OCD monitor includes the location to allocate the security ID value, the following specifications are given priority.
-security_id option > Assembly source file specification > Device file specification > -debug_monitor option

[Example of use]

-

To specify addresses 0x2FC00 to 0x2FFF as the memory area for the OCD monitor, describe as:

>rlink a.obj b.obj -device=dr5f10y14.dvf -debug_monitor=2FC00-2FFF

[Remark]

-

If the -form={object|relocate|library} option or -strip option is specified, this option will be invalid.

-

If the -device option is not specified, this option will be invalid.