
M0A21/M0A23 Series
May 06, 2022
Page
218
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
0x0000_0000
ApplicationROM
(APROM)
0x0000_01FF
0x0000_0200
System Memory Vector
0x0010_01FF
0x0010_0000
LDROM (512 B)
Note:
{VECMAP[11:0], 9
’h000} = 0x10_0000
Figure 6.4-5 LDROM with IAP Mode
In APROM with IAP mode, the default value of
{VECMAP[11:0], 9’h000} is 0x000000 and first page of
APROM (0x0000_0000~0x0000_01FF) is mapping to the system memory vector for Cortex
®
-M0
instruction or data access.
0x0000_0000
ApplicationROM
(APROM)
0x0000_01FF
0x0000_0200
System Memory Vector
0x0000_01FF
0x0000_0000
APROM (512B)
Note: {VECMAP[11:0], 9’h000} = 0x00_0000
Figure 6.4-6 APROM with IAP Mode
In system memory map with IAP mode, APROM and LDROM can remap to the system memory vector
when CPU running. User can write the target remap address to FMC_ISPADDR register and then trigger
ISP procedure with the “Vector Page Remap” command (0x2E). In VECMAP (FMC_ISPSTS[23:9]),
shows the finial system memory vector mapping address.
System Memory Map without IAP Mode
In system memory map without IAP mode, the system memory vector mapping is not supported. There
are two kinds of system memory map without IAP mode when chip booting: (1) LDROM without IAP, (2)
APROM without IAP. In LDROM without IAP mode, LDROM base is mapping to 0x0000_0000. CPU
program cannot run to access APROM. In APROM without IAP mode, APROM base is mapping to
0x0000_0000. CPU program cannot run to access LDROM. The Data Flash is shared with APROM and
the Data Flash base address is defined by CONFIG1. The content of CONFIG1 is loaded into DFBA
(Data Flash Base Address Register) at the Flash initialization. The DFBA~0x0000_7FFF is the Data
Flash region for Cortex
®
-M0 data access, and 0x0000_0000~(DFBA-1) is APROM region for Cortex
®
-