<?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: LPC54018JxM debugging internal flash example for Keil MDK-ARM in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-debugging-internal-flash-example-for-Keil-MDK-ARM/m-p/1352943#M46685</link>
    <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/32061" target="_self" aria-label="View Profile of ChrisN"&gt;&lt;SPAN class=""&gt;ChrisN&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;You can refer to the XIP demos under SDK, for example hello_world_qspi_xip.&lt;/P&gt;
&lt;P&gt;Add spifi programming algorithm in Flash Download:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1633746268334.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158667i89F11CAAFCE72730/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1633746268334.png" alt="Alice_Yang_0-1633746268334.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If use J-link debugger,&amp;nbsp; configure as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1633746345872.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158668iF54F9FF8ADD4F434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1633746345872.png" alt="Alice_Yang_1-1633746345872.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About the two SPIFI flash, you can check their datasheet, and try to use. If there is no problem when using MCUXpresso IDE, It also should be work with KEIL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Oct 2021 02:27:42 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2021-10-09T02:27:42Z</dc:date>
    <item>
      <title>LPC54018JxM debugging internal flash example for Keil MDK-ARM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-debugging-internal-flash-example-for-Keil-MDK-ARM/m-p/1352169#M46657</link>
      <description>&lt;P&gt;I have to port an application to this chip that has on-chip SPIFI flash. There are MCUX example that work fine on my board and I can debug from flash. But none of the examples for this chip for MDK-ARM does that, not the ones in the SDK nor the ones in the Keil packs. They all use a debug init file jlink_sramx_debug.ini for debugging from RAM, and don't seem to program the flash.&lt;/P&gt;&lt;P&gt;Also, the SPIFI descriptors in the startup only include the W25Q128JVFM and I don't know if that's a good fit for the on-chip W25Q32JV-DTR.&lt;/P&gt;&lt;P&gt;Am I missing something? Is there an example for Keil that does XIP debugging?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 23:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-debugging-internal-flash-example-for-Keil-MDK-ARM/m-p/1352169#M46657</guid>
      <dc:creator>ChrisN</dc:creator>
      <dc:date>2021-10-07T23:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018JxM debugging internal flash example for Keil MDK-ARM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-debugging-internal-flash-example-for-Keil-MDK-ARM/m-p/1352943#M46685</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/32061" target="_self" aria-label="View Profile of ChrisN"&gt;&lt;SPAN class=""&gt;ChrisN&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;You can refer to the XIP demos under SDK, for example hello_world_qspi_xip.&lt;/P&gt;
&lt;P&gt;Add spifi programming algorithm in Flash Download:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1633746268334.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158667i89F11CAAFCE72730/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1633746268334.png" alt="Alice_Yang_0-1633746268334.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If use J-link debugger,&amp;nbsp; configure as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1633746345872.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158668iF54F9FF8ADD4F434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1633746345872.png" alt="Alice_Yang_1-1633746345872.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About the two SPIFI flash, you can check their datasheet, and try to use. If there is no problem when using MCUXpresso IDE, It also should be work with KEIL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 02:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-debugging-internal-flash-example-for-Keil-MDK-ARM/m-p/1352943#M46685</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-10-09T02:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018JxM debugging internal flash example for Keil MDK-ARM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-debugging-internal-flash-example-for-Keil-MDK-ARM/m-p/1353707#M46724</link>
      <description>&lt;P&gt;Thank you, Alice. Somehow I had missed these examples and they should be a good starting point.&lt;/P&gt;&lt;P&gt;Something rather important seems to be also this linker setting to make sure that the application is in fact linked to the flash memory:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisN_0-1633981821371.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158805i9C5657746E2D4FC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisN_0-1633981821371.png" alt="ChrisN_0-1633981821371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 19:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-debugging-internal-flash-example-for-Keil-MDK-ARM/m-p/1353707#M46724</guid>
      <dc:creator>ChrisN</dc:creator>
      <dc:date>2021-10-11T19:50:56Z</dc:date>
    </item>
  </channel>
</rss>

