<?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: LPC54018 SWD Programming in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1305085#M45809</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;ahmed_mostafa,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As your chip is&amp;nbsp;&amp;nbsp;LPC54018J2&lt;FONT color="#FF0000"&gt;M&lt;/FONT&gt;ET180, please use the SDK&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1625795561694.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149318i197FB57338594801/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1625795561694.png" alt="Alice_Yang_0-1625795561694.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The part number without "M" meaning the chip doesn't include internal FLASH.&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>Fri, 09 Jul 2021 01:53:29 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2021-07-09T01:53:29Z</dc:date>
    <item>
      <title>LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290012#M45378</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created my own circuit board based on the LPC54018. I copied the schematic exactly as the LPC54018 IoT board, except without the wifi chip and the external SPI flash. Do I need the external SPI flash in order to debug the microcontroller?&lt;/P&gt;&lt;P&gt;How can I load a program onto a brand new microcontroller using only SWD and no other pins?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 16:06:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290012#M45378</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-09T16:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290174#M45384</link>
      <description>&lt;P&gt;No you do not need external SPI to debug.&lt;/P&gt;&lt;P&gt;you will need a debug probe such as MCU-link, LPC-link2 etc and install an IDE such as the free NXP MCUXpresso.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 19:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290174#M45384</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-06-09T19:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290193#M45386</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I use MCUXpresso and it works just fine with the LPC54018 IoT module. I'm using the CMSIS Link server debugger than comes with that IoT module.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However when I apply that same setup to my custom board, I get errors. I'm confident that I've connected the SWD traces correctly to the microcontroller. Is there any other setting I need to do inside MCUXpresso? This is my Console output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;__________________________________________________________________________&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.3 (Jan 11 2021 16:41:13 - crt_emu_cm_redlink build 9)&lt;/P&gt;&lt;P&gt;Found chip XML file in C:/Users/amostafa9/Documents/Code Repositories/LPC54018_Digital_Out/lpcxpresso54s018_mcofd_Digital_Out/Debug\LPC54S018.xml&lt;/P&gt;&lt;P&gt;Reconnected to existing LinkServer process.&lt;/P&gt;&lt;P&gt;Probe Firmware: LPC11U3x CMSIS-DAP v1.0.4 (NXP Semiconductors)&lt;/P&gt;&lt;P&gt;Serial Number:&amp;nbsp; 11041018&lt;/P&gt;&lt;P&gt;VID:PID:&amp;nbsp; 1FC9:0132&lt;/P&gt;&lt;P&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0132&amp;amp;mi_00#7&amp;amp;25c5da96&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;/P&gt;&lt;P&gt;Using memory from core 0 after searching for a good core&lt;/P&gt;&lt;P&gt;On debug connection - use system reset, stalling when 0x40000040 is accessed&lt;/P&gt;&lt;P&gt;Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall&lt;/P&gt;&lt;P&gt;Waiting for target to stop...&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FFCC00"&gt;Warning - processor did not halt - gave up waiting&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;debug interface type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;number of h/w breakpoints = 6&lt;/P&gt;&lt;P&gt;number of flash patches&amp;nbsp;&amp;nbsp; = 2&lt;/P&gt;&lt;P&gt;number of h/w watchpoints = 4&lt;/P&gt;&lt;P&gt;Probe(0): Connected&amp;amp;Reset. DpID: 2BA01477. CpuID: 00000C24. Info: &amp;lt;None&amp;gt;&lt;/P&gt;&lt;P&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.&lt;/P&gt;&lt;P&gt;Content of CoreSight Debug ROM(s):&lt;/P&gt;&lt;P&gt;RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)&lt;/P&gt;&lt;P&gt;ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU&lt;/P&gt;&lt;P&gt;ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core&lt;/P&gt;&lt;P&gt;NXP: LPC54S018&lt;/P&gt;&lt;P&gt;DAP stride is 4096 bytes (1024 words)&lt;/P&gt;&lt;P&gt;XML Error - no license-type XML file 'crt_common.xme' on path.&lt;/P&gt;&lt;P&gt;note - part information contained no product license-type data&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 Dec 17 2020 10:03:04'&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;&lt;FONT color="#FFCC00"&gt;rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Driver V.2 dynamic startup failed - driver Init provided no flash parameters&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc 1 - Device is busy&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FFCC00"&gt;failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;-------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;What is causing these errors?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 19:41:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290193#M45386</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-09T19:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290897#M45415</link>
      <description>&lt;P&gt;Can anyone provide any help?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 19:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290897#M45415</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-10T19:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290941#M45420</link>
      <description>&lt;P&gt;Can anyone provide any help?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 22:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290941#M45420</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-10T22:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290957#M45422</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/133538"&gt;@ahmed_mostafa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I use LPC Link-2 to program my custom lpc54018 board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know if this going to help, you can try to reset your board, close and open back your IDE or try using other usb ports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 23:43:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1290957#M45422</guid>
      <dc:creator>mohd_</dc:creator>
      <dc:date>2021-06-10T23:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1291222#M45432</link>
      <description>&lt;P&gt;with almost 100% certainty, you have a problem on your circuit. Check the debug connection, power and termination of unused pins&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 08:37:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1291222#M45432</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-06-11T08:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1291290#M45435</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/133538" target="_self" aria-label="View Profile of ahmed_mostafa"&gt;&lt;SPAN class=""&gt;ahmed_mostafa,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Which debugger do you used？&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Could you please take a picture about the hardware connection. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;And what about your project? This chip is no internal flash, so you only can put your code in RAM.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;BR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Alice&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 09:50:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1291290#M45435</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-11T09:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1291420#M45440</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the CMSIS DAP probe debugger that is present on the mini IoT debugger&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/products/sensors/accelerometers/mini-iot-baseboard:OM40008" target="_blank"&gt;https://www.nxp.com/products/sensors/accelerometers/mini-iot-baseboard:OM40008&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How do I load my code into RAM instead of flash? I am using MCUXpresso.&lt;/P&gt;&lt;P&gt;I notice the Evaluation board has an external flash SPI chip. Is that what is used to program the device on the LPC54018 IoT board? &lt;A href="https://www.nxp.com/design/designs/lpc54018-iot-solution:IoT-Solution-with-Amazon-FreeRTOS" target="_blank"&gt;https://www.nxp.com/design/designs/lpc54018-iot-solution:IoT-Solution-with-Amazon-FreeRTOS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 13:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1291420#M45440</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-11T13:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1292242#M45466</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;1) If you use&amp;nbsp; OM40008: Mini IoT Baseboard, please refer to UM:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)&lt;SPAN&gt;I notice the Evaluation board has an external flash SPI chip. Is that what is used to program the device on the LPC54018 IoT board?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; YES.&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;</description>
      <pubDate>Tue, 15 Jun 2021 03:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1292242#M45466</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-15T03:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1292769#M45483</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;The part number we are using is &lt;SPAN&gt;LPC54018J2MET180&lt;SPAN&gt;. According to the datasheet and the manual, this part does have internal flash memory for code execution. Using SWD and using MCUXpresso, how can we load our code into the internal flash memory?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ahmed_mostafa_0-1623785884845.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147134i2DD88853F43B6D7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ahmed_mostafa_0-1623785884845.png" alt="ahmed_mostafa_0-1623785884845.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 19:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1292769#M45483</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-15T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1292794#M45485</link>
      <description>&lt;P&gt;For parts with internal flash memory, the debugger will automatically load the application into flash, if the application is built to use the flash. Simplest way to test this out is to create a simple application using the New Project wizard and selecting the correct target MCU. Then start a debug session with the built application.&lt;/P&gt;&lt;P&gt;This is described In the MCUXpresso User Manual.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 21:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1292794#M45485</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-06-15T21:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1293516#M45496</link>
      <description>&lt;P&gt;When I try to load the code into flash memory, I get this error:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Driver V.2 dynamic startup failed - driver Init provided no flash parameters&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc 1 - Device is busy&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FFCC00"&gt;failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect that the flash driver built into MCUXpresso for this specific part does not know how to communicate with the internal flash.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ahmed_mostafa_0-1623866335461.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147236iBE77751156EFF5E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ahmed_mostafa_0-1623866335461.png" alt="ahmed_mostafa_0-1623866335461.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For this particular part, there are 2 variations. There's the LPC540xx which do &lt;STRONG&gt;&lt;U&gt;NOT&lt;/U&gt;&lt;/STRONG&gt; have internal flash storage. Then there's the LPC540xx&lt;U&gt;&lt;STRONG&gt;J&lt;/STRONG&gt;&lt;/U&gt;, which DO have internal flash. I suspect that the "LPC540xx_SPIFI_SFDP.cfx" driver that is used in the IDE is not compatible with the LPC540xxJ variant of the part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/144226"&gt;@converse&lt;/a&gt; any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 18:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1293516#M45496</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-16T18:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1293735#M45504</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 href="https://community.nxp.com/t5/user/viewprofilepage/user-id/133538" target="_self"&gt;&lt;SPAN class=""&gt;ahmed_mostafa,&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;1) Yes, the chip of LPC54018J2&lt;FONT color="#FF0000"&gt;M&lt;/FONT&gt;ET180 have internal flash.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;2) You can download a SDK demo to test.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;3) How about use another debugger? J-link or LPC-link2 .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;BR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Alice&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 03:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1293735#M45504</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-17T03:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1294127#M45515</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;Which SDK demo should I use to test? All of the SDK demos use external flash. The LPC54018 IoT board that I am using uses an external flash memory for storing the program. How do I tell the microcontroller to store the program in internal flash instead?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 13:30:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1294127#M45515</guid>
      <dc:creator>ahmed_mostafa</dc:creator>
      <dc:date>2021-06-17T13:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 SWD Programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1305085#M45809</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;ahmed_mostafa,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As your chip is&amp;nbsp;&amp;nbsp;LPC54018J2&lt;FONT color="#FF0000"&gt;M&lt;/FONT&gt;ET180, please use the SDK&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1625795561694.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149318i197FB57338594801/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1625795561694.png" alt="Alice_Yang_0-1625795561694.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The part number without "M" meaning the chip doesn't include internal FLASH.&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>Fri, 09 Jul 2021 01:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SWD-Programming/m-p/1305085#M45809</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-07-09T01:53:29Z</dc:date>
    </item>
  </channel>
</rss>

