shadow area?

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

shadow area?

1,600件の閲覧回数
huafang
Contributor II

On a MPC5554 chip, I erased the entire shadow area. Now, during debugging I found that the internal flash is disabled, how can I recover?

1 返信

1,416件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am afraid your device is now censored.

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.

 

So I would recommend to study following appnote:

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

 

You can try to play with BOOTCFG pins. If you switch to serial boot mode, debugger should work but internal flash is not accessible.

 

If shadow flash is erased on MPC5554 (MCU is censored), it behaves according following table:

SIU_RSR(BOOTCFG[0:1]) , boot mode, internal flash state, nexus state

00, internal boot, enabled, disabled

01, serial boot, disabled, enabled

10, external boot, disabled, enabled

11, external boot, disabled, enabled