IDE with support Secure JTAG

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

IDE with support Secure JTAG

2,203 Views
zlobniy
Contributor I

The document AN4686 is an example to work with Lauterbach Trace32, there are still some IDE with support Secure JTAG?

Is J-Link support Secure JTAG?

Labels (6)
0 Kudos
8 Replies

1,442 Views
igorpadykov
NXP Employee
NXP Employee

HI Andrey

according to segger forum

  http://forum.segger.com/index.php?page=Thread&threadID=1846FAQ

"In general, you can write an application with the J-Link SDK which implements

this "authentication" via the SJTAG unit and once this is done,

you should be able to perform operations via the regular debug interface via J-Link"

Also one can implement this using sdk

               

https://www.segger.com/jlink-sdk.html

Seems such solution can be used with any ide supporting cortex a9.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,442 Views
skxo
Contributor I

Dear Igor,

I would like to try to use j-link to connect imx6 using secure JTAG, but I have some concerns.

Presently, I am able to write scripts to set the attachment to the imx6 core 0 and the others, using jlinkGDBserver. It works fine.

But concerning Freescale Secure JTAG,  Seeger did not give any example of scripts and the different commands to send to the SJC are not described into the AN4686.pdf.

If you look Into the lauterbach scripts which perform the secure jtag, the script imx_attach_secured.cmm is encrypted. 

So you cannot use the lauterbach script to adapt on segger probe.

Do you think it is possible to obtain the complete sequence of commands to correctly get the challenge and send the response during this secure jtag authentication? 

Do you have any idea how to implement this challenge response mechanism?

Thanks by advance for your help. 

Francois

0 Kudos

1,442 Views
michael_galda
NXP Employee
NXP Employee

Hi Francois,

I have just found this thread.

Have you been able to make the Secure JTAG Challenge-Response sequence working with Segger J-Link or anything else?

I have to do the same. But I am bit lost, because it is really not documented!

Many thanks for your possible hints!

Kind regards,

Michael

0 Kudos

1,442 Views
joanvicient
Contributor II

Hi Francois,

Did you get your Secure JTAG working?

Igor, AN4686.pdf does not specify anything about times. The response key can be sent anytime?

I'm trying to connect an iMX6 Solo with Segger JTAG Plus. I cannot show unique ID. I've tried wjd and wjc commands (JLinkExe) without success.

If I programmed all 32 bits of OCOTP_HSJC_RESP1, high bits just does not matter or can it be a problem?

Thanks in advance for your help.

0 Kudos

1,442 Views
michael_galda
NXP Employee
NXP Employee

Hi Joan, Francois,

I have just found this thread.

Have you been able to make the Secure JTAG Challenge-Response sequence working with Segger J-Link or anything else?

I have to do the same. But I am bit lost, because it is really not documented!

Many thanks for your possible hints!

Kind regards,

Michael

0 Kudos

1,442 Views
skxo
Contributor I

Hi,

sorry about the delay. I just get a lauterbach probe and fix this job.

0 Kudos

1,442 Views
igorpadykov
NXP Employee
NXP Employee

ARM added support to this (AN4686) in DS-5 around version 5.15.

Best regards
igor

0 Kudos

1,442 Views
zlobniy
Contributor I

Hi Igor

Thanks for your reply.

Is there document that describes the procedure SJTAG?

0 Kudos