
NUC126
Aug. 08, 2018
Page
207
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
All of ISP control and status registers are in the flash control registers. The detail registers description
is in the Register Description section
Flash Initialization Controller
When chip is powered on or active from reset, the flash initialization controller will start to access flash
automatically and check the flash stability, and also reload User Configuration content to the flash
control registers for system initiation.
Flash Operation Controller
The flash operations, such as flash erase, flash program, and flash read operation, have specific
control timing for embedded flash memory. The flash operation controller generates those control
timing for flash memory according to access requests.
Embedded Flash Memory
The embedded flash memory is the main memory for user application code and parameters. It
consists of the user configuration block, 4KB LDROM, 2KB SPROM and 128KB/256KB APROM with
Data Flash. The page erase flash size is 2KB, and program bit size is 32 bits.
6.4.4
Functional Description
FMC functions include the memory organization, boot selection, IAP, ISP, the embedded flash
programming, and checksum calculation. The flash memory map and system memory map are also
introduced in the memory organization.
6.4.4.1
Memory Organization
The FMC memory consists of the embedded flash memory which is programmable, and includes
APROM, LDROM, SPROM, Data Flash and the User Configuration block. The address map includes
flash memory map and four system address maps: LDROM with IAP, LDROM without IAP, APROM
with IAP and APROM without IAP functions.
LDROM, APROM and Data Flash
LDROM is designed for a loader to implement In-System-Programming (ISP) function by user. LDROM
is a 4KB embedded flash memory, the flash address range is from 0x0010_0000 to 0x0010_0FFF.
APROM is main memory for user applications. APROM size is 128KB or 256KB. Data Flash is used to
store application parameters (not instruction). Data Flash is shared with APROM for 128KB device and
size is configurable. The base address of Data Flash is determined by DFBA (CONFIG1[19:0]). Figure
6.4-2 shows the memory map of Data Flash which is share the memory space of APROM. The page
size of all embedded flash memory is 2KB.