Qorivva MPC5xxx/SPC5xx Debugger and NEXUS Trace
103
©1989-2021 Lauterbach GmbH
SYStem.Option OVERLAY
Enable overlay support
Default: OFF.
Example
:
SYStem.Option PC
Set fetch address debug actions
The debugger has to set a fetch address while accessing core resources. Per default (parameter AUTO), the
debugger places the fetch address into the BAM space. If the BAM is disabled or access protected by the
SOC-MPU (core MMU and MPU have no effect), use this command to define an address which the core is
allowed to fetch.
When setting a fetch address, make sure that the address does not cause an instruction storage exception,
e.g. because of unimplemented memory or ECC errors (e.g. in FLASH or uninitialized SRAM).
Format:
SYStem.Option OVERLAY
[
ON
|
OFF
|
WithOVS
]
ON
Activates the overlay extension and extends the address scheme of the
debugger with a 16 bit virtual overlay ID. Addresses therefore have the
format
<overlay_id>
:
<address>
.
This enables the debugger to handle
overlaid program memory.
OFF
Disables support for code overlays.
WithOVS
Like option
ON
, but also enables support for software breakpoints. This
means that TRACE32 writes software breakpoint opcodes to both, the
execution area
(for active overlays) and the
storage area
. This way, it is
possible to set breakpoints into inactive overlays. Upon activation of the
overlay, the target’s runtime mechanisms copies the breakpoint opcodes to
the execution area. For using this option, the storage area must be readable
and writable for the debugger.
SYStem.Option OVERLAY ON
Data.List 0x2:0x11c4
; Data.List <overlay_id>
:
<address>
Format:
SYStem.Option PC
<address>
|
AUTO