SNIU028D February 2016 – September 2020 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138A , UCD3138A64
There are 4 memory address spaces in the UCD3138. Each memory space has a pair of registers to set its address and block size:
Register Number | Memory | Size in Bytes | Address at Reset | Address in ROM Mode | Address in Flash Mode |
---|---|---|---|---|---|
0 | Boot ROM | 4K | Most of space | 0x0000 0000 - 0x0000 FFFF | 0x0000 A000 - 0x0000 AFFF |
1 | Program Flash | 32K | - | 0x0001 0000 - 0x0001 7FFFF | 0x0000 0000 - 0x0000 7FFFF |
2 | Data Flash | 2K | - | 0x0001 8800 - 0x0001 8FFF | |
3 | RAM | 4K | - | 0x0001 9000 - 0x0001 9FFF |
There are additional memory map registers for fast peripherals, but these are never moved. In addition, several peripheral register sets, including the System Module, are located at fixed locations in high memory. All of these memory locations are given in the reference sections for each register.
Figure 16-1 illustrates where memory is mapped at device reset, in ROM Mode, and in Flash Mode: