MPC5606B invalid RCHW

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

MPC5606B invalid RCHW

Jump to solution
1,338 Views
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 Kudos
1 Solution
1,258 Views
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

 

 

View solution in original post

0 Kudos
7 Replies
1,315 Views
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 Kudos
1,290 Views
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 Kudos
1,281 Views
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 Kudos
1,259 Views
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 Kudos
1,248 Views
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 Kudos
1,235 Views
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 Kudos
1,326 Views
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 Kudos