Register Protection of MPC5775K

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Register Protection of MPC5775K

788件の閲覧回数
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 返信

599件の閲覧回数
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