Register Protection

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Register Protection

跳至解决方案
1,401 次查看
xiaobozheng
Contributor III

hi:

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

标签 (1)
0 项奖励
1 解答
1,192 次查看
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 项奖励
3 回复数
1,192 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

take a look at

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

Regards,

Lukas

0 项奖励
1,192 次查看
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 项奖励
1,193 次查看
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 项奖励