JTAG lock in MPC5744P

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

JTAG lock in MPC5744P

2,646 Views
tom_cruise_234
Contributor II

how to lock the JTAG in MPC5744p, what are the methods avaliable to Lock the JTAG ? 

Is there any register avaliable to Lock the JTAG?

Tags (3)
0 Kudos
Reply
10 Replies

2,616 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Here you may find procedure how to perform censorship with Lauterbach debugger:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5744P-Censorship-programing-with-Lauterbach/t...

 

0 Kudos
Reply

2,598 Views
tom_cruise_234
Contributor II

I am using UDE 4.6 debugger.

Any script from UDE will be more helpful

0 Kudos
Reply

2,569 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Unfortunately we don't have any experience with this debugger. I would recommend to contact PLS support:

https://www.pls-mc.com/contact/

 

0 Kudos
Reply

2,564 Views
tom_cruise_234
Contributor II

Thank you .I have flashed the DCF records in UTEST flash memory instead of script.

tom_cruise_234_0-1656339785254.png

After flashing this hex file the DCF records are set and password is 0x1234567812345678, 

when i reseted and tried to access the JTAG its not working, any other special procedure to unlock apart from above password. ?

 

0 Kudos
Reply

2,553 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

The debugger should be capable to enter the password similar way as procedure below:

"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."

Please consult with your debugger's provider documentation or their support.

 

 

0 Kudos
Reply

2,532 Views
tom_cruise_234
Contributor II

As per my understanding modification of DCF records in UTEST flash memory is not possible.

is it atleast possible to read the memory location ?

can it be possible to access the DCF records using pointer?

0 Kudos
Reply

2,493 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Modification is not possible, but you may write new record after last record, if the ID is the same, last entry is valid one (of course you must be able to access the device).

0 Kudos
Reply

2,626 Views
tom_cruise_234
Contributor II

tom_cruise_234_0-1656047521955.png

 

where can i find security documentation?

how to enable JTAG_password instruction?

 

 

0 Kudos
Reply

2,617 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am afraid no security documentation exist for the device. It is apparently relic form other manual. I have reported this to application team as a typo.

 

Pay attention to MPC5744PRM, Rev. 6.1, 10/2017, Page 208, 2.32.1 Unsecuring the microcontroller:

https://www.nxp.com/webapp/Download?colCode=MPC5744PRM

 

For JTAG_PASSWORD register description see

61.3.5 JTAG_PASSWORD register

 

In general I would point out following appnote:

https://www.nxp.com/docs/en/application-note/AN4365.pdf

 

Also following examples could be useful:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-JTAG-access-Addendum-to-application-note...

 

If your question in related to specific debugger use, I would recommend to consult with debugger’s provider or support.

0 Kudos
Reply

2,637 Views
tom_cruise_234
Contributor II

If anybody support on this topic will be very helpful

Tags (3)
0 Kudos
Reply