C.1.3. How do I configure vector_catch?

Vector catch is a mechanism used to trap processor exceptions. This feature is typically used in the early stages of development to trap processor exceptions before the appropriate handlers are installed. You select the vectors to trap by editing the vector_catch value.

The value of vector_catch represents a bit field, where a set bit corresponds to a trapped exception. Bits 0 to 8 corresponds to the vectors Reset to Error, respectively. Although the value can only be displayed in hexadecimal, you can enter values in binary format using the notation 0b. The default value of 0x13B (0b100111011) corresponds to trapping as shown in Table C.2.

Table C.2. Trapped Processor Exceptions defaults

SVCNoSuperVisor Call (SVC) vector can also be trapped by the debugger to enable standard semihosting
Prefetch AbortYes-
Data AbortYes-
Reserved (Address) Yes

Catch Address exceptions.

Used only by the obsolete 26-bit ARM processor architectures.


Catch Error exceptions.

Supported only for RVISS targets.

You can also set the state of individual vector catches for a particular target connection using the Connection Properties.


To use the new setting, you must connect to the target.

If a Board/Chip definition file is selected for this connection, then this file might contain a value for vector_catch that overrides the target connection setting.

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K