<?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>i.MX ProcessorsのトピックRe: SWD Debug / Jlink MIMXRT1172</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1518040#M194831</link>
    <description>&lt;P&gt;It is caused by Debug Mailbox, when soft reset is issued under Non-XIP boot mode, PC will always be stuck in 0x223104&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/15725966.html" target="_blank" rel="noopener"&gt;https://www.cnblogs.com/henjay724/p/15725966.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2022 01:14:17 GMT</pubDate>
    <dc:creator>jay_heng</dc:creator>
    <dc:date>2022-09-07T01:14:17Z</dc:date>
    <item>
      <title>SWD Debug / Jlink MIMXRT1172</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1517928#M194816</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On our customized board based on EVK RT1176_AA. We run into an unusual behavior for SWD debugging.&lt;/P&gt;&lt;P&gt;Our processor is RT1172_8A. We don’t use QSPI flash. Debugger is Segger Jlink Pluse. Speed is auto or 4000kHz.&lt;/P&gt;&lt;P&gt;I used Jlink commander and I found out that on the first connection I cant HALT the CPU but if I reconnect during the same session then try to HALT everything seems ok. This could be the reason for the error when I debug from MCUxpresso.&lt;/P&gt;&lt;P&gt;Any idea on what can be the cause for such behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_0-1662488666490.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192703i9CBAAF45764D40E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_0-1662488666490.png" alt="TM_MI_0-1662488666490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_1-1662488720774.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192704i304DF3B7EFA7479C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_1-1662488720774.png" alt="TM_MI_1-1662488720774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;second try&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_2-1662488757806.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192705iDAA553489F49C897/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_2-1662488757806.png" alt="TM_MI_2-1662488757806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;TM&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1517928#M194816</guid>
      <dc:creator>TM_MI</dc:creator>
      <dc:date>2022-09-06T18:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: SWD Debug / Jlink MIMXRT1172</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1518040#M194831</link>
      <description>&lt;P&gt;It is caused by Debug Mailbox, when soft reset is issued under Non-XIP boot mode, PC will always be stuck in 0x223104&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/15725966.html" target="_blank" rel="noopener"&gt;https://www.cnblogs.com/henjay724/p/15725966.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 01:14:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1518040#M194831</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2022-09-07T01:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: SWD Debug / Jlink MIMXRT1172</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1518687#M194887</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/40101"&gt;@jay_heng&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It is nice to see you answering some of my questions. I read some of your articles before. Great work.&lt;/P&gt;&lt;P&gt;It is strange that I am able to debug using JTAG (SWD didn't work) from mcuxpresso despite this issue, however the program doesn't seem to be executing (no blinking or change).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_0-1662572610008.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192889i3951EF3CD06EF0D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_0-1662572610008.png" alt="TM_MI_0-1662572610008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Going back to the problem, I read the article about this issue, I think the issue as you mentioned. PC is halted at 0x00223104 (both SWD Jtag) .&lt;/P&gt;&lt;P&gt;I don't know why I can load a nonXIP file using JTAG but no blinking after execution.&lt;/P&gt;&lt;P&gt;I attached the complete SWD and JTAG steps below. How to solve this issue since I don't have a QSPI flash on my board ?&lt;/P&gt;&lt;P&gt;Jtag:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_1-1662574248954.png" style="width: 249px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192890i76ECF03C6EEFE0A7/image-dimensions/249x455?v=v2" width="249" height="455" role="button" title="TM_MI_1-1662574248954.png" alt="TM_MI_1-1662574248954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SWD:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_2-1662574946905.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192891i1C7813EF36CAA42A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_2-1662574946905.png" alt="TM_MI_2-1662574946905.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_4-1662575017653.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192893iE98A58EF6BFC0938/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_4-1662575017653.png" alt="TM_MI_4-1662575017653.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_5-1662575036926.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192894iC629E21B582E49AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_5-1662575036926.png" alt="TM_MI_5-1662575036926.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 18:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1518687#M194887</guid>
      <dc:creator>TM_MI</dc:creator>
      <dc:date>2022-09-07T18:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: SWD Debug / Jlink MIMXRT1172</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1520659#M195040</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191436"&gt;@TM_MI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest this excellent blog, where you can see a part of your issue&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/15725966.html" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/15725966.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Have a good day&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 17:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1520659#M195040</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-09-12T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: SWD Debug / Jlink MIMXRT1172</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1520684#M195042</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195771"&gt;@CarlosGarabito&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I read the blog as it explains the issue but not solution.&lt;/P&gt;&lt;P&gt;I am trying to reconfigure the application to be able to debug using Jlink since I don't have a QSPI NOR memory.&lt;/P&gt;&lt;P&gt;I have a SEMC NAND which I was able to use with MCUBootUtility.&lt;/P&gt;&lt;P&gt;I would like to be able to debug using MCUxpressue and Jtage so I am looking for a way to reconfigure the application to have a nonxip with the NAND memory as the default flash ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 18:18:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1520684#M195042</guid>
      <dc:creator>TM_MI</dc:creator>
      <dc:date>2022-09-12T18:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: SWD Debug / Jlink MIMXRT1172</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1523198#M195236</link>
      <description>&lt;P&gt;You can check this thread &lt;A href="https://community.nxp.com/t5/i-MX-Processors/MIMXRT-1176-SEMC-NAND-Config/m-p/1518034#M194829" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/MIMXRT-1176-SEMC-NAND-Config/m-p/1518034#M194829&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 22:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1523198#M195236</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-09-15T22:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: SWD Debug / Jlink MIMXRT1172</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1524380#M195322</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195771"&gt;@CarlosGarabito&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This thread was created by me. I was able to verify the board with the Blinky example 0x00002000.src from Mcubootutility apps file.&lt;/P&gt;&lt;P&gt;Now I a trying to generate my .s19 file from mcuxpresso. I followed this link to modify the code to work with SEMC NAND&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/12591382.html" target="_blank" rel="noopener"&gt;https://www.cnblogs.com/henjay724/p/12591382.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As you can see from picture I still get an error even after changing the vector table starting address.&lt;/P&gt;&lt;P&gt;If I choose to link the program to RAM from properties I get a different error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_0-1663600169574.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194142i9D2A85FD813FA6F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_0-1663600169574.png" alt="TM_MI_0-1663600169574.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_1-1663600223501.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194143i608954BAB8CE874A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_1-1663600223501.png" alt="TM_MI_1-1663600223501.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_2-1663600571451.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194146i5DF04E6E7BBFE9E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_2-1663600571451.png" alt="TM_MI_2-1663600571451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when linked to RAM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TM_MI_0-1663601305650.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194147i74AD29C7FDBC0F02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TM_MI_0-1663601305650.png" alt="TM_MI_0-1663601305650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;TM&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 15:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SWD-Debug-Jlink-MIMXRT1172/m-p/1524380#M195322</guid>
      <dc:creator>TM_MI</dc:creator>
      <dc:date>2022-09-19T15:28:44Z</dc:date>
    </item>
  </channel>
</rss>

