
M0A21/M0A23 Series
May 06, 2022
Page
217
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
System Memory Map with IAP Mode
The system memory map is used by CPU to fetch code or data from FMC memory and
LDROM(0x0010_0000~0x0010_07FF) address map are the same as in the Flash memory map. 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~APROM maximum size is the Data Flash region for Cortex
®
-M0 data access, and
0x0000_0200~(DFBA-1) is APROM region for Cortex
®
-M0 instruction access.
The address from 0x0000_0000 to 0x0000_01FF is called system memory vector. APROM and LDROM
can map to the system memory vector for CPU start up. There are two kinds of system memory map
with IAP mode when chip booting: (1) LDROM with IAP, and (2) APROM with IAP.
0x0000_0000
0x0010_0000
ApplicationROM
(APROM)
Loader ROM
(LDROM 2 KB)
Reserved
Reserved
Data Flash
DFBA
0x0000_01FF
0x0000_0200
System Memory Vector
0x0010_07FF
0x0000_7FFF
(0x0000_3FFF)
Figure 6.4-4 16/32 Kbytes Flash System Memory Map with IAP Mode
In LDROM with IAP mode, the default value of {VECMAP[11:0], 9’h000} is 0x100000 and first page of
LDROM (0x0010_0000 ~ 0x0010_01FF) is mapping to the system memory vector for Cortex
®
-M0
instruction or data access.