MPC5604B software reset

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5604B software reset

ソリューションへジャンプ
4,646件の閲覧回数
283230333
Contributor III

In MPC5644A , we can reset the software by the bit "SIU.SRCR.B.SSR" . Now we want to reset the MPC5604B in the same way , so how can I do it ?

ラベル(1)
1 解決策
4,230件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Use the MC_ME module to enter the RESET mode (SW functional reset):

/* software reset */   

ME.MCTL.R = 0x00005AF0;

ME.MCTL.R = 0x0000A50F;

This sequence reset the device.

元の投稿で解決策を見る

7 返答(返信)
4,231件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Use the MC_ME module to enter the RESET mode (SW functional reset):

/* software reset */   

ME.MCTL.R = 0x00005AF0;

ME.MCTL.R = 0x0000A50F;

This sequence reset the device.

4,230件の閲覧回数
283230333
Contributor III

Ok , very thanks!  Another question ! The problem is still about 5604B. I have erased the shadow block of the 5604b , but didn't write a new correct data. So I can't access the device via the JTAG. But recently, I have also erased the shadow block of the 5644A , and also didn't write a new correct data. But i can still access the device via the JTAG by configure the BOOTCFG pin, and let the code run in the RAM.  So, can I  uncensorship the 5604B by the same way?

0 件の賞賛
返信
4,230件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Censorship is very sensitive thing. It is needed to use it very carefully, because an inappropriate usage can lead in making the device useless. If you accidentally erase shadow flash there is no chance to recover it (unless it had been though about before).

If your device is censored and you don’t have any pre-prepared recovery code located in the internal flash memory, there is no way how to unlock it and everything you can do is to order new sample, and re-solder it instead of the censored one.

Thus I would recommend to study following appnote:

http://cache.freescale.com/files/32bit/doc/app_note/AN3787.pdf

0 件の賞賛
返信
4,230件の閲覧回数
283230333
Contributor III

Thanks for your reply. Are there another way  can encrypted the device, and can't access the device via the JTAG?

0 件の賞賛
返信
4,230件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

It works slightly different way on MPC5644A (and all MPC55xx) and MPC5604B (and most of 56xx).

Erased shadow flash means in case MPC5644A that device is censored. In case you switch to serial boot mode, you can access to the device over JTAG, but internal flash does not work (it means internal RAM target works, internal FLASH target does not).

In case MPC5604B device, in case shadow flash is erased, device is locked out permanently and neither JTAG access is allowed. Thus the device is broken and there is no other way how to repair it.

0 件の賞賛
返信
4,230件の閲覧回数
alexvinchev
Contributor V

Hi David,

is there document, similar to this one, but for MPC57xx family? I'm interested especially for MPC5748G.

0 件の賞賛
返信
4,230件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am not aware of any document dealing with MPC57xx censorship. Unfortunately I don’t have experience with that implementation. You may try to submit new thread or case, maybe someone will help you.

0 件の賞賛
返信