Example MPC5644A Censorship CW210

File uploaded by David Tosenovjan Employee on Sep 6, 2016Last modified by Diana Torres on Feb 24, 2017
Version 4Show 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 MPC5644A. 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 describes how to access censored device via JTAG with using of PeMicro or Lauterbach debugger:

 

1) MPC5644A-Censor_device-CW210:

********************************************************************************
* Detailed Description:
* The example code re-programs content of shadow flash to enable censorship.
* Succesful operation is confirmed by notices in terminal window on eSCI_A
* (19200-8-no parity-1 stop bit-no flow control).
* After power-on-reset the device is censored with private password
* 0xFEED_FACE_CAFE_BEEF. Subsequently the access can be allowed by enabling
* debug of censored device as decipted in attached pdf document. Shadow flash
* re-programming code must be executed from internal RAM.
* ------------------------------------------------------------------------------

 

2) MPC5644A-Uncensor_device-CW210:

********************************************************************************
* Detailed Description:
* Supposing the device is censored by example MPC5644A-Censor_device-CW210
* Firstly it is needed to enabled debug of censored device as decipted in
* attached pdf document. Programmed password is 0xFEED_FACE_CAFE_BEEF.
* MPC5644A_run_from_ram.cmm script does it by command
* SYStem.option.keycode 0xFEEDFACECAFEBEEF.
* Then run this code to uncensor the device. Succesful operation is confirmed by
* notices in terminal window on eSCI_A (19200-8-no parity-1 stop bit-no flow
* control). 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