Address Translation

Virtual addresses used by software are converted to physical addresses by the CPU's Memory Management Unit (MMU) before being sent to the system bus.

mmu-mx.png

The MMU on PIC32MX devices with the MIPS® M4K® core performs the following translations:

  • Fixed Mapping Translation (FMT) on KSEG0/KSEG1
    • Physical Address = (Virtual Address) AND (0x1FFFFFFF)
  • Please refer to the PIC32MX FRM "Section 3. Memory Organization" for detailed coverage on the FMT.
  • Also, see chapter 6 of the "See MIPS Run" book for a good discussion on low-level memory management in MIPS CPUs.
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.