<?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: failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062547#M3534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chuck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to continue with the follow-up. Could you please let me know the status of this issue? Did you get the replacement board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2020 17:32:27 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2020-07-27T17:32:27Z</dc:date>
    <item>
      <title>failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062541#M3528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just received a lpc54018 eval board with LCD (OM40003).&amp;nbsp; It powers up with the LCD color draw demo - which works&lt;/P&gt;&lt;P&gt;fine.&amp;nbsp; Have installed latest MCUxpresso and verified that it works by debugging code on a LPC55S69 board to be used&lt;/P&gt;&lt;P&gt;for the same project.&amp;nbsp; Also loaded the correct SDK for this board and built (no errors) several LPC54018&amp;nbsp; projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When attempting to debug any of the successfully build demo projects (e.g. both littlevgl demos from the SDK), I get the&lt;/P&gt;&lt;P&gt;following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.1 (Feb 24 2020 13:54:38 - crt_emu_cm_redlink build 11)&lt;BR /&gt;Found chip XML file in C:/Users/mcp/Documents/MCUXpressoIDE_11.1.1_3241/GStest_54018/lpcxpresso54018_littlevgl_terminal/Debug\LPC54018.xml&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;Using memory from core 0 after searching for a good core&lt;BR /&gt;On debug connection - use system reset, stalling when 0x40000040 is accessed&lt;BR /&gt;Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall&lt;BR /&gt;Waiting for target to stop...&lt;BR /&gt;Warning - processor did not halt - gave up waiting&lt;BR /&gt;debug interface type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M3/4 (DAP DP ID 2BA01477) over SWD TAP 0&lt;BR /&gt;processor type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M4 (CPU ID 00000C24) on DAP AP 0&lt;BR /&gt;number of h/w breakpoints = 6&lt;BR /&gt;number of flash patches&amp;nbsp;&amp;nbsp; = 2&lt;BR /&gt;number of h/w watchpoints = 4&lt;BR /&gt;Probe(0): Connected&amp;amp;Reset. DpID: 2BA01477. CpuID: 00000C24. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.&lt;BR /&gt;Content of CoreSight Debug ROM(s):&lt;BR /&gt;RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)&lt;BR /&gt;ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)&lt;BR /&gt;ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)&lt;BR /&gt;ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)&lt;BR /&gt;ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)&lt;BR /&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU&lt;BR /&gt;ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core&lt;BR /&gt;NXP: LPC54018&lt;BR /&gt;DAP stride is 4096 bytes (1024 words)&lt;BR /&gt;Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx&lt;BR /&gt;Image 'LPC540xx_JEDEC_SFDP Feb 17 2020 13:57:06'&lt;BR /&gt;Opening flash driver LPC540xx_SPIFI_SFDP.cfx&lt;BR /&gt;Using SOFT reset to run the flash driver&lt;BR /&gt;rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)&lt;BR /&gt;Cannot halt processor&lt;BR /&gt;warning - failed to halt processor on startup timeout - rc Ep(04). Cannot halt processor.&lt;BR /&gt;Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.&lt;BR /&gt;chip initialization failed - Ef(34): Timed-out initializing flash.&lt;BR /&gt;failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have searched this site for similar issues and have tried restarting with several alternate configs -&lt;/P&gt;&lt;P&gt;namely with and without J5 (DFU boot) inserted and powering up with any of the ISP buttons&lt;/P&gt;&lt;P&gt;depressed.&amp;nbsp; As the saying goes - "no joy".&amp;nbsp; I don't think I could have possibly bricked the board since&lt;/P&gt;&lt;P&gt;it never gets to loading any code...besides, none of the demos are related to OTP.&amp;nbsp; As I pointed out&lt;/P&gt;&lt;P&gt;above, this environment works fine with Link2 on a current LPC55S69 board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help getting past this would be appreciated.&amp;nbsp; I plan to eRPC this board to the LPC55S69 as a HMI interface.&lt;/P&gt;&lt;P&gt;But, can't focus on that until this board starts behaving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chuck McP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2020 07:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062541#M3528</guid>
      <dc:creator>cpmcparland</dc:creator>
      <dc:date>2020-06-05T07:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062542#M3529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chuck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to load same example to see if it was a problem of our SDK example but I could program my board successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would suggest that you try the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL type="1"&gt;&lt;LI&gt;Click on "Clean up debug" button in IDE.&lt;/LI&gt;&lt;LI&gt;Power your board and debug probe down and back up again&lt;/LI&gt;&lt;LI&gt;Delete your launch configuration&lt;/LI&gt;&lt;LI&gt;Try debugging again&lt;/LI&gt;&lt;LI&gt;If debug still doesn't work, try doing an ISP reset as well as the above :&lt;/LI&gt;&lt;/OL&gt;&lt;UL type="disc"&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/389112"&gt;Regaining debug access to target MCU&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 18:28:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062542#M3529</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-06-08T18:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062543#M3530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Felipe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your note.  Afraid no good news here.  I did a debug cleanup in&lt;/P&gt;&lt;P&gt;the IDE, powered om40003 down and up,&lt;/P&gt;&lt;P&gt;deleted launch config for the project and then started a debug session.&lt;/P&gt;&lt;P&gt;First instance timed out - as expected - during&lt;/P&gt;&lt;P&gt;the link2 to software load.  Second instance progressed properly.  I&lt;/P&gt;&lt;P&gt;received same response as in first email.&lt;/P&gt;&lt;P&gt;One additional bit from one of the error windows was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash driver v.2 dynamic startup failed - driver init provided no flash&lt;/P&gt;&lt;P&gt;parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, a bit more detail from the console:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP: LPC54018&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_SFDP.cfx&lt;/P&gt;&lt;P&gt;Image 'LPC540xx_JEDEC_SFDP Feb 17 2020 13:57:06'&lt;/P&gt;&lt;P&gt;Opening flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/P&gt;&lt;P&gt;Using SOFT reset to run the flash driver&lt;/P&gt;&lt;P&gt;Driver V.2 dynamic startup failed - driver Init provided no flash parameters&lt;/P&gt;&lt;P&gt;Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup&lt;/P&gt;&lt;P&gt;failed to provide flash parameters.&lt;/P&gt;&lt;P&gt;Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure -&lt;/P&gt;&lt;P&gt;EXTSPI driver rc 15 (0xF)&lt;/P&gt;&lt;P&gt;chip initialization failed - Ef(55): Dynamic flash driver startup failed to&lt;/P&gt;&lt;P&gt;provide flash parameters.&lt;/P&gt;&lt;P&gt;failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Repeated several times, once it selected LPC540xx_SPFI_GENERIC.cfx; but&lt;/P&gt;&lt;P&gt;behaved the same way.&lt;/P&gt;&lt;P&gt;Also booted to ISP and retried (RESET and ISP1/SW3 buttons - demo NOT&lt;/P&gt;&lt;P&gt;executing on LCD). Again,&lt;/P&gt;&lt;P&gt;no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also attempted mass erase using GUI Flash Tool.  No luck there either.&lt;/P&gt;&lt;P&gt;Verified that board is loaded with&lt;/P&gt;&lt;P&gt;LPC54018 and that the flash is  a winbond w9812G6JB.  Sure seems to be a&lt;/P&gt;&lt;P&gt;flash driver problem.&lt;/P&gt;&lt;P&gt;Could it just be a bad board? or defective flash?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chuck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 23:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062543#M3530</guid>
      <dc:creator>cpmcparland</dc:creator>
      <dc:date>2020-06-08T23:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062544#M3531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Felipe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to make some progress on this issue.....can you forward any&lt;/P&gt;&lt;P&gt;parameters from load config in IDE&lt;/P&gt;&lt;P&gt;that I can check against my config?  I assume that the flash program file&lt;/P&gt;&lt;P&gt;is the correct one and that&lt;/P&gt;&lt;P&gt;it has not been recently updated to match a change (read in one of the data&lt;/P&gt;&lt;P&gt;sheets) of the installed&lt;/P&gt;&lt;P&gt;on-board flash chip.  Does "failed to halt processor" have any&lt;/P&gt;&lt;P&gt;significance?  I don't think&lt;/P&gt;&lt;P&gt;the demo program has gone amuck since it functions properly and, when I&lt;/P&gt;&lt;P&gt;boot w/ISP buttons, the&lt;/P&gt;&lt;P&gt;LCD screen is blank (indicating, I believe, that it is not running).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I need to send this board back to Mouser, I'd like to do so sooner than&lt;/P&gt;&lt;P&gt;later.  Thanks again for&lt;/P&gt;&lt;P&gt;looking at this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chuck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Jun 8, 2020 at 4:04 PM Charles McParland &amp;lt;cpmcparland@rtisys.org&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 19:12:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062544#M3531</guid>
      <dc:creator>cpmcparland</dc:creator>
      <dc:date>2020-06-10T19:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062545#M3532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chuck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sorry for my late reply. If you have tried all the recommendations and you were not able to program your board out of the box. Then, it certainly can be a defective board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend you to go to the following link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/sample-and-buy/buy-direct/returns-and-warranty-information:WTBUY_DTD_RETURNS" title="https://www.nxp.com/support/sample-and-buy/buy-direct/returns-and-warranty-information:WTBUY_DTD_RETURNS"&gt;Returns and Warranty Information | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 20:36:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062545#M3532</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-06-12T20:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062546#M3533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Felipe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your note.&amp;nbsp; Although I realize its unlikely to be an actual hardware&lt;/P&gt;&lt;P&gt;problem, I need to get this resolved.&amp;nbsp; I've contacted the vendor I purchased the&lt;/P&gt;&lt;P&gt;board from and they will ship a replacement and work things out w/NXP.&amp;nbsp; I'll let&lt;/P&gt;&lt;P&gt;you know if a replacement board resolves the issue.&amp;nbsp; It has be stumped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chuck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 21:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062546#M3533</guid>
      <dc:creator>cpmcparland</dc:creator>
      <dc:date>2020-06-13T21:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062547#M3534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chuck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to continue with the follow-up. Could you please let me know the status of this issue? Did you get the replacement board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 17:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/failed-to-initialize-flash-driver-LPC540xx-SPIFI-SFDP-cfx/m-p/1062547#M3534</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-07-27T17:32:27Z</dc:date>
    </item>
  </channel>
</rss>

