Skip to main content

IAR Embedded Workbench for RISC-V 3.40

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

Description

Use this option to enable Live Watch and Live Memory reads for certain 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.