Booting Configuration; Table 6. Boot Modes; Figure 7. Vector Remapping - Holtek HT32F52220 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230

Booting Configuration

The system provides two kinds of boot modes which can be selected using the BOOT pin. The
BOOT pin is sampled during a power-on reset or system reset. Once the logic value is decided, the
first 4 words of vector will be remapped to the corresponding source according to the boot modes.
The boot mode is shown in the following table.

Table 6. Boot Modes

Boot modes selection pin
BOOT
The Vector Mapping Control Register, VMCR, is provided to change the vector remapping setting
temporarily after the chip reset. The reset initial value of the VMCR register is determined by the
BOOT pin status which will be sampled during the reset duration.
0xC
Hard Fault Handler
0x8
NMI Handler
0x4
Program Counter
0x0
Initial Stack Point

Figure 7. Vector Remapping

Rev. 1.10
Mode
0
Boot Loader
1
Main Flash
1 : Main Flash
+ 0xC
+ 0x8
+ 0x4
0x0000 0000
33 of 366
Descriptions
The Vector source is Boot Loader
The Vector source is main Flash
Boot Setting
0 : Boot Loader
+ 0xC
+ 0x8
+ 0x4
0x1F00 0000
November 09, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F52220 and is the answer not in the manual?

This manual is also suitable for:

Ht32f52230

Table of Contents