<?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: LCP54018J2MET180 custom board flashing in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1645193#M52412</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to select the flash driver LPC540xx_SPIFI_GENERIC.cfx and have a try.&lt;/P&gt;
&lt;P&gt;If it does not work, I suppose it is complex, you have to check the user manual of your own spifi flash on custom board, and develop the driver yourself.&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-1683257603578.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221896iF3E2CBEC811A266A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1683257603578.png" alt="xiangjun_rong_0-1683257603578.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 03:36:24 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2023-05-05T03:36:24Z</dc:date>
    <item>
      <title>LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1643289#M52358</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am testing a custom board based on LCP54018J2MET180. I am trying to flash a simple helloworld program using MCUXpresso and MCU-Link pro as programmer. I have downloaded the SDK for the LPC54018J2, this device has an internal QSPI flash of 2M.&lt;/P&gt;&lt;P&gt;Whenever I try to flash the program I get stuck always on the flash drivver loading, since it doen't detect the flash from the device. I have tied IS0 and ISP1 high and ISP2 low so the system boots checking for the flash.&lt;/P&gt;&lt;P&gt;I have double checked that the lines regarding the SPIFI driver are not used in the board.&lt;/P&gt;&lt;P&gt;The output of the MCUXpresso is as follows:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.5 (Dec 16 2021 12:47:27 - crt_emu_cm_redlink build 2)&lt;BR /&gt;Found chip XML file in ~/Documents/MCUXpresso_11.5.0_7232/workspace/Trial/Debug/LPC54018J2M.xml&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V2.241 (NXP Semiconductors)&lt;BR /&gt;Serial Number: C5UFCSNDLYZKR&lt;BR /&gt;VID:PID: 1FC9:0143&lt;BR /&gt;USB Path: /dev/hidraw3&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 = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0&lt;BR /&gt;processor type = 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 = 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: LPC54018J2M&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 Dec 16 2021 12:43:33'&lt;BR /&gt;Opening flash driver LPC540xx_SPIFI_SFDP.cfx&lt;BR /&gt;Using SOFT reset to run the flash driver&lt;BR /&gt;&lt;FONT color="#808000"&gt;rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Driver V.2 dynamic startup failed - driver Init provided no flash parameters&lt;/FONT&gt;&lt;BR /&gt;Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc 15 (0xF)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808000"&gt;failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I have seen one similar case in the forum with a custom board based on LPC54018 IoT board and using also an &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;LPC54018J2&lt;FONT color="#FF0000"&gt;M&lt;/FONT&gt;ET180 chip with similar problem, but without solution.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Any help or idea will be wellcome.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Luis&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 20:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1643289#M52358</guid>
      <dc:creator>luimarma</dc:creator>
      <dc:date>2023-05-02T20:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1645193#M52412</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to select the flash driver LPC540xx_SPIFI_GENERIC.cfx and have a try.&lt;/P&gt;
&lt;P&gt;If it does not work, I suppose it is complex, you have to check the user manual of your own spifi flash on custom board, and develop the driver yourself.&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-1683257603578.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221896iF3E2CBEC811A266A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1683257603578.png" alt="xiangjun_rong_0-1683257603578.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 03:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1645193#M52412</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-05-05T03:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1646838#M52455</link>
      <description>&lt;P&gt;The spifi flash is not a custom one, it is the internal spifi flash of LCP54018J2MET180.&lt;/P&gt;&lt;P&gt;Using LPC540xx_SPIFI_GENERIC.cfx driver doesn't help also.&lt;/P&gt;&lt;P&gt;Any help would be wellcome.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 06:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1646838#M52455</guid>
      <dc:creator>luimarma</dc:creator>
      <dc:date>2023-05-09T06:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1647574#M52465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to replace with another LCP54018J2MET180&amp;nbsp; and have a try.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 05:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1647574#M52465</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-05-10T05:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1647794#M52466</link>
      <description>&lt;P&gt;Ok, I will test with another unit, but this will take long time since this needs a new board assembly.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 08:58:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1647794#M52466</guid>
      <dc:creator>luimarma</dc:creator>
      <dc:date>2023-05-10T08:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1675662#M53229</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Already replaced with another LCP54018J2MET180.&lt;/P&gt;&lt;P&gt;I have also made a version of the same board but using LCP54608 that has on-chip flash, but not attached to SPIFI. With that one flashing works well, but not with LCP54018J2MET180.&lt;/P&gt;&lt;P&gt;With LCP54018J2MET180 I always get the following 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;BR /&gt;Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc 13 - No supported SPIFI device found&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;/FONT&gt;&lt;BR /&gt;failed to initialize flash driver LPC540xx_SPIFI_GENERIC.cfx&lt;/P&gt;&lt;P&gt;I have checked in the documentation and LCP54018J2MET180 has internally a flash marked as Winbond W25Q32JV. The LPC540xx_SPIFI_GENERIC.cfx has support for W25Q32FV chip, but it looks that they share the same ID codes. I tried to recompile the driver setting the size of the W25Q32FV to 2Mb but still no success, the chip cannot be programmed.&lt;/P&gt;&lt;P&gt;Can anyone help here? How is it possible there is no way to program the internal Flash?&lt;/P&gt;&lt;P&gt;Where's my mistake?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Jun 2023 06:32:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1675662#M53229</guid>
      <dc:creator>luimarma</dc:creator>
      <dc:date>2023-06-26T06:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1745090#M54529</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160756"&gt;@luimarma&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Did you find a solution for your problem?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I am using the&amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN class=""&gt;LPC54018J4M&lt;SPAN&gt;&amp;nbsp; with 4MB internal SPIFI flash and i am also facing problems. In my case, I can flash but the program will not start but hang somewhere in BOOT ROM....&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;my ticket is the follwing:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-General/XIP-program-not-starting-on-LPC54018J4M-custom-board/m-p/1744313#M5175" target="_blank" rel="noopener"&gt;Re: XIP, program not starting on LPC54018J4M custo... - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Ron&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 07:58:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1745090#M54529</guid>
      <dc:creator>ronwal</dc:creator>
      <dc:date>2023-10-24T07:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: LCP54018J2MET180 custom board flashing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1747153#M54549</link>
      <description>&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;I didn't find a solution yet. I switched in the meantime to LPC54606J512 that uses normal internal flash rather than QSPI flash. I have lost some features but in the other hand I could probe that my original design was fully working. I will dig more on LCP54018 using Segger J-Link probe in SWD mode, since it is said to be compatible for LPC54018JMET180 but yest have to test.&lt;/P&gt;&lt;P&gt;It is a pity that I could not get anymore backup on LCP54018 since I am infinally interested on the S series with enhanced security features.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 14:34:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP54018J2MET180-custom-board-flashing/m-p/1747153#M54549</guid>
      <dc:creator>luimarma</dc:creator>
      <dc:date>2023-10-26T14:34:44Z</dc:date>
    </item>
  </channel>
</rss>

