HI Andrey
according to segger forum
http://forum.segger.com/index.php?page=Thread&threadID=1846 | FAQ |
"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
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!
-----------------------------------------------------------------------------------------------------------------------
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
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
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.
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
Hi,
sorry about the delay. I just get a lauterbach probe and fix this job.
ARM added support to this (AN4686) in DS-5 around version 5.15.
Best regards
igor
Hi Igor
Thanks for your reply.
Is there document that describes the procedure SJTAG?