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 details on groups, see "Table 1.1 Group Notation".)

[V1.15 or later]

-

For RL78 products in groups A and B

0 bytes

-

For RL78 products in group C

Start address for OCD monitor: End address for on-chip ROM - 512 + 1

End address for OCD monitor: End address for on-chip ROM

[V1.14 or earlier]

-

For RL78 products in group A

0 bytes

-

For RL78 products in groups B and C

Start address for OCD monitor: End address for on-chip ROM - 512 + 1

End address for OCD monitor: End address for on-chip ROM

-

[V1.10 or earlier] 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.

-

[V1.11 or later] This option fills addresses 0x2 and 0x3, the area conforming to device specifications, 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 0x300 to 0x3FF as the memory area for the OCD monitor, describe as:

>rlink a.obj b.obj -device=dr5f10y14.dvf -debug_monitor=300-3FF

[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.