<?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: LPCXpresso546xx EXTSPI driver error in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/2297417#M59229</link>
    <description>&lt;P&gt;Hi everybody,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;3.5 years later, exactly the same problem here.&lt;/P&gt;&lt;P&gt;Suddenly, the SPIFI driver reported an error at address 0x2290 and wasn't able to mass erase.&lt;/P&gt;&lt;P&gt;I found this thread, changed the used driver from SFDP to generic and - voila.&lt;/P&gt;&lt;P&gt;Had been using the board for over a year without any problem.&lt;/P&gt;&lt;P&gt;Any idea what's causing this?&lt;/P&gt;&lt;P&gt;Thanks for the solution, by the way.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jan 2026 13:13:18 GMT</pubDate>
    <dc:creator>hfuhruhurr</dc:creator>
    <dc:date>2026-01-21T13:13:18Z</dc:date>
    <item>
      <title>LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1293690#M45502</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the LPCXpresso546xx/540xx board - with the LPC54018J CPU. I have been testing the samples available using MCUExpresso v11.2.1 for weeks/months now. Was even able to connect some RS232/SPI breakout boards on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However while testing the&amp;nbsp;lpcxpresso54018_spifi_polling_transfer&amp;nbsp;sample application, I can no longer debug and I'm getting this SPI flash error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="junointegration_1-1623893056242.png" style="width: 583px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147267iB22C18B4D753F640/image-dimensions/583x383?v=v2" width="583" height="383" role="button" title="junointegration_1-1623893056242.png" alt="junointegration_1-1623893056242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sometimes I get EXTSPI driver rc 88.&lt;/P&gt;&lt;P&gt;Troubleshooting steps I've done (none has fixed it):&lt;/P&gt;&lt;P&gt;- Restarting MCU Expresso; Restarting my OS; Repowering the EVAL Board; Using a different cable;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Pressing the ISP0 + Reset button&amp;nbsp;&lt;/P&gt;&lt;P&gt;- GUI Flash Tool for Programming (same result as above). But when I only Erase-&amp;gt;Mass Erase, no error reported afterwards. But still the same error when I debug&lt;/P&gt;&lt;P&gt;-&amp;nbsp; Flash Magic also giving me an very odd error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="junointegration_2-1623894655171.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147270i380F18CFA16C5E9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="junointegration_2-1623894655171.png" alt="junointegration_2-1623894655171.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems the External Flash cannot be overwritten anymore.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, a similar thing happened on the first Eval Board I had - that is still unusable at the moment. Am on my second Eval Board now.&lt;/P&gt;&lt;P&gt;If you can provided any tips on how to troubleshoot this further, then it will be very much appreciated. Cheers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 01:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1293690#M45502</guid>
      <dc:creator>junointegration</dc:creator>
      <dc:date>2021-06-17T01:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1294368#M45526</link>
      <description>&lt;P&gt;Hi,Jun,&lt;/P&gt;
&lt;P&gt;I have tested the example code, no problem on my LPC54018-EVK board. As you know the project run in internal SRAM, so there is not problem to erase/program spifi flash.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1623983813140.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147391iC84A0209316AE2AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1623983813140.png" alt="xiangjun_rong_0-1623983813140.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 02:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1294368#M45526</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-06-18T02:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1294379#M45527</link>
      <description>&lt;P&gt;Hi, Jun,&lt;/P&gt;
