Example MPC5604B Censorship CW210

File uploaded by David Tosenovjan Employee on Jul 21, 2016Last modified by Diana Torres on Feb 24, 2017
Version 7Show Document
  • View in full screen mode

WARNING 1: Use censorship feature very carefully, because an inappropriate usage can lead in making the device useless!!! Thoroughly read all instructions before use!!!

 

WARNING 2: Version of ICDPPCNEXUS debugger that is included with CodeWarrior 2.10 is not capable to enable debug on certain devices including MPC5604B. Workaround is either using of Codewarrior 10.6 or using of PKGPPCNEXUS debugger - can be downloaded from P&E Microcomputer Systems

 

WARNING 3: In case TRACE32 debugger is being used (Lauterbach) it is needed to have updated TRACE32 software to version 2016.02.000072893 or higher, otherwise there may be issues with access to censored device. LAUTERBACH DEVELOPMENT TOOLS 

 

The example consists of 2 parts and document describing how to access censored device via JTAG with using of PeMicro or Lauterbach debugger:

 

1) MPC5604B-Censor_device-CW210:

********************************************************************************

* Detailed Description:

* The example code reprogram content of shadow flash to enable censorship.

* After succesful operation LED1 is lighting. After power-on-reset the device

* is censored with private 0xFEED_FACE_CAFE_BEEF. Subsequently the access can be

* allowed by enabling debug of censored device as decipted in attached pdf

* document. On this device password must be entered in reverse order i.e.

* 0xCAFE_BEEF_FEED_FACE. Shadow flash re-programming code must be executed from

* internal RAM.

* ------------------------------------------------------------------------------

 

2) MPC5604B-Uncensor_device-CW210:

********************************************************************************

* Detailed Description:

* Supposing the device is censored by example MPC5604B-Censor_device-CW210

* Firstly it is needed to enabled debug of censored device as decipted in

* attached pdf document. On this device password must be entered in reverse

* order i.e.0xCAFE_BEEF_FEED_FACE. MPC5604B_run_from_ram.cmm script does it by

* command SYStem.option.keycode 0xCAFEBEEFFEEDFACE.

* Then run this code to uncensor the device. After succesful operation LED1 is

* lighting. After power-on-reset the device is uncensored and subsequent access

* will be without password. Shadow flash re-programming code must be executed

* from internal RAM.

* ------------------------------------------------------------------------------

Outcomes