<?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のトピックRe: LPC54S018JxM Internal SPIFI flash write problem</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018JxM-Internal-SPIFI-flash-write-problem/m-p/2093059#M58170</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/35851"&gt;@definium&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please try using the following example code to erase and program the internal flash of the LPC54018JxM:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-XIP-erase-and-program-internal-SPIFI-Flash/m-p/989992" target="_blank"&gt;LPC54018JxM:XIP erase and program internal SPIFI Flash - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2025 18:29:37 GMT</pubDate>
    <dc:creator>EdwinHz</dc:creator>
    <dc:date>2025-05-07T18:29:37Z</dc:date>
    <item>
      <title>LPC54S018JxM Internal SPIFI flash write problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018JxM-Internal-SPIFI-flash-write-problem/m-p/2092878#M58167</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have just updated the flashless LPC54S018 MCU on some existing boards. A new batch is.&lt;/P&gt;&lt;P&gt;I am now using the parts with the internal serial flash, the J4M variant.&lt;/P&gt;&lt;P&gt;The boards can be configured to run with either internal or external QSPI flash and both configurations works when I program them using a debug tool like MCUXpresso.&lt;/P&gt;&lt;P&gt;I also have a DFU based bootloader that I use for production programming. That works fine as well but only with boards configured for external flash.&lt;/P&gt;&lt;P&gt;Writing to internal flash fails however.&lt;/P&gt;&lt;P&gt;As far as I can tell the internal flash is a Winbond W25Q part. So there should be no difference between the configurations.&lt;/P&gt;&lt;P&gt;The bootloader code is based on the polling spifi example from the SDK.&lt;/P&gt;&lt;P&gt;It turns out that the example have the same issue, i.e. it works fine with external flash but fails when using internal flash.&lt;/P&gt;&lt;P&gt;Just wondering if anyone has a clue if there is some subtle initialization detail that I am missing when using internal flash.&lt;/P&gt;&lt;P&gt;I must be missing something as internal flash is definitely working and the JLink Flash driver can clearly load code.&lt;/P&gt;&lt;P&gt;Best Regard,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 14:27:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018JxM-Internal-SPIFI-flash-write-problem/m-p/2092878#M58167</guid>
      <dc:creator>definium</dc:creator>
      <dc:date>2025-05-07T14:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018JxM Internal SPIFI flash write problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018JxM-Internal-SPIFI-flash-write-problem/m-p/2093059#M58170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/35851"&gt;@definium&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please try using the following example code to erase and program the internal flash of the LPC54018JxM:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018JxM-XIP-erase-and-program-internal-SPIFI-Flash/m-p/989992" target="_blank"&gt;LPC54018JxM:XIP erase and program internal SPIFI Flash - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 18:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018JxM-Internal-SPIFI-flash-write-problem/m-p/2093059#M58170</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-05-07T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018JxM Internal SPIFI flash write problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018JxM-Internal-SPIFI-flash-write-problem/m-p/2094904#M58174</link>
      <description>&lt;P&gt;Hi Edwin,&lt;/P&gt;&lt;P&gt;Neither the example in the link you sent or the lpcxpresso54S018m_spifi_polling_transfer example from the SDK work.&lt;/P&gt;&lt;P&gt;I created a very simple test program to try to isolate the issue. I have attached the code.&lt;/P&gt;&lt;P&gt;It works fine when my board is configured with external flash (W25Q128) but fails with the internal flash which my code&lt;BR /&gt;reports with a JEDEC ID of 0xef4016 (W25Q32JVIQ).&lt;/P&gt;&lt;P&gt;I know both configuration actually work as I can download code with MCUXpresso in either configuration but erasing and writing to internal flash from my SRAM based bootloader or the test code below fails.&lt;/P&gt;&lt;P&gt;I still cannot figure out what the issue is. Hopefully someone else can shed some light.&lt;/P&gt;&lt;P&gt;Can anyone confirm if they have been able to get the SDK spifi examples working on a part with internal serial flash.&lt;BR /&gt;&lt;BR /&gt;I am using the LPC54S018J4M.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 10 May 2025 14:35:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018JxM-Internal-SPIFI-flash-write-problem/m-p/2094904#M58174</guid>
      <dc:creator>definium</dc:creator>
      <dc:date>2025-05-10T14:35:50Z</dc:date>
    </item>
  </channel>
</rss>

