Download eCOG1X User Manual V2
Transcript
Version 2.7 4.1 eCOG1X User Manual Operation The purpose of the MMU is to receive memory access requests from the CPU, select a physical memory depending on the MMU configuration and translate the CPU logical memory address into a physical memory address to the memory device. Address translations are controlled using address translator blocks. There are 20 translator blocks in the MMU, 7 for code and 13 for data space translations. The following list shows both the code and data space translators and their order of precedence. Code Space Translations (read only): 1. Internal flash memory block 0 (default translation at reset, always enabled) 2. Internal RAM 3. External chip select CS0 block 0 4. External chip select CS1 block 0 5. Internal flash memory block 1 6. External chip select CS0 block 1 7. External chip select CS1 block 1 Data Space Translations (read/write): 1. Internal I/O registers (fixed at 0xF800 to 0xFFBF, always enabled) 2. USB registers (fixed size 2048 bytes and physical address 0x0) 3. Ethernet MAC registers (fixed size 512 bytes and physical address 0x0) 4. Internal RAM block 0 (default translation at reset, always enabled) 5. Internal RAM block 1 6. Internal RAM block 2 scratchpad (fixed size 256 bytes and logical address 0x1FE00, not accessible in CyanIDE 2) 7. Internal flash memory block 0 8. Internal flash memory block 1 9. Cache as RAM (fixed size 4096 bytes and physical address 0x0) 10. External chip select CS0 block 0 11. External chip select CS1 block 0 12. External chip select CS0 block 1 13. External chip select CS1 block 1 The MMU provides a facility to overlap physical memory locations. For instance, in data space, a small piece of flash memory can be located inside the address boundaries of a larger piece of external memory. The result of this is that the two memories have a range of addresses that are common to both. Accesses to this overlapping address range cause an access to the flash memory only, as it has a higher precedence than the external memories (from the above list, flash = 7 and external memories = 10 to 13). Furthermore, owing to the higher priority of the flash, the overlapping address range in the external memory is unavailable for access. The following diagram shows the available translator blocks and the memories that can be accessed by each block. Note that some physical memory blocks can be mapped into both code and data space, while others can be mapped only into data space. In addition, some physical memories can have more than one area mapped into the same address space, set up with different values for the logical address, physical address and size. Page 4-2 Cyan Technology Ltd 21 October 2009
Related documents
off-the-shelf embedded-network connectivity
xPC563M EVB Freescale User Manual v.1.00.book
DS26303DK - Part Number Search
6274c HWnl.indd
eCOG1X Low Cost Development Kit User Manual
6274c HWnl.indd
eCOG1X User Manual - Glyn High
eCOG1X Low Cost Development Kit User Manual
DRM065, USB2.0 Card Reader Designer
eCOG1k Development Kit User Manual
SPC560Bx EVB STMicro User Manual v.1.00
UNI-DS3 Development System User manual