Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑drv_reset_to_cpu_start

In this section:
Syntax
‑‑drv_reset_to_cpu_start
For use with

The C-SPY GDB Server driver

The C-SPY I-jet driver

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

The C-SPY ST-LINK driver

The C-SPY TI Stellaris driver

The C-SPY TI XDS 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.

This option also keeps the value of the SP (for Cortex-M) or CPSR register (for other devices) set by the CPU.

Caution

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