<?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: How to JTAG debug iMX8mq? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1499344#M193297</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/91387"&gt;@matthewcampbell&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I am also looking for a jtag debugger for IMX 8M Mini. I found out that SEGGER do not support Cortex A53 of the processor and that it is what I need; I need to debug a Linux project. However, I see that you were able to get that working with OpenOCD. But I have a question. Can I debug multi threads (analyze multi parallelism)?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 07:49:02 GMT</pubDate>
    <dc:creator>HAA</dc:creator>
    <dc:date>2022-08-02T07:49:02Z</dc:date>
    <item>
      <title>How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837227#M128487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to bring up a custom board with an iMX8mq on it. We are having issues and I was looking to use JTAG to try and see what's going on. In the past on iMX6 we have used the SEGGER j-link Base with good success, but from their website it looks like they don't support any ARMv8 cores at this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple questions:&lt;/P&gt;&lt;P&gt;1) Has anyone got the j-link Base working with an iMX8 (cortex-a53 specifically). It looks like I might be able to use OpenOCD for this, but I am unsure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Is there another recommended JTAG debugger I can buy that supports the iMX8mq?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 13:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837227#M128487</guid>
      <dc:creator>matthewcampbell</dc:creator>
      <dc:date>2018-07-20T13:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837228#M128488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look on&lt;/P&gt;&lt;P&gt;IDE - Debug, Compile and Build Tools (2)&lt;BR /&gt;SDK_2.3_MX8MQ_Beta_Patch(REV SDK2.3_MX8MQ_Beta)&lt;BR /&gt;(NXP provided IAR and Segger tool patch to support i.MX8MQuad device)&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/evaluation-kit-for-the-i.mx-8m-applications-processor:MCIMX8M-EVK?tab=Design_Tools_Tab" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/evaluation-kit-for-the-i.mx-8m-applications-processor:MCIMX8M-EVK?tab=Design_Tools_Tab"&gt;i.MX 8M Evaluation Kit|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for A53 supported &amp;nbsp;Lauterbach and ARM DS-5, for OpenOCD one can look at a53 support on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://fatalfeel.blogspot.com/2015/12/openocd-with-eclipse-debug-kernel-of.html" title="http://fatalfeel.blogspot.com/2015/12/openocd-with-eclipse-debug-kernel-of.html"&gt;Programming Guide: OpenOCD + Eclipse + Jtag debug on Uboot &amp;amp; Linux&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 23:33:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837228#M128488</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-20T23:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837229#M128489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although J-Link doesn't officially support any ARMv8 cores with their software, I was able to get things working with OpenOCD. Also, I got this going with the J-Link base which is the cheapest J-link adapter. Here is what I did:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Compile latest OpenOCD from source, make sure to use --enable-jlink when doing ./configure&lt;UL&gt;&lt;LI&gt;used this GitHub mirror:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/ntfreak/openocd" title="https://github.com/ntfreak/openocd"&gt;GitHub - ntfreak/openocd: Spen's Official OpenOCD Mirror (no pull requests)&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;run OpenOCD with Jlink connected to your PC and the target device. Unless you set up udev rules for the Jlink, you'll need to run as root&lt;UL&gt;&lt;LI&gt;sudo openocd -f interface/jlink.cfg -f&amp;nbsp;board/nxp_mcimx8m-evk.cfg&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Run gdb and connect. In my case I'm using a Yocto SDK, so make to source the SDK first if that's what you're doing. Once in gdb you need to connect.&lt;UL&gt;&lt;LI&gt;# $GDB&lt;/LI&gt;&lt;LI&gt;(gdb) target remote localohst:3333&lt;/LI&gt;&lt;LI&gt;info reg&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;That should do it. Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2018 12:24:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837229#M128489</guid>
      <dc:creator>matthewcampbell</dc:creator>
      <dc:date>2018-07-21T12:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837230#M128490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor, thanks for the reply. OpenOCD paired with my existing J-Link seems to have been the answer. I'm surprised Segger doesn't officially support ARMv8 with their software considering it has been in the market more more than 5 years. Either way, I posted another answer in this thread on how to use the Segger J-link Base with OpenOCD to debug the iMX8mq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2018 12:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/837230#M128490</guid>
      <dc:creator>matthewcampbell</dc:creator>
      <dc:date>2018-07-21T12:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1150819#M161491</link>
      <description>&lt;P&gt;the gdb connect command should be:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(gdb) target extended-remote localhost:3333&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note the "extended".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 05:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1150819#M161491</guid>
      <dc:creator>lcameron</dc:creator>
      <dc:date>2020-09-09T05:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1222539#M168572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/91387"&gt;@matthewcampbell&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are facing an issue while interfacing JTAG with i.MX8MQ. We are following steps as mentioned in this post (cloned and compiled openocd) and we are able to detect the Core. However, we are not able to set the breakpoints. I have raised &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Enabling-JTAG-for-i-MX8MQ/m-p/1222220#M168523" target="_self"&gt;this&lt;/A&gt; post with a detailed query. Can you please have a look and provide some approaches?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:12:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1222539#M168572</guid>
      <dc:creator>kunalkotecha1</dc:creator>
      <dc:date>2021-01-28T09:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1222712#M168596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/124812"&gt;@kunalkotecha1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Unfortunately that project with the iMX.8 has since been cancelled and I haven't done any more work with the J-LINK and ARMv8 since then. I can't remember if I got breakpoints working or not in the first place, I was using J-LINK to load U-Boot in early board bring up. Sorry I couldn't be of more help, but if you find a solution please post it here for posterity.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 14:34:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1222712#M168596</guid>
      <dc:creator>matthewcampbell</dc:creator>
      <dc:date>2021-01-28T14:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to JTAG debug iMX8mq?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1499344#M193297</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/91387"&gt;@matthewcampbell&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I am also looking for a jtag debugger for IMX 8M Mini. I found out that SEGGER do not support Cortex A53 of the processor and that it is what I need; I need to debug a Linux project. However, I see that you were able to get that working with OpenOCD. But I have a question. Can I debug multi threads (analyze multi parallelism)?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 07:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-JTAG-debug-iMX8mq/m-p/1499344#M193297</guid>
      <dc:creator>HAA</dc:creator>
      <dc:date>2022-08-02T07:49:02Z</dc:date>
    </item>
  </channel>
</rss>

