BAT32G1x9 user manual | Chapter 35 FLASH control
1142 / 1149
Rev.1.02
35.3.2
FLASH operation control register (FLOPMD1, FLOPMD2).
Flash operation control registers to set the erase and write operations of FLASH.
Address:
0x40020004
After reset:
00000000H R/W
symbol
FLOPMD1
Address:
0x40020008
reset:
00H
R/W
symbol
FLOPMD2
35.3.3
Flash Erase Control Register (FLERMD).
Flash erase control register to set the type of FLASH erase operation.
Address:
0x4002000C
reset:
00H
R/W
Symbol
7
6
5
4
3
2
1
0
FLERMD
Note: Chip Erase only erases the code flash area, not the data flash area. And chip wipe does not support
hardware validation.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
FLOPMD1[7:0]
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
FLOPMD2[7:0]
FLOPMD1
FLOPMD2
OPERATE
55
AA
Erase
AA
55
write
00
00
Read out
Except for the above note
Set Prohibit
ERMD1
ERMD0
OPERATE
0
0
sector
erase, no hardware verification after erasure
1
0
sector
erase, hardware validation after erasure
0
1
chip
erasure note
1
1
Set Prohibit
0
0
0
ERMD1
ERMD0
0
0
0