Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑drv_mem_ap

In this section:
Syntax
‑‑drv_mem_ap=n
Parameters
n

The number of the MEM-AP port that all Live Watch and Live Memory reads will be redirected through.

For use with

The C-SPY I-jet driver.

The C-SPY J-Link/J-Trace driver.

Description

Use this option to enable Live Watch and Live Memory reads for Cortex-A and Cortex-R devices. All Live Watch and Live Memory reads will be redirected through the specified MEM-AP port.

Note

Because the memory is redirected through a MEM-AP port, the memory viewed through this port will not be the same as the memory viewed from the CPU, if the MMU translation is not one to one.

Caution

To set this option, use Project>Options>Debugger>Extra Options.