<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JTAG_SMODE to secure and SWD (E-XIP) in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866508#M2073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="338661" data-username="leonardos@beegroove.com" href="https://community.nxp.com/people/leonardos@beegroove.com"&gt;leonardo salvatore&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;Q1) Will it make possible to use the challenge/response mechanism with SWD?&lt;BR /&gt;-- Actually, I'm very clear with the question, whether you can clarify it.&lt;BR /&gt;Q2) Does it work only with JTAG so I need to disable the SWD entirely?&lt;BR /&gt;-- Yes, you can disable the SWD mode by setting the DAP_SJC_SWD_SEL bit.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_17.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67079i99741E8D5447975D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_17.png" alt="pastedImage_17.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Fig 1&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2019 06:28:59 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2019-04-01T06:28:59Z</dc:date>
    <item>
      <title>JTAG_SMODE to secure and SWD (E-XIP)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866507#M2072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm settings up the security on a iMXRT1051 custom board, also tested on the IMXRT1050 EVKB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The build is a FreeRTOS firmware and can proudly say that is running in EXIP (Encrypted eXecution In Place) flashed in a QSPI NOR. So, to recap the BEE is configured but I didn't touch anything to HAB or Central Secure Unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything was fine but I was going to close the board and securing the debugging ports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading IMXRT1051SRM_rev1 and the AN4686 documents I was planning to enable the Secure JTAG mode fusing the&amp;nbsp; JTAG_SMODE to 01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will it make possible to use the challenge/response mechanism with SWD?&lt;/P&gt;&lt;P&gt;Does it work only with JTAG so I need to disable the SWD entirely?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 14:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866507#M2072</guid>
      <dc:creator>leonardos1</dc:creator>
      <dc:date>2019-03-29T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG_SMODE to secure and SWD (E-XIP)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866508#M2073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="338661" data-username="leonardos@beegroove.com" href="https://community.nxp.com/people/leonardos@beegroove.com"&gt;leonardo salvatore&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;Q1) Will it make possible to use the challenge/response mechanism with SWD?&lt;BR /&gt;-- Actually, I'm very clear with the question, whether you can clarify it.&lt;BR /&gt;Q2) Does it work only with JTAG so I need to disable the SWD entirely?&lt;BR /&gt;-- Yes, you can disable the SWD mode by setting the DAP_SJC_SWD_SEL bit.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_17.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67079i99741E8D5447975D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_17.png" alt="pastedImage_17.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Fig 1&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 06:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866508#M2073</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-04-01T06:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG_SMODE to secure and SWD (E-XIP)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866509#M2074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Let me be more clear here.&lt;/P&gt;&lt;P&gt;I know how to use secure jtag with other boards lautherbach and OpenoOCD sending custom shift commands for challenge/response handshake.&lt;/P&gt;&lt;P&gt;But I'm new to imxrt and swd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1.&lt;/P&gt;&lt;P&gt;The custom PCB I'm working with has only SWD.&lt;/P&gt;&lt;P&gt;Is it possible to secure it with the Secure JTAG?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q2.&lt;/P&gt;&lt;P&gt;Sure I have done on the EVKB and is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 08:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866509#M2074</guid>
      <dc:creator>leonardos1</dc:creator>
      <dc:date>2019-04-01T08:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG_SMODE to secure and SWD (E-XIP)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866511#M2076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P lang="x-none" style="margin-left: 0.5in; margin-top: 0.08in; margin-bottom: 0.06in;"&gt;&lt;SPAN style="font-family: Times New Roman, serif;"&gt;Thank you Micheal, &lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="x-none" style="margin-left: 0.5in; margin-top: 0.08in; margin-bottom: 0.06in;"&gt;&lt;SPAN style="font-family: Times New Roman, serif;"&gt;I finally had chance to test what I have done on the customer PCB and the EVKB. &lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="x-none" style="margin-bottom: 0.04in; line-height: 0.19in;"&gt;To switch to JTAG and secure it I was missing the&amp;nbsp; &lt;SPAN style="font-size: medium; font-family: TimesNewRoman, serif; "&gt;&lt;SPAN lang="en-US"&gt;KTE_FUSE to me wasn't crystal clear in the documentaion.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: medium; font-family: Times New Roman, serif; "&gt;What I'm missing now is the very last step, means communicate with the JTAG state machine to read the Challenge and send back the matching Response using the Segger/JLink script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: medium; font-family: Times New Roman, serif; "&gt;I was planning to use the chapter 4.1 of the document you share, unfortunately I cannot find this file to download.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; font-size: medium; font-family: Times New Roman, serif; "&gt;If you wish to navigate to these scripts from Lauterbach’s main page for reference, they are located&lt;SPAN lang="en-US"&gt; &lt;/SPAN&gt;under &lt;SPAN style="font-family: TimesNewRoman, Italic, serif;"&gt;“Support” - “Download Center” - “Start-UpScripts” &lt;/SPAN&gt;at &lt;SPAN style="font-family: TimesNewRoman, Italic, serif;"&gt;“arm” - “imxrt” &lt;/SPAN&gt;&lt;SPAN style="font-family: TimesNewRoman, Italic, serif;"&gt;&lt;SPAN lang="en-US"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: TimesNewRoman, Italic, serif;"&gt;“secure-jtag”&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 11:37:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866511#M2076</guid>
      <dc:creator>leonardos1</dc:creator>
      <dc:date>2019-04-02T11:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG_SMODE to secure and SWD (E-XIP)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866512#M2077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally it worked, Secure JTAG works with an EXIP image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SWD is not duable you have to switch the chip to JTAG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 05:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866512#M2077</guid>
      <dc:creator>leonardos1</dc:creator>
      <dc:date>2019-04-09T05:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG_SMODE to secure and SWD (E-XIP)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866513#M2078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leonardo,&lt;/P&gt;&lt;P&gt;Thanks for confirmation.&lt;/P&gt;&lt;P&gt;This is exactly what I saw before.&lt;/P&gt;&lt;P&gt;Attached is the AppNote draft, describing the usage with Segger JLink (instead of the Lauterbach)&lt;/P&gt;&lt;P&gt;The AN will be released soon. If you see anything wrong or unclear, correct me, please.&lt;/P&gt;&lt;P&gt;Thanks for cooperation,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 08:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-SMODE-to-secure-and-SWD-E-XIP/m-p/866513#M2078</guid>
      <dc:creator>michael_galda</dc:creator>
      <dc:date>2019-04-10T08:41:38Z</dc:date>
    </item>
  </channel>
</rss>

