Example MPC5748G Register Protection GHS614

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

Example MPC5748G Register Protection GHS614

Example MPC5748G Register Protection GHS614

********************************************************************************
* Detailed Description:
* Read attached document "How to use Register Protection on MPC5748G.pdf"
* for detailed explanation.
* This example shows how to lock and unlock register MC_ME.RUN_MC[3].R.
* One option is to write directly to memory via pointers, second option is
* to use macros from header file reg_prot.h.
* ------------------------------------------------------------------------------
* 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-1127663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20Register%20Protection%20GHS614%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1127663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20Read%20attached%20document%20%22How%20to%20use%20Register%20Protection%20on%20MPC5748G.pdf%22%3CBR%20%2F%3E*%20for%20detailed%20explanation.%3CBR%20%2F%3E*%20This%20example%20shows%20how%20to%20lock%20and%20unlock%20register%20MC_ME.RUN_MC%5B3%5D.R.%3CBR%20%2F%3E*%20One%20option%20is%20to%20write%20directly%20to%20memory%20via%20pointers%2C%20second%20option%20is%3CBR%20%2F%3E*%20to%20use%20macros%20from%20header%20file%20reg_prot.h.%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-1127663%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-15-2016 03:54 AM
Updated by: