Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑drv_reset_to_cpu_start

In this section:
Syntax
‑‑drv_reset_to_cpu_start
For use with

Any C-SPY hardware debugger driver.

Description

Normally, at reset, the debugger sets PC to the entry point of the application.

This option omits setting the PC each time that the application is reset. This can be useful when you want to keep the reset value that the CPU sets at reset, for example to start executing from the first instruction pointed out by the vector table, or to run a bootloader or OS startup code before entering the start address of the application.

Caution

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