MPC5744P Censorship programing with Lauterbach

Document created by Peter Vlna Employee on Jun 1, 2017
Version 1Show Document
  • View in full screen mode

The device can be secured by adding a Non-Volatile System Censorship Information (NVSCI) record to the DCF record list in the UTEST Flash block.

A value of 55AAh in the censorship control word of the NVSCI record determines that the device is unsecured, any other value determines that the device is secured.

 

Censoring the device (example for lauterbach script)

1. Program NVSCI DCF record to first available space in UTEST memory.

   data.set 0x00400308 %QUAD 0x55AA12340100000C ;NVSCI - Censorship Control enabled

2. Program Censorship password (0x1234567812345678)

   data.set 0x00400308 %QUAD 0x1234567801000004 ;NVPWDL                                                        
   data.set 0x00400310 %QUAD 0x1234567801000008 ;NVPWDH   

3. Perform reset

 

Now the device is censored and JTAG PASSWORD must be inserted in order to work with JTAG.

Lauterbach ->   sys.option.keycode 0x1234567812345678

sys.attach

sys.break

The device is now accessible trough JTAG.

 

" After every reset the JTAG PASSWORD key must be reentered on censored device "

 

Uncensoring device:

data.set 0x004003018 %QUAD 0x55AA55AA0100000C ;NVSCI - Censorship Control disabled

 

NOTE:

 

Peter

Outcomes