Example MPC5748G SMPU initialization + Process ID test GHS614

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

Example MPC5748G SMPU initialization + Process ID test GHS614

Example MPC5748G SMPU initialization + Process ID test GHS614

********************************************************************************
* Detailed Description:
* This example initializes SMPU_0 and SMPU_1 to cover all memory resources for
* all masters.
* Simple test is performed in this example: after initialization, SMPU_1
* configuration is changed to disable write access to last 4kB of RAM for
* Process ID 1. Write acess is allowed for Process ID 0.
* If this area is written by CPU while the Process ID is 1, exception will
* occur due to access violation.
* ------------------------------------------------------------------------------
* Test HW:         MPC574XG-324DS Rev.A + MPC574XG-MB Rev.C
* MCU:             PPC5748GMMN6A 1N81M
* Fsys:            160 MHz PLL
* Debugger:        Lauterbach Trace32
* Target:          internal_FLASH
*
********************************************************************************

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1104607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20SMPU%20initialization%20%2B%20Process%20ID%20test%20GHS614%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20This%20example%20initializes%20SMPU_0%20and%20SMPU_1%20to%20cover%20all%20memory%20resources%20for%3CBR%20%2F%3E*%20all%20masters.%3CBR%20%2F%3E*%20Simple%20test%20is%20performed%20in%20this%20example%3A%20after%20initialization%2C%20SMPU_1%3CBR%20%2F%3E*%20configuration%20is%20changed%20to%20disable%20write%20access%20to%20last%204kB%20of%20RAM%20for%3CBR%20%2F%3E*%20Process%20ID%201.%20Write%20acess%20is%20allowed%20for%20Process%20ID%200.%20%3CBR%20%2F%3E*%20If%20this%20area%20is%20written%20by%20CPU%20while%20the%20Process%20ID%20is%201%2C%20exception%20will%3CBR%20%2F%3E*%20occur%20due%20to%20access%20violation.%20%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%20MPC574XG-324DS%20Rev.A%20%2B%20MPC574XG-MB%20Rev.C%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%20PPC5748GMMN6A%201N81M%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%20160%20MHz%20PLL%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%20internal_FLASH%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1104607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎09-07-2016 04:26 AM
Updated by: