MPC5744P Censorship programing with Lauterbach

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5744P Censorship programing with Lauterbach

MPC5744P Censorship programing with Lauterbach

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.

185852_185852.pngpastedImage_2.png

 

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 0x00400310 %QUAD 0x1234567801000004 ;NVPWDL                                                        
   data.set 0x00400318 %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:

185853_185853.pngpastedImage_5.png

 

Peter

Original Attachment has been moved to: MPC5744P_DCF_Censorship.cmm.zip

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1113543%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMPC5744P%20Censorship%20programing%20with%20Lauterbach%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1113543%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20device%20can%20be%20secured%20by%20adding%20a%20Non-Volatile%20System%20Censorship%20Information%20(NVSCI)%20record%20to%20the%20DCF%20record%20list%20in%20the%20UTEST%20Flash%20block.%3C%2FP%3E%3CP%3EA%20value%20of%2055AAh%20in%20the%20censorship%20control%20word%20of%20the%20NVSCI%20record%20determines%20that%20the%20device%20is%20unsecured%2C%20any%20other%20value%20determines%20that%20the%20device%20is%20secured.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22185852_185852.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22185852_185852.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118252iB1BEC87E8239F949%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22185852_185852.png%22%20alt%3D%22185852_185852.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F22538i23CC4D238D28321F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_2.png%22%20alt%3D%22pastedImage_2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ECensoring%20the%20device%20(example%20for%20lauterbach%20script)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E1.%20Program%20NVSCI%20DCF%20record%20to%20first%20available%20space%20in%20UTEST%20memory.%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bdata.set%200x00400308%20%25QUAD%200x55AA12340100000C%20%3BNVSCI%20-%20Censorship%20Control%20enabled%3C%2FP%3E%3CP%3E2.%20Program%20Censorship%20password%20(0x1234567812345678)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20data.set%200x00400310%20%25QUAD%200x1234567801000004%20%3BNVPWDL%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20data.set%200x00400318%20%25QUAD%200x1234567801000008%20%3BNVPWDH%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E3.%20Perform%20reset%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20the%20device%20is%20censored%20and%20JTAG%20PASSWORD%20must%20be%20inserted%20in%20order%20to%20work%20with%20JTAG.%3C%2FP%3E%3CP%3ELauterbach%20-%26gt%3B%26nbsp%3B%26nbsp%3B%20sys.option.keycode%200x1234567812345678%3C%2FP%3E%3CP%3Esys.attach%3C%2FP%3E%3CP%3Esys.break%3C%2FP%3E%3CP%3EThe%20device%20is%20now%20accessible%20trough%20JTAG.%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%22%20After%20every%20reset%20the%20JTAG%20PASSWORD%20key%20must%20be%20reentered%20on%20censored%20device%20%22%3C%2FEM%3E%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EUncensoring%20device%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Edata.set%200x004003018%20%25QUAD%200x55AA55AA0100000C%20%3BNVSCI%20-%20Censorship%20Control%20disabled%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20style%3D%22text-align%3A%20center%3B%22%3ENOTE%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22185853_185853.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22185853_185853.png%22%20style%3D%22width%3A%20622px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118253i19CB7E63708163B3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22185853_185853.png%22%20alt%3D%22185853_185853.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_5.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_5.png%22%20style%3D%22width%3A%20622px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F111160iC8A48D71F4906C5B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_5.png%22%20alt%3D%22pastedImage_5.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPeter%3C%2FP%3E%3CP%3E%3CSTRONG%3EOriginal%20Attachment%20has%20been%20moved%20to%3A%20%3CA%20_jive_internal%3D%22true%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-339463%22%20target%3D%22_blank%22%3EMPC5744P_DCF_Censorship.cmm.zip%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎06-01-2017 04:38 AM
Updated by: