UG-498
ADuCM320 Hardware Reference Manual
Rev. C | Page 74 of 196
The kernel code cannot be accessed by the user. A user can read 16 bytes of Flash 0 information space at Address 0x407E8 to Address 0x407F7.
These locations contain ManfID0, ManfID1, and the next eight bytes, which are reserved. ManfID0 and ManfID1 contain traceability
information to uniquely identify every part sold.
The top two bytes at 0x407F4 identifies the silicon version and the kernel revision. The first hexadecimal digit in the two bytes translates
to the silicon revision, with 0x1 being the first silicon and each future revision incrementing by 1. The next two hexadecimal digits are the
ASCII encoded version of the kernel. Prerelease versions start at Y; after release, this changes to the ASCII character 0 and increment
upwards if any changes are necessary. The fourth hexadecimal digit represents the kernel minor revision. This starts at 0xE and is
decremented for every minor change to the kernel. For example, 0x159A translates as follows: 1 indicates first silicon, 59 indicates kernel
revision Y in ASCII code, and A indicates minor revision A.
There are also hardware registers that identify the version of each silicon die. For more information, see the Silicon Identification section.
ADDRESS
0x40FFF
INFORMATION SPACE FLASH 1
0x40800
0x407FF
INFORMATION SPACE FLASH 0
0x40000
0x3FFFF
0x20000
0x1FFFF
0x00000
USER SPACE FLASH 1: 128kB
USER SPACE FLASH 0: 128kB
11
17
6-
1
12
Figure 13. Information and User Space Memory Map
Keys
The value 0xF123F456 must be written to the FEEKEY register to run certain user commands, to write to certain locations in flash, or to
enable write access to the user setup register (FEECON1).
FLASH MEMORY OPERATION
Keyhole Access
Writing to flash is through keyhole access.
Keyhole access consists of
Flash address
Flash data MMR
Command MMR
Reserved Flash Locations
The top six words of each flash block have special functionality, as listed in Figure 14 and Figure 15. Therefore, normal code or data
cannot be placed in this space.
SIGNATURE. ADDRESS 0x3FFFC
RESERVED. ADDRESS: 0x3FFF8
USER READ PROTECTION KEY 1. ADDRESS: 0x3FFF4
USER WRITE PROTECTION PATTERN 1 [31:0] ADDRESS: 0x3FFF0
RESERVED. ADDRESS: 0x3FFEC
USERFAAKEY1 [31:0] ADDRESS: 0x3FFE8
REST OF THE UPPERMOST PAGE IN USER SPACE
11
176-
113
Figure 14. Uppermost Page in User Flash 1 Space