MPC5606B invalid RCHW

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

MPC5606B invalid RCHW

跳至解决方案
3,207 次查看
jan_vdh
Contributor I

Hello,

I've programmed an MPC5606B chip to use the private password & censorship turned on. However, the chip was still empty, so has an invalid RCHW and reset vector. Now, the BAM code seems to run & download through serial, but for any possible password. Then it seems to go into static state, or at least does not run or execute the downloaded BAM code.

Is there any way I can recover this chip?

Many thanks

0 项奖励
回复
1 解答
3,127 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

If configured for public password, you are entering public password. If private password, then you are entering private password.

 

davidtosenovjan_0-1640166761461.png

 

 

在原帖中查看解决方案

0 项奖励
回复
7 回复数
3,184 次查看
jan_vdh
Contributor I

 Thanks for the reply. That explained the weird behavior . One more question - once a chip is configured as public pw & censored, but I know the private password, can I still disable the censorship in the BAM bootloader by writing the private password to the PWCMPH & PWCMPL registers?

 

Many thanks

0 项奖励
回复
3,159 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Yes, you can temporarily disable censorship (until next reset) by entering the password over serial boot communication, here again in reverse order.

0 项奖励
回复
3,150 次查看
jan_vdh
Contributor I

Am I wrong to think that the chip only accepts the public password (feedface cafebeef) during the serial boot communication when configured to use the public password? I'm wondering if I can still somehow uncensor the chip in that configuration.

 

Thanks

0 项奖励
回复
3,128 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

If configured for public password, you are entering public password. If private password, then you are entering private password.

 

davidtosenovjan_0-1640166761461.png

 

 

0 项奖励
回复
3,117 次查看
jan_vdh
Contributor I

Thank you for the reply. The scenario I'm dealing with is as following:

* The chip is configured to use public password & is censored.

After entering the public password I can execute the BAM code. Now I'm wondering if the downloaded BAM code can disable censorship by writing the private password to the PWCMPH and PWCMPL registers?

0 项奖励
回复
3,104 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

No, what you are describing is lock out. In this case MCU is censored forever.

davidtosenovjan_0-1640254083372.png

 

0 项奖励
回复
3,195 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Here you may see example codes for censorship on this device:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5604B-Censorship-CW210/ta-p/1123992

Common issue could be that password needs to be entered in reverse order i.e. 0xCAFE_BEEF_FEED_FACE (for private password 0xFEED_FACE_CAFE_BEEF).

0 项奖励
回复