Example MPC5674F MPU Initialization CW210

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5674F MPU Initialization CW210

Example MPC5674F MPU Initialization CW210

********************************************************************************
* 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
*
********************************************************************************

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1126354%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5674F%20MPU%20Initialization%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1126354%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20MPU%20is%20initialized%20to%20cover%20all%20resources%20(flash%2C%20RAM%2C%20peripheral%20bridges).%20%3CBR%20%2F%3E*%20All%20masters%20are%20allowed%20to%20read-write-execute%20from%20all%20resources.%20%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Simple%20test%20case%20is%20used%20to%20check%20the%20behavior%20of%20MPU%20in%20case%20of%20access%3CBR%20%2F%3E*%20violation%3A%3CBR%20%2F%3E*%20-%20the%20MPU%20is%20reconfigured%20to%20disable%20write%20access%20to%20first%201KB%20or%20RAM%20memory%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20(0x4000_0000%20-%200x4000_03FF).%20%3CBR%20%2F%3E*%20-%20if%20we%20write%20this%20RAM%20area%2C%20machine%20check%20exception%20is%20triggered%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC567XKIT516%20-%20MPC5674ADAT516%20Rev.C%2C%20MPC567XEVBFXMB%20Rev.B%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5674FMVYA264%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20264MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎03-15-2017 03:35 AM
Updated by: