<?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>LPC Microcontrollers中的主题 LPC54018JxM:XIP erase and program internal SPIFI Flash</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-XIP-erase-and-program-internal-SPIFI-Flash/m-p/989992#M38973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Attached demo&amp;nbsp;is sample project to show how to&amp;nbsp;erase and program LPC54018JxM’s internal flash&lt;SPAN&gt;(embedded 2MB/4MB W25Q Flash)&amp;nbsp; through SPIFI0 interface.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; As we know&amp;nbsp; LPC54018JxM:XIP(Run-time instruction) and data fetches from SPIFI flash.&amp;nbsp;SPIFI commands using the SPIFI CMD register are not allowed while fetching instructions (XIP mode) or data from SPIFI flash. Code required for sending SPIFI&amp;nbsp;commands that use the SPIFI CMD register must be located in on-chip SRAM.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; In order to run code from on-chip SRAM, the KEIL&amp;nbsp;&lt;SPAN style="color: #58585a; background-color: #ffffff;"&gt;scatter file was modified, placed the SPIFI program code into internal RAM at 0x20000000. At startup,&amp;nbsp;there is a automatism to&amp;nbsp;load the code into the RAM.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #58585a; "&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The demo is based on&amp;nbsp;SDK_2.6.0_LPC54018M\boards\lpcxpresso54s018m\demo_apps\hello_world_qspi_xip&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #58585a; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95297i16391EEDE892A68C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #58585a; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95341i79CCF0670FD25D04/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2019 09:30:43 GMT</pubDate>
    <dc:creator>shaozhongliangs</dc:creator>
    <dc:date>2019-11-29T09:30:43Z</dc:date>
    <item>
      <title>LPC54018JxM:XIP erase and program internal SPIFI Flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-XIP-erase-and-program-internal-SPIFI-Flash/m-p/989992#M38973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Attached demo&amp;nbsp;is sample project to show how to&amp;nbsp;erase and program LPC54018JxM’s internal flash&lt;SPAN&gt;(embedded 2MB/4MB W25Q Flash)&amp;nbsp; through SPIFI0 interface.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; As we know&amp;nbsp; LPC54018JxM:XIP(Run-time instruction) and data fetches from SPIFI flash.&amp;nbsp;SPIFI commands using the SPIFI CMD register are not allowed while fetching instructions (XIP mode) or data from SPIFI flash. Code required for sending SPIFI&amp;nbsp;commands that use the SPIFI CMD register must be located in on-chip SRAM.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; In order to run code from on-chip SRAM, the KEIL&amp;nbsp;&lt;SPAN style="color: #58585a; background-color: #ffffff;"&gt;scatter file was modified, placed the SPIFI program code into internal RAM at 0x20000000. At startup,&amp;nbsp;there is a automatism to&amp;nbsp;load the code into the RAM.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #58585a; "&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The demo is based on&amp;nbsp;SDK_2.6.0_LPC54018M\boards\lpcxpresso54s018m\demo_apps\hello_world_qspi_xip&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #58585a; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95297i16391EEDE892A68C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #58585a; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95341i79CCF0670FD25D04/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 09:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-XIP-erase-and-program-internal-SPIFI-Flash/m-p/989992#M38973</guid>
      <dc:creator>shaozhongliangs</dc:creator>
      <dc:date>2019-11-29T09:30:43Z</dc:date>
    </item>
  </channel>
</rss>

