Example MPC5674F MPU Initialization

Document created by Lukas Zadrapa Employee on Mar 15, 2017
Version 1Show Document
  • View in full screen mode

********************************************************************************
* Detailed Description:
* MPU is initialized to cover all resources (flash, RAM, peripheral bridges).
* All masters are allowed to read-write-execute from all resources.
*
* Simple test case is used to check the behavior of MPU in case of access
* violation:
* - the MPU is reconfigured to disable write access to first 1KB or RAM memory
*   (0x4000_0000 - 0x4000_03FF).
* - if we write this RAM area, machine check exception is triggered
* ------------------------------------------------------------------------------
* Test HW:         XPC567XKIT516 - MPC5674ADAT516 Rev.C, MPC567XEVBFXMB Rev.B
* MCU:             PPC5674FMVYA264
* Fsys:            264MHz
* Debugger:        Lauterbach Trace32
* Target:          RAM, internal_FLASH
*
********************************************************************************

Outcomes