Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑drv_vector_table_base

In this section:
Syntax
‑‑drv_vector_table_base=expression
Parameters
expression

A label or an address.

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 CMSIS-DAP driver.

The C-SPY TI Stellaris driver.

The C-SPY TI XDS driver.

The C-SPY ST-LINK driver.

The C-SPY Simulator driver.

Description

Use this option to specify the location of the reset vector (this also determines the placement of the initial stack pointer value for Cortex-M). This is useful if you want to override the default label—defined in the system startup code—in the application or if the application lacks this label, which can be the case if you debug code that is built by tools from another vendor.

The default label for the vector location is:

  • __vector_table (Cortex-M)

  • __vector (Cortex-Av7 and Cortex-Rv7)

  • __vector_v8 (Cortex-Av8 and Cortex-Rv8)

Caution

Project>Options>Debugger>Extra Options.