Register Protection

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

Register Protection

Jump to solution
1,306 Views
xiaobozheng
Contributor III

hi:

 is there any Register Protection (REG_PROT)(mpc5744p) software sample or document?  thanks!

Labels (1)
0 Kudos
1 Solution
1,097 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

see the Appendix A on page 2843 in the reference manual:

http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5744PRM.pdf 

There's a list of registers which can be protected. There's no INTC_0.BCR, so the lock bits are not implemented and the write access will lead to bus error.

Regards,

Lukas

View solution in original post

0 Kudos
3 Replies
1,097 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

take a look at

https://community.nxp.com/message/830141 

Regards,

Lukas

0 Kudos
1,097 Views
xiaobozheng
Contributor III

there is another problem,

  CLR_SOFTLOCK32(INTC_0.BCR.R);
  GET_SOFTLOCK(INTC_0.BCR.R, lock);

  this two function will cause an reset , means we can not access 0xfc043800 ( the Soft Lock Bits area of INIC module). why this is happen?

0 Kudos
1,098 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

see the Appendix A on page 2843 in the reference manual:

http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5744PRM.pdf 

There's a list of registers which can be protected. There's no INTC_0.BCR, so the lock bits are not implemented and the write access will lead to bus error.

Regards,

Lukas

0 Kudos