Register Protection of MPC5775K

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

Register Protection of MPC5775K

737 Views
xiaochenggao
Contributor II

Hi, community!

I'm confused on the register protection function of MPC5775K. I can't find the defines of REG_PORT_SLBRn and REG_PORT_GCR in the file of mpc5775k.h, and register-protection operations in the examples of MPC5775K. So it is the question: How can i write data to the register-protection registers? and thank you for reply!  

1 Reply

548 Views
petervlna
NXP TechSupport
NXP TechSupport

HI,

Register protection mechanism is described in reference manual Chapter 77 Register Protection (REG_PROT).

Example MPC5748G Register Protection GHS614 

It also depends if you wan to use soft lock or hard lock.

All necessary details are in reference manual + as example you can check MPC5748G main.c file. The mechanism is same on all MPC57xx devices.

pastedImage_2.png

Peter