
M0A21/M0A23 Series
May 06, 2022
Page
216
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
CONFIG2 (Address = 0x0030_0008)
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
ALOCK
Bits Description
[31:8]
Reserved
Reserved.
[7:0]
ALOCK
Advance Security Lock Control
0x5A = Flash memory content is unlocked if LOCK (CONFIG0[1]) is set to 1.
Others = Flash memory content is locked.
Note:
ALOCK will be programmed as 0x5A after executing ISP page erase or ISP/ICP whole chip erase
Flash Memory Map
In the M0A21/M0A23, the Flash memory map is different from system memory map. The system
memory map is used by CPU fetch code or data from FMC memory. The Flash memory map is used
for ISP function to read, program or erase FMC memory. Figure 6.4-3 shows the Flash memory map.
Reserved
Reserved
0x0000_0000
0x0010_0000
Loader ROM
(LDROM 2 KB)
0x0010_07FF
APROM 16 KB Device
3
2
K
B
0x0030_0000
0x0030_000B
ApplicationROM
(APROM)
ApplicationROM
(APROM)
Loader ROM
(LDROM 2 KB)
Reserved
Reserved
Reserved
User Configuration
(12 B)
User Configuration
(12 B)
Reserved
Reserved
APROM 32 KB Device
Reserved
Reserved
0x0000_3FFF
0x0000_7FFF
1
6
K
B
Reserved
Figure 6.4-3 16/32 Kbytes Flash Memory Map