Where are the VTOR registers assigned?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AkKa_1343671
Level 1
Level 1
5 questions asked First question asked First reply posted

We want to use PSoC4000S devices.

According to 5.11 of PSoC4000S Architecture TRM (002-10129),

the flash area can be specified in the vector table by VTOR.

However, VTOR is not listed in PSoC 4000S Registers TRM (002-10099).

Is there any other information?

0 Likes
1 Solution
AikoO_51
Moderator
Moderator
Moderator
100 sign-ins First question asked 50 solutions authored

I confirmed the register is not listed in PSoC 4000S Registers TRM (002-10099) as well, but it can be used with nothing problem.

I leave some information for VTOR below.

The vector table can be located anywhere in the memory map (flash or SRAM) by modifying the Vector Table Offset Register (VTOR). This register is part of the System Control Space of CM0+ located at 0xE000ED08.

This register takes bits 31:8 of the vector table address; bits 7:0 are reserved.

You can check them in a Section 5.3.3, “Exception Vector Table” of PSoC4000S Architecture TRM (002-10129).

Aiko Ohtaka
Infineon Technologies

View solution in original post

0 Likes
1 Reply
AikoO_51
Moderator
Moderator
Moderator
100 sign-ins First question asked 50 solutions authored

I confirmed the register is not listed in PSoC 4000S Registers TRM (002-10099) as well, but it can be used with nothing problem.

I leave some information for VTOR below.

The vector table can be located anywhere in the memory map (flash or SRAM) by modifying the Vector Table Offset Register (VTOR). This register is part of the System Control Space of CM0+ located at 0xE000ED08.

This register takes bits 31:8 of the vector table address; bits 7:0 are reserved.

You can check them in a Section 5.3.3, “Exception Vector Table” of PSoC4000S Architecture TRM (002-10129).

Aiko Ohtaka
Infineon Technologies
0 Likes