Register Protection

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,403件の閲覧回数
xiaobozheng
Contributor III

hi:

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

ラベル(1)
0 件の賞賛
1 解決策
1,194件の閲覧回数
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,194件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

take a look at

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

Regards,

Lukas

0 件の賞賛
1,194件の閲覧回数
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,195件の閲覧回数
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 件の賞賛