<?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: MCUXPresso IDE can't debug through JLINK in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756735#M9290</link>
    <description>I used the RT-UFL project to generate the Flash download algorithm. I tried the jlink script you mentioned, as well as some other scripts, but they didn't work. However, I was able to debug in Ozone, so I think it might be a problem with MCUXPresso IDE.</description>
    <pubDate>Tue, 14 Nov 2023 07:37:16 GMT</pubDate>
    <dc:creator>Vinos</dc:creator>
    <dc:date>2023-11-14T07:37:16Z</dc:date>
    <item>
      <title>MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756156#M9286</link>
      <description>&lt;P&gt;Hello everyone, I'm using MCUXPresso IDE to debug my program. Since the NOR Flash is connected to the Secondary group of FlexSPI1, I needed to modify the Flash download algorithm myself.&lt;/P&gt;&lt;P&gt;For DAP, I successfully modified the .cfx download algorithm file, and the program can be debugged through MCUXPresso IDE.&lt;/P&gt;&lt;P&gt;Recently, I started using JLINK for debugging, so I finished the corresponding Flash download algorithm file with the .FLM extension. I added a new device in the JLINK installation directory and used this download algorithm. After testing with J-Flash.exe, the algorithm successfully erases and writes the program.&lt;/P&gt;&lt;P&gt;Next, I used this new device in MCUXPresso IDE. After clicking "Debug," the program can be successfully downloaded to Flash (the program runs correctly from Flash after a reset without debugging). However, I cannot debug it within MCUXPresso IDE.it seems like the IDE doesn't recognize the program at address 0x30000000 and there's no disassembly code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249549iB6D9CD0E645B1FD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tried adding scripts in the configuration, but it hasn't been helpful.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249550i4D2D7B90870FD22C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did I miss any steps, and what should I do to debug with JLINK in MCUXPresso IDE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would greatly appreciate your response.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 09:02:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756156#M9286</guid>
      <dc:creator>Vinos</dc:creator>
      <dc:date>2023-11-13T09:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756642#M9288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215805"&gt;@Vinos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Which&amp;nbsp;&lt;SPAN&gt;Flash download algorithm you are using now?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Do you try the RT-UFL or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; I think you can try to modify the RT-UFL, and generate the flash algorithm, and use that jlinkscript.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1699937072296.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249659iF855CED3CCA7E287/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1699937072296.png" alt="kerryzhou_0-1699937072296.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*&lt;BR /&gt;* Copyright 2019-2020 NXP&lt;BR /&gt;* All rights reserved.&lt;BR /&gt;*&lt;BR /&gt;* SPDX-License-Identifier: BSD-3-Clause&lt;BR /&gt;*/&lt;/P&gt;
&lt;P&gt;void SetFlagInITCM()&lt;BR /&gt;{&lt;BR /&gt;MEM_WriteU32(0xFFFC, 0x5AA60FF0);&lt;/P&gt;
&lt;P&gt;JLINK_SYS_Report("J-Link script: 0x5AA60FF0 has been written to address 0xFFFC");&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;/* SetupTarget */&lt;BR /&gt;void SetupTarget(void) {&lt;/P&gt;
&lt;P&gt;SetFlagInITCM();&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;/* AfterResetTarget */&lt;BR /&gt;void AfterResetTarget(void) {&lt;/P&gt;
&lt;P&gt;SetFlagInITCM();&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;More details, please refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/13951686.html" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/13951686.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/14942574.html" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/14942574.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/15430619.html" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/15430619.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 04:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756642#M9288</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-14T04:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756735#M9290</link>
      <description>I used the RT-UFL project to generate the Flash download algorithm. I tried the jlink script you mentioned, as well as some other scripts, but they didn't work. However, I was able to debug in Ozone, so I think it might be a problem with MCUXPresso IDE.</description>
      <pubDate>Tue, 14 Nov 2023 07:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756735#M9290</guid>
      <dc:creator>Vinos</dc:creator>
      <dc:date>2023-11-14T07:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756774#M9291</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215805"&gt;@Vinos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your updated information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; so, the JLINKDevices.xml is also modified, right?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1699949581204.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249702iD6D2F190697F9214/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1699949581204.png" alt="kerryzhou_0-1699949581204.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In fact, to the default algorithm to debug the MIMRT1170-EVK with RT-UFL, that debug is working.&lt;/P&gt;
&lt;P&gt;Which mcuxpresso IDE version you are using? V11.8.0?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 08:17:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756774#M9291</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-14T08:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756843#M9292</link>
      <description>I added the information in JLINKDevices.xml like the image you provided, and also specified the link script. But it's no use. The IDE version I used is 11.8.&lt;BR /&gt;&lt;BR /&gt;This is the situation where my Flash is connected to the Secondary Group of FlexSPI1. In another board, my Flash is connected to the Primary Group of FlexSPI2. Same issue.</description>
      <pubDate>Tue, 14 Nov 2023 10:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1756843#M9292</guid>
      <dc:creator>Vinos</dc:creator>
      <dc:date>2023-11-14T10:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1757377#M9295</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215805"&gt;@Vinos&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, now your situation is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FlexSPI1 secondary pin group connect QSPI flash&lt;/P&gt;
&lt;P&gt;1. boots OK&lt;/P&gt;
&lt;P&gt;2. CMSIS DAP debug OK&lt;/P&gt;
&lt;P&gt;3. JLINK debug failed with mcuxpresso, right?&lt;/P&gt;
&lt;P&gt;Please check the private message to you, then give me the private message, thanks. As I lack the related platform to test it.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 07:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1757377#M9295</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-15T07:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1771034#M9359</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you please provide the solution?&lt;BR /&gt;As I am also facing this issue&lt;/P&gt;&lt;P&gt;I am also using HyperFlash for my custom with IMRT1176&lt;BR /&gt;I have the JLinkDevices.xml as mentioned above&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohail Rasool&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 19:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1771034#M9359</guid>
      <dc:creator>razools</dc:creator>
      <dc:date>2023-12-07T19:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1772898#M9369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181578"&gt;@razools&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you have any issues, you can create your own question post, then we will help you in your own question post, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You can refer to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT1170-Octal-flash-enablement/ta-p/1498369" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT1170-Octal-flash-enablement/ta-p/1498369&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pic 23&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;uncheck the item “Reset before running” in the debug configuration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 07:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1772898#M9369</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-12-12T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso IDE can't debug through JLINK</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1773932#M9373</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Your suggestions worked&lt;/P&gt;&lt;P&gt;However, I am facing a different issue now. Will post it on my question post&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 12:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-IDE-can-t-debug-through-JLINK/m-p/1773932#M9373</guid>
      <dc:creator>razools</dc:creator>
      <dc:date>2023-12-13T12:21:59Z</dc:date>
    </item>
  </channel>
</rss>

