32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
Flash Vector Mapping Control Register – VMCR
This register is used to control the vector mapping. The reset value of the VMCR register is determined by the
external booting pin, BOOT, during the power-on reset period.
Offset:
0x100
Reset value: 0x0000_000X
31
Type/Reset
23
Type/Reset
15
Type/Reset
7
Type/Reset
Bits
Field
[1]
VMCB
Rev. 1.00
30
29
28
22
21
20
14
13
12
6
5
4
Reserved
Descriptions
Vector Mapping Control Bit
The VMCB bits is used to control the mapping source of first 4-word vector (address
0x0 ~ 0xC). The following table shows the vector mapping setting.
BOOT
VMCB
Boot Loader mode
Low
0
The vector mapping source is the boot loader area.
Main Flash mode
High
1
The vector mapping source is the main Flash area.
The reset value of VMCR is determined by the pins status of BOOT during power-on
reset and system reset. The vector mapping setting can be changed temporarily by
setting the VMCB bit when the application is running.
54 of 486
27
26
Reserved
19
18
Reserved
11
10
Reserved
3
2
VMCB
RW
Descriptions
25
24
17
16
9
8
1
0
Reserved
X
July 31, 2018
Need help?
Do you have a question about the HT32F50231 and is the answer not in the manual?
Questions and answers