
Mini57
Apr. 06, 2017
Page 135 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
6.4.4
Functional Description
6.4.4.1
Flash Memory Organization
The Mini57 Flash memory consists of program memory (APROM), Data Flash, ISP loader
program memory (LDROM), and user configuration.
Program memory is main memory for user applications and called APROM. User can write their
application to APROM and set system to boot from APROM.
ISP loader program memory is designed for a loader to implement In-System-Programming
function. LDROM is independent to APROM and system can also be set to boot from LDROM.
Therefore, user can use LDROM to avoid system boot fail when code of APROM was corrupted.
Data Flash is used for user to store data. It can be read by ISP read or memory read and
programmed through ISP register. The size of each erase unit is 512 bytes. Data Flash is shared
with original program memory, the size and start address are defined by user depending on the
application request.
User configuration provides several bytes to control system logic, such as Flash security lock,
boot selection, Brown-
out voltage level, Data Flash base address, etc…. User configuration works
like a fuse for power on setting and loaded from Flash memory to its corresponding control
register during chip powered on.
In the NuMicro
®
Family, the Flash memory organization is different to system memory map. Flash
memory organization is used when user using ISP command to read, program or erase Flash
memory. System memory map is used when CPU access Flash memory to fetch code or data.
For example, When system is set to boot from LDROM by CBS[1:0] = 1, CPU will be able to fetch
code on LDROM from 0x0000 ~ 0x07FF. However, if user want to read LDROM by ISP, they still
need to read the address of LDROM as 0x0010_0000 ~ 0x0010_07FF.
Table 6.4-1 shows the address mapping information of APROM, LDROM, Data Flash and user
configuration.
Block Name
DFEN
Size
Start Address
End Address
APROM
0
(29.5-0.5*N) Kbytes
0x0000_0000
DFBA-1
APROM
1
29.5 Kbytes
0x0000_0000
0x0000_75FF
Data Flash
0
0.5*N Kbytes
DFBA
0x0000_75FF
Data Flash
1
N/A
N/A
N/A
LDROM
x
2 Kbytes
0x0010_0000
0x0010_07FF
SPROM0
x
0.5 Kbytes
0x0020_0000
0x0020_01FF
SPROM1
x
0.5 Kbytes
0x0024_0000
0x0024_01FF
SPROM2
x
0.5 Kbytes
0x0028_0000
0x0028_01FF
User Configuration
x
2 words
0x0030_0000
0x0030_0004
Table 6.4-1 Flash Memory Address Map
Содержание Mini57 Series
Страница 376: ...Mini57 Apr 06 2017 Page 376 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 1 Receive buffer is full ...
Страница 472: ...Mini57 Apr 06 2017 Page 472 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 1 3 20 Pin TSSOP 4 4x6 5x0 9 mm ...
Страница 473: ...Mini57 Apr 06 2017 Page 473 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 9 1 33 pin QFN33 4x4x0 8 mm ...