&lt;P&gt;I copy the readme.txt for the project, it tell you how to generate *.bin file, how to use J-Link to write the *.bin file to spifi flash and copy code from spifi flash to SRAMX and execute from SRAMX.&lt;/P&gt;
&lt;P&gt;If you change the *.ld file and run the code in spifi flash directly, I suppose there is problem, because when you run the code in spifi flash directly, you can NOT erase or program a sector for the spifi flash. The correct procedure is program the *.bin to flash and copy it to SRAMX and execute the code in SRAMX and erase/program spifi flash.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running the demo&lt;BR /&gt;================&lt;BR /&gt;This demo is showing SPIFI flash erasing and writing and this demo should only run in SRAMX:&lt;/P&gt;
&lt;P&gt;1. Build the demo to generate a bin file.&lt;BR /&gt;Note: If need to generate bin file using MCUXpresso IDE, below steps need to be followed:&lt;BR /&gt;Set in example Properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;Build steps-&amp;gt;Post-build steps-&amp;gt;Edit&lt;BR /&gt;enbable arm-none-eabi-objcopy -v -O binary "&amp;amp;{BuildArtifactFileName}" "&amp;amp;{BuildArtifactFileBaseName}.bin"&lt;/P&gt;
&lt;P&gt;This plainload example linked the vector table to 0x00000000, but program to external flash 0x10000000.&lt;/P&gt;
&lt;P&gt;2. Program the bin file to external on board flash via SEGGER J-FLASH Lite(V6.22 or higher):&lt;/P&gt;
&lt;P&gt;a. Open SEGGER J-FLASH Lite, select device LPC54S018.&lt;/P&gt;
&lt;P&gt;b. Click the 'Erase Chip' to erase the extrenal flash.(if can not success, press SW4 button and reset the board, and try to erase again)&lt;/P&gt;
&lt;P&gt;c. Select the bin data file, set the '.bin/Erase Start' address to 0x10000000, then click 'Program Device'&lt;BR /&gt;Note: Please use above way to program the binary file built by armgcc tool chain to external flash.&lt;BR /&gt;For IAR, KEIL, MCUXpresso IDE, you can use the IDE tool to program the external flash.&lt;BR /&gt;The log below shows example output of the spifi example in the terminal window:&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;SPIFI flash polling example started&lt;BR /&gt;All data written is correct!&lt;BR /&gt;SPIFI Polling example Finished!&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;Customization options&lt;BR /&gt;=====================&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 02:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1294379#M45527</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-06-18T02:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1294380#M45528</link>
      <description>&lt;P&gt;Thanks for your response&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As noted above, everything was working OK for few weeks/months. I have modified and tested several sample sample apps already. And I was able to connect other breakout boards for RS232/SPI testing.&lt;/P&gt;&lt;P&gt;Unfortunately, it just stopped working yesterday with this EXTSPI driver error.&lt;/P&gt;&lt;P&gt;I actually have three of these boards: Board1, Board2, and Board3&lt;/P&gt;&lt;P&gt;Board1 - was working for &lt;STRONG&gt;few weeks&lt;/STRONG&gt; then it had an EXTSPI error (I do not recall exact error). After going through some troubleshooting for few days, I decided to use Board2. Board1 is still &lt;STRONG&gt;unusable&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Board2 - was working for &lt;STRONG&gt;few months&amp;nbsp;&lt;/STRONG&gt;then it had EXTSPI error again. I decided to post this question in the forum.&lt;/P&gt;&lt;P&gt;Board3 - am using at the moment and &lt;STRONG&gt;is still working&lt;/STRONG&gt;. But am a bit concern whether there is an issue on the hardware design on board or something else.&lt;/P&gt;&lt;P&gt;If you can provide any more troubleshooting tips for this EXTSPI driver error&amp;nbsp; (any commandline tool&amp;nbsp; that I can run to diagnose), then this will be very much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 02:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1294380#M45528</guid>
      <dc:creator>junointegration</dc:creator>
      <dc:date>2021-06-18T02:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1296392#M45589</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;for the response. Tried it but still same .&amp;nbsp; More testing notes below.&lt;/P&gt;&lt;P&gt;Have decided to use another sample app (lwip_ping_bm_Samples). I have not modified it and just recompiled it. As noted, I have 3 Evaluations boards:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- 2 boards the OM13098 - both of these stopped working (was working before). The eval board is actually a variation of the OM13098 since it has the LPC54S018 not LPC54628&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;- 1 board the LPC54S018M-EVK - still working.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The following are the tests I've done using the &lt;STRONG&gt;SEGGER J-Flash-Lite&amp;nbsp;&lt;/STRONG&gt;and the &lt;STRONG&gt;Redlink tool.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using SEGGER J-Flash-Lite with Non-working Board 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SEGGER J-Flash-Lite reports NO errors if i Just 'Erase Chip'.&lt;BR /&gt;However, if I 'Program Device' using the bin file am getting an error. The error displayed is '&lt;STRONG&gt;Could not Download file&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using SEGGER J-Flash-Lite with Non-working Board 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SEGGER J-Flash-Lite &lt;STRONG&gt;seems to hangup&lt;/STRONG&gt; when I select 'Erase chip'&lt;BR /&gt;So did NOT bother testing with 'Program Device' anymore.&lt;/P&gt;&lt;P&gt;Since SEGGER J-Flash-Lite is failing, decided to use the Redlink flash tool &lt;STRONG&gt;crt_emu_cm_redlink&lt;/STRONG&gt; flash packaged with MCU Expresso. Generated a batch file from MCU Expresso with the following command:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%MCUX_IDE_BIN%/crt_emu_cm_redlink --flash-load-exec "%MCUX_WORKSPACE_LOC%/lpcxpresso54018_lwip_ping_bm_Samples/Debug/lpcxpresso54018_lwip_ping_bm_Samples.bin" -p LPC54018 --load-base=0x10000000 --vc --flash-driver-reset SOFT --bootromstall 0x40000040 -x %MCUX_WORKSPACE_LOC%/lpcxpresso54018_lwip_ping_bm_Samples/Debug --flash-dir %MCUX_FLASH_DIR0% --flash-dir %MCUX_FLASH_DIR1% --flash-hashing --log FlashLPC.log --debug 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using crt_emu_cm_redlink On Non-working Board 1, I get this error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Nc: DAP stride is 4096 bytes (1024 words)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Image 'LPC540xx_JEDEC_SFDP Sep 25 2020 10:47:14'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Opening flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Using SOFT reset to run the flash driver&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Wc: Boot ROM stall address was not accessed (entry caused by Breakpoint - not a Watchpoint) - read watch #1 address 0x40000040&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Flash variant 'JEDEC_SFDP_EF7018' detected (16MB = 256*64K at 0x10000000)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Closing flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nt: Connected: was_reset=false. was_stopped=false&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nt: Loading 'lpcxpresso54018_lwip_ping_bm_Samples.bin' Binary 0x10000000 len 0x138F8&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Opening flash driver LPC540xx_SPIFI_SFDP.cfx (already resident)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Using SOFT reset to run the flash driver&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Flash variant 'JEDEC_SFDP_EF7018' detected (16MB = 256*64K at 0x10000000)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Ec: op ProgramPage (0x10000000, 0x22B8, 0x4000) status 0x1 - driver reported driver error - EXTSPI driver rc 32 (0x20)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Nc: Sectors written: 2, unchanged: 0, total: 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Closing flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Using crt_emu_cm_redlink On Non-working Board 2, I get this error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Nc: NXP: LPC54018&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: DAP stride is 4096 bytes (1024 words)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Image 'LPC540xx_JEDEC_SFDP Sep 25 2020 10:47:14'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Opening flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Using SOFT reset to run the flash driver&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Wc: Boot ROM stall address was not accessed (entry caused by Breakpoint - not a Watchpoint) - read watch #1 address 0x40000040&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Flash variant 'JEDEC_SFDP_EF7018' detected (16MB = 256*64K at 0x10000000)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Closing flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nt: Connected: was_reset=false. was_stopped=false&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nt: Loading 'lpcxpresso54018_lwip_ping_bm_Samples.bin' Binary 0x10000000 len 0x138F8&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Opening flash driver LPC540xx_SPIFI_SFDP.cfx (already resident)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Using SOFT reset to run the flash driver&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Flash variant 'JEDEC_SFDP_EF7018' detected (16MB = 256*64K at 0x10000000)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Ec: op ProgramPage (0x10000000, 0x22B8, 0x4000) status 0x1 - driver reported driver error - EXTSPI driver rc 112 (0x70)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Nc: Sectors written: 2, unchanged: 0, total: 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Nc: Closing flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Ed:05: File 'lpcxpresso54018_lwip_ping_bm_Samples.bin' load failure: Ef(49): Flash driver operation gave error.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On the 3rd board, everything is working OK. The jumpers on the Eval boards are all the same.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Below are some more questions that I hope you can give me some advice on:&lt;/P&gt;&lt;P&gt;1. Can I confirm that these Eval boards are now faulty? If yes, do you have any idea what is the specific component on the Eval board that has become faulty. (Actually - these Eval boards was just working OK not being handled - and it just stopped working)&lt;/P&gt;&lt;P&gt;2. Is there any other way to fix the board or get it working?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Is this a known issue with the Eval boards? Or is this an issue with the LPC54S018 CPU (unlikely - but just asking)?&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 00:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1296392#M45589</guid>
      <dc:creator>junointegration</dc:creator>
      <dc:date>2021-06-23T00:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1296635#M45595</link>
      <description>&lt;P&gt;Hi, Jun,&lt;/P&gt;
