Example MPC5748G SMPU initialization GHS614

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

Example MPC5748G SMPU initialization GHS614

Example MPC5748G SMPU initialization GHS614

********************************************************************************

* Detailed Description:

* This example initializes SMPU_0 and SMPU_1 to cover all memory resources for

* all masters.

* Simple test case is used in this example: after initialization, SMPU

* configuration is changed to disable write access to last 4kB of RAM.

* Once this area is written by CPU, exception will occur due to access

* violation.

* ------------------------------------------------------------------------------

* Test HW:  MPC57xx

* Maskset:  1N81M

* Target :  SRAM

* Fsys:     160 MHz PLL

*

********************************************************************************

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1117455%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20SMPU%20initialization%20GHS614%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1117455%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20This%20example%20initializes%20SMPU_0%20and%20SMPU_1%20to%20cover%20all%20memory%20resources%20for%3C%2FP%3E%3CP%3E*%20all%20masters.%3C%2FP%3E%3CP%3E*%20Simple%20test%20case%20is%20used%20in%20this%20example%3A%20after%20initialization%2C%20SMPU%3C%2FP%3E%3CP%3E*%20configuration%20is%20changed%20to%20disable%20write%20access%20to%20last%204kB%20of%20RAM.%3C%2FP%3E%3CP%3E*%20Once%20this%20area%20is%20written%20by%20CPU%2C%20exception%20will%20occur%20due%20to%20access%3C%2FP%3E%3CP%3E*%20violation.%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%20MPC57xx%3C%2FP%3E%3CP%3E*%20Maskset%3A%26nbsp%3B%201N81M%3C%2FP%3E%3CP%3E*%20Target%20%3A%26nbsp%3B%20SRAM%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20160%20MHz%20PLL%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1117455%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:
‎10-01-2015 03:30 AM
Updated by: