User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 33
www.energymicro.com
Table 7.1. MSC Flash Memory Mapping
Block Page Base address Write/Erase by Software
readable
Purpose/Name Size
0 0x00000000 Software, debug Yes
. Software, debug Yes
Main
1
255 0x000FFF00 Software, debug Yes
User code and data 512 KB - 1024
KB
Reserved - 0x00100000 - - Reserved for flash
expansion
~24 MB
0 0x0FE00000 Software, debug Yes User Data (UD) 2 KB
- 0x0FE00800 - - Reserved -
1 0x0FE04000 Write: Software,
debug
Erase: Debug
only
Yes Lock Bits (LB) 2 KB
- 0x0FE04800 - - Reserved -
2 0x0FE08000 - Yes Device Information
(DI)
2 KB
Information
- 0x0FE08800 - - Reserved -
Reserved - 0x0FE10000 - - Reserved for flash
expansion
Rest of code
space
1
Block/page erased by a device erase
7.3.1 User Data (UD) Page Description
This is the user data page in the information block. The page can be erased and written by software. The
page is erased by the ERASEPAGE command of the MSC_WRITECMD register. Note that the page is
not erased by a device erase operation. The device erase operation is described in Section 6.4 (p. 27) .
7.3.2 Lock Bits (LB) Page Description
This page contains the following information:
• Main block Page Lock Words (PLWs)
• User data page Lock Word (ULWs)
• Debug Lock Word (DLW)
• Mass erase Lock Word (MLW)
The words in this page are organized as shown in Table 7.2 (p. 33) :
Table 7.2. Lock Bits Page Structure
127 DLW
126 ULW
125 MLW
N PLW[N]
… …
1 PLW[1]
0 PLW[0]