Datasheet

ADE5166/ADE5169/ADE5566/ADE5569 Data Sheet
Rev. D | Page 114 of 156
FLASH MEMORY ORGANIZATION FOR THE 32 KB
MODEL
If using the reduced flash model of the ADE5169, then only
32 kB of flash memory are available. The memory is segmented
into 64 pages, each containing 512 bytes. The flash organization
is illustrated in Figure 97.
FFFF
2kB
0×F800
0×F7FF
32kB
0×0000
07411-097
UNAVAILABLE IN F32 MODEL
EMBEDDED DOWNLOAD/DEBUG KERNEL
PERMANENTLY EMBEDDED FIRMWARE ALLOWS
CODE TO BE DOWNLOADED TO ANY OF THE
62 KB OF ON-CHIP PROGRAM MEMORY.
THE KERNEL PROGRAM APPEARS AS NOP
INSTRUCTIONS TO USER CODE.
USER PROGRAM MEMORY
62 KB OF FLASH/EE PROGRAM MEMORY
ARE AVAILABLE TO THE USER. ALL OF THIS
SPACE CAN BE PROGRAMMED FROM THE
PERMANENTLY EMBEDDED DOWNLOAD/DEBUG
KERNEL OR IN PARALLEL PROGRAMMING MODE.
Figure 97: Flash Memory Organiztion in the 32 kB Model
The reliability and usage of the 32 kB of flash memory is the same
as that of the 62 kB model. See the Flash/EE Memory Reliability
and the Using the Flash Memory sections for further details.
Should an attempt be made to access any address above 0x7FFFh,
a value of FFh will be returned. The one exception to this rule
is the flash protection bits that are located on flash page 123
from address 0xF7EB to address 0xF7FF. See Figure 96. These
bits contain the flash protection key, read protection bits, write
protection bits, and watchdog protection; refer to the Protecting
the Flash Memory section for more details. These flash protection
bits are available in the 32 kB model, however only the bits that
refer to pages 0 through 63 will have any effect.