Example MPC5748G Register Protection GHS614

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

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

Outcomes