&lt;P&gt;I suppose that the non-working board has broken down because of SPIFI flash failure. As I said that if you run code in SPIFI flash directly, you can NOT erase/program spifi flash, which may lead to the flash failure. so running the "&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow word-break-ie11"&gt;lpcxpresso54018_spifi_polling_transfer" is not appropriate in SPIFI flash directly, because it erase/program flash sector.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 07:31:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1296635#M45595</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-06-23T07:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1430942#M48277</link>
      <description>&lt;P&gt;I realize this is an old issue but I'm including this in case it may be helpful to someone else.&lt;/P&gt;&lt;P&gt;I was able to solve this problem by replacing&amp;nbsp;LPC540xx_SPIFI_SFDP.cfx with&amp;nbsp;LPC540xx_SPIFI_GENERIC.cfx.&amp;nbsp; These were both located in&amp;nbsp;C:\nxp\MCUXpressoIDE_11.5.0_7232\ide\binaries\Flash.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Go to project properties --&amp;gt; C/C++ Build --&amp;gt;&amp;nbsp; MCU Settings&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Under "Memory Details" select the&amp;nbsp;LPC540xx_SPIFI_GENERIC.cfx driver.&amp;nbsp; You will have to first copy it to your Project or Workspace.&lt;/P&gt;&lt;P&gt;3. After building the project, generate a .bin file from the .axf file by right clicking the .axf file found in the Release folder of the Project then: Binary Utilities --&amp;gt; Create binary&lt;/P&gt;&lt;P&gt;4. In the GUI Flash Tool be sure to select the .bin file not the .axf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 07:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1430942#M48277</guid>
      <dc:creator>mazen</dc:creator>
      <dc:date>2022-03-20T07:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1525696#M50217</link>
      <description>Thank You!&lt;BR /&gt;Worked fine for me. But attention there are two settings which can be changed related to the flashdriver inside the Memory details. The first one is called "Default LinkServer Flash Driver" and it did not worked for me. The Second one is in the table below. After switching this one to the GENERIC i was able to debug again.&lt;BR /&gt;I was also able to switch the flashdriver back to the SFDP for debuging afterwards.</description>
      <pubDate>Wed, 21 Sep 2022 08:37:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/1525696#M50217</guid>
      <dc:creator>p_mamatis</dc:creator>
      <dc:date>2022-09-21T08:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/2297417#M59229</link>
      <description>&lt;P&gt;Hi everybody,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;3.5 years later, exactly the same problem here.&lt;/P&gt;&lt;P&gt;Suddenly, the SPIFI driver reported an error at address 0x2290 and wasn't able to mass erase.&lt;/P&gt;&lt;P&gt;I found this thread, changed the used driver from SFDP to generic and - voila.&lt;/P&gt;&lt;P&gt;Had been using the board for over a year without any problem.&lt;/P&gt;&lt;P&gt;Any idea what's causing this?&lt;/P&gt;&lt;P&gt;Thanks for the solution, by the way.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 13:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/2297417#M59229</guid>
      <dc:creator>hfuhruhurr</dc:creator>
      <dc:date>2026-01-21T13:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/2302320#M59313</link>
      <description>&lt;P&gt;... and now, from out of nowhere, I get the following error which, I guess, can not be fixed by changing the driver since the old one still doesn't work (tested) and the generic driver, well.&lt;BR /&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;NXP: LPC54S018J4M&lt;/P&gt;&lt;P&gt;DAP stride is 4096 bytes (1024 words)&lt;/P&gt;&lt;P&gt;Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_GENERIC.cfx&lt;/P&gt;&lt;P&gt;Image 'LPC5460x Generic SPIFI Jun 26 2025 18:28:45'&lt;/P&gt;&lt;P&gt;Opening flash driver LPC540xx_SPIFI_GENERIC.cfx&lt;/P&gt;&lt;P&gt;Using SOFT reset to run the flash driver&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Flash variant 'W25Q32FV' detected (4MB = 64*64K at 0x10000000)&lt;/P&gt;&lt;P&gt;Closing flash driver LPC540xx_SPIFI_GENERIC.cfx&lt;/P&gt;&lt;P&gt;Connected: was_reset=false. was_stopped=false&lt;/P&gt;&lt;P&gt;Awaiting telnet connection to port 3330 ...&lt;/P&gt;&lt;P&gt;GDB nonstop mode enabled&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FreeRTOS stack backtrace is disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After error Ee(04). Wire Error -&lt;/P&gt;&lt;P&gt;Failed to read address register in DAP - Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Target error from Read Memory: Em(17). Debug port inaccessible after access at location 0x80000080&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After error Ee(04). Wire Error -&lt;/P&gt;&lt;P&gt;Failed to read address register in DAP - Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Target error from Read Memory: Em(17). Debug port inaccessible after access at location 0x80000080&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Opening flash driver LPC540xx_SPIFI_GENERIC.cfx (already resident)&lt;/P&gt;&lt;P&gt;Using SOFT reset to run the flash driver&lt;/P&gt;&lt;P&gt;After error Ee(04). Wire Error -&lt;/P&gt;&lt;P&gt;Failed to read address register in DAP - Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;P&gt;Driver memory check after reset - mem not working after mailbox read - Em(17). Debug port inaccessible after access at location 0x2000B6C0&lt;/P&gt;&lt;P&gt;After error Nn(05). Wire ACK Wait in DAP access -&lt;/P&gt;&lt;P&gt;Failed to read address register in DAP - Nn(05). Wire ACK Wait in DAP access&lt;/P&gt;&lt;P&gt;Warning - failed to initialize mailbox (at 0x2000B6B0) - rc Em(17). Debug port inaccessible after access at location 0x2000B6B0&lt;/P&gt;&lt;P&gt;Flash Driver V.2 startup failed - rc Em(17). Debug port inaccessible after access at location 0x2000B6B0&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(100) Writing Flash ended with an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Target error from Commit Flash write: Em(17). Debug port inaccessible after access at location 0x2000B6B0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GDB stub (C:\D\nxp\LinkServer_25.6.131\binaries\crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rainer&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jan 2026 15:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/2302320#M59313</guid>
      <dc:creator>hfuhruhurr</dc:creator>
      <dc:date>2026-01-28T15:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso546xx EXTSPI driver error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/2302625#M59315</link>
      <description>This has probably been a driver error on the computer as this has gone after a computer restart.</description>
      <pubDate>Thu, 29 Jan 2026 06:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso546xx-EXTSPI-driver-error/m-p/2302625#M59315</guid>
      <dc:creator>hfuhruhurr</dc:creator>
      <dc:date>2026-01-29T06:48:19Z</dc:date>
    </item>
  </channel>
</rss>

