Custom Board LPC54S018JET180E lpcxpresso54s018_hello_world_qspi_xip Question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Board LPC54S018JET180E lpcxpresso54s018_hello_world_qspi_xip Question

Jump to solution
3,144 Views
mtsang
Contributor III

Hi All,

     I am trying to import a "lpcxpresso54s018_hello_world_qspi_xip" to my custom board. But I got an error message "File 'lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004.bin' load failure: Ef(11). No flash configured at the specified address." . The goal is to upload an image to the EXT SPI FLASH and the MCU will boot from the EXT SPI FLASH.

 

     Can anyone please give an advice on how to fix the issue?

LPC54S018 Daughter Board.jpg

mtsang_0-1750096942687.png

 

mtsang_3-1750096039885.png

mtsang_4-1750096101688.png

Error Message:

 

Executing flash operation 'Program' (Program file into flash: lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004.bin) - Mon Jun 16 10:48:33 PDT 2025

Checking MCU info...

Scanning for targets...

Executing flash action...

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink.exe build 869)

( 0) Reading remote configuration

Wc(03). No cache support.

Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004/Debug\LPC54S018.xml

( 5) Remote configuration complete

Reconnected to existing LinkServer process.

Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)

Serial Number: F4ON0DG121ZHK

VID:PID: 1FC9:0143

USB Path: 0001:000f:00

Using memory from core 0 after searching for a good core

On debug connection - use system reset, stalling when 0x40000040 is accessed

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Boot ROM stalled - at read watch #1 address 0x40000040

( 30) Emulator Connected

( 40) Debug Halt

( 50) CPU ID

debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0

processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0

number of h/w breakpoints = 6

number of flash patches = 2

number of h/w watchpoints = 4

Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>

Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.

Content of CoreSight Debug ROM(s):

RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)

ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)

ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)

ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)

ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)

ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU

ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core

NXP: LPC54S018

DAP stride is 4096 bytes (1024 words)

( 65) Chip Setup Complete

Connected: was_reset=false. was_stopped=true

( 70) License Check Complete

File 'lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004.bin' load failure: Ef(11). No flash configured at the specified address.

(100) Target Operation Failed

Unable to perform operation!

Command failed with exit code 1

 

Thanks,

6/16/2025

 

 

Labels (1)
0 Kudos
Reply
1 Solution
2,451 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

I got some new idea from our internal team.

You can check the ISP pins, to ensure that the chip boot type is SPIFI flash boot.

Harry_Zhang_0-1752747936082.png

And they suggest to refer to the AN12122 .

You can use lpcxpresso54s018_hello_world_qspi_xip this demo.

BR

Harry

View solution in original post

0 Kudos
Reply
22 Replies
2,983 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

I have a question.

According to your need.

Harry_Zhang_0-1750131247424.png

Why you select the "link application to ram"

You can deselect this, and try again.

BR

Harry

0 Kudos
Reply
2,964 Views
mtsang
Contributor III

Hi Harry,

 

     I deselect the "Link Application to RAM" and I got the below error message:

 

Executing flash operation 'Program' (Program file into flash: Debug\lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI003.axf) - Tue Jun 17 12:17:21 PDT 2025

Checking MCU info...

Scanning for targets...

Executing flash action...

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink.exe build 869)

( 0) Reading remote configuration

Wc(03). No cache support.

Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI003/Debug\LPC54S018.xml

( 5) Remote configuration complete

Reconnected to existing LinkServer process.

Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)

Serial Number: F4ON0DG121ZHK

VID:PID: 1FC9:0143

USB Path: 0001:0018:00

Using memory from core 0 after searching for a good core

On debug connection - use system reset, stalling when 0x40000040 is accessed

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Waiting for target to stop...

Warning - processor did not halt - gave up waiting

( 30) Emulator Connected

( 40) Debug Halt

( 50) CPU ID

debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0

processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0

number of h/w breakpoints = 6

number of flash patches = 2

number of h/w watchpoints = 4

Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>

Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.

Content of CoreSight Debug ROM(s):

RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)

ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)

ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)

ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)

ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)

ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU

ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core

NXP: LPC54S018

DAP stride is 4096 bytes (1024 words)

Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx

Image 'LPC540xx_JEDEC_SFDP Dec 18 2024 17:26:01'

Opening flash driver LPC540xx_SPIFI_SFDP.cfx

Using SOFT reset to run the flash driver

rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)

Driver V.2 dynamic startup failed - driver Init provided no flash parameters

Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.

Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc 15 (0xF)

chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.

failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx

( 65) Chip Setup Complete

(100) Target Operation Failed

Unable to perform operation!

Command failed with exit code 1

 

Thanks,

6/17/2025

0 Kudos
Reply
2,930 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

From your log:

Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.

The SPIFI  flash driver attempted to probe your external flash device via SFDP, but failed to identify valid parameters for your flash.

What is the exact part number of the flash IC on your custom board?

Check its datasheet for SFDP support — not all parts provide SFDP data.

BR

Harry

 

0 Kudos
Reply
2,924 Views
mtsang
Contributor III

Hi Harry,

 

     Thank you so much for the reply!

 

     I am using "IS25LP128F-JBLA3" for the custom board. According to the datasheet(please see attached IS25LP128F-JBLA3 datasheet), it seems to support SFDP. I am switching back to "LPC540xx_SPIFI_SFDP.cfx" for memory config.

mtsang_0-1750722446344.png

 

   I checked the "SPIFI Descriptor"  in the "LPC54S018JET180E lpcxpresso54s018_hello_world_qspi_xip" startup_lpc54018.c

I saw the SPIFI Descriptor :

#ifdef W25Q128JVFM

/* SPIFI Descriptor - W25Q128JVFM */

(void (*)(void))0x00000000, // 0xFFFFFFFF to default 1-bit SPI mode ;DevStrAdr

(void (*)(void))0x001870EF, // mfgId + extCount

(void (*)(void))0x00000000, // extid 0-3

(void (*)(void))0x00000000, // extid 4-7

(void (*)(void))0x0001001D, // caps

(void (*)(void))0x00000100, // Blks + RESV1

(void (*)(void))0x00010000, // blkSize

(void (*)(void))0x00000000, // subBlks + subBlkSize

(void (*)(void))0x00000100, // pageSize + RESV2

(void (*)(void))0x00003F00, // maxReadSize

(void (*)(void))0x68506850, // maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate

(void (*)(void))0x04030050, // maxHSProgramRate,initDeInitFxId,clearStatusFxId,getStatusFxId,

(void (*)(void))0x14110D09, // setStatusFxId,setOptionsFxId,getReadCmdFxId,getWriteCmdFxId

#endif

 

     Should I change the SPIFI Descriptor(I modified the Bold Text)? Also I am unsure what to change for the under-line section. What else I need to change in order to make the example project works on my custom board:

 

#ifdef IS25LP128F-JBLA3

/* SPIFI Descriptor - IS25LP128F-JBLA3 */

(void (*)(void))0x00000000, // 0xFFFFFFFF to default 1-bit SPI mode ;DevStrAdr

(void (*)(void))0x001870EF, // mfgId + extCount

(void (*)(void))0x00000000, // extid 0-3

(void (*)(void))0x00000000, // extid 4-7

(void (*)(void))0x0001001D, // caps

(void (*)(void))0x00000100, // Blks + RESV1

(void (*)(void))0x00010000, // blkSize

(void (*)(void))0x00000000, // subBlks + subBlkSize

(void (*)(void))0x00000100, // pageSize + RESV2

(void (*)(void))0x00003F00, // maxReadSize

(void (*)(void))0x68506850, // maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate

(void (*)(void))0x04030050, // maxHSProgramRate,initDeInitFxId,clearStatusFxId,getStatusFxId,

(void (*)(void))0x14110D09, // setStatusFxId,setOptionsFxId,getReadCmdFxId,getWriteCmdFxId

#endif

 

Thanks,

6/23/2025

0 Kudos
Reply
2,904 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

You are right. You need to modify the SPIFI Descriptor.

Harry_Zhang_0-1750818147320.png

You currently have:

(void (*)(void))0x001870EF, // mfgId + extCount

This corresponds to:

mfgId = 0xEF (Winbond, not correct for IS25LP128F)

device ID = 0x70 (part of JEDEC ID for W25Q128)

But for IS25LP128F, the JEDEC ID is:
 
Manufacturer ID = 0x9D (ISSI)
Memory type = 0x60
Capacity = 0x18
 
So you should change:
 
(void (*)(void))0x0018609D, // mfgId + extCount (extCount = 1, mfgId = 0x9D, memType = 0x60, capacity = 0x18)
 
And you should also verify

(void (*)(void))0x04030050, // maxHSProgramRate,initDeInitFxId,clearStatusFxId,getStatusFxId,

(void (*)(void))0x14110D09, // setStatusFxId,setOptionsFxId,getReadCmdFxId,getWriteCmdFxId

BR

Harry

0 Kudos
Reply
2,834 Views
mtsang
Contributor III

Hi Harry,

 

     Sorry for the late reply and thanks for the infos.

 

     I am still confused about how to find the info marked with BOLD Text. Can you please provide advice on how to find those infos in the IS25LP128F datasheet.

 

     Also for the macro marked with BOLD text. Once I changed the macro, is there anything I need to change to the entire project setup like (Project Setting, 'startup_lpc54018.c', etc)

 

 

What I found so far, please double check if I am correct

//maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate

Clock Frequency except for fast read: 166Mhz (A3h)

Clock Frequency for read (03h): 80Mhz (50h)

 

 

#ifdef IS25LP128F-JBLA3

/* SPIFI Descriptor - IS25LP128F-JBLA3 */

(void (*)(void))0x00000000, // 0xFFFFFFFF to default 1-bit SPI mode ;DevStrAdr

(void (*)(void))0x0018609D, // mfgId + extCount

(void (*)(void))0x00000000, // extid 0-3

(void (*)(void))0x00000000, // extid 4-7

(void (*)(void))0x0001001D, // caps

(void (*)(void))0x00000100, // Blks + RESV1

(void (*)(void))0x00010000, // blkSize

(void (*)(void))0x00000000, // subBlks + subBlkSize

(void (*)(void))0x00000100, // pageSize + RESV2

(void (*)(void))0x00003F00, // maxReadSize

(void (*)(void))0x68506850, // maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate

(void (*)(void))0x04030050, // maxHSProgramRate,initDeInitFxId,clearStatusFxId,getStatusFxId,

(void (*)(void))0x14110D09, // setStatusFxId,setOptionsFxId,getReadCmdFxId,getWriteCmdFxId

#endif

 

 

Thanks,

6/30/2025

0 Kudos
Reply
2,819 Views
mtsang
Contributor III

Hi Harry,

 

     Sorry for the late reply and thanks for the info.

 

     However I am still confused about how to find the info marked with Red Text. Can you please provide advice on how to find those infos in the IS25LP128F datasheet.

 

     Also for the macro marked with blue text. Once I changed the macro, is there anything I need to change to the entire project setup like (Project Setting, 'startup_lpc54018.c', etc)

 

Here's what I found, please double check if they are correct:

//maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate

Clock Frequency except for fast read: 166Mhz (A3h)

Clock Frequency for read (03h): 80Mhz (50h)

 

#ifdef IS25LP128F-JBLA3
/* SPIFI Descriptor - IS25LP128F-JBLA3 */
(void (*)(void))0x00000000, // 0xFFFFFFFF to default 1-bit SPI mode ;DevStrAdr
(void (*)(void))0x0018609D, // mfgId + extCount
(void (*)(void))0x00000000, // extid 0-3
(void (*)(void))0x00000000, // extid 4-7
(void (*)(void))0x0001001D, // caps
(void (*)(void))0x00000100, // Blks + RESV1
(void (*)(void))0x00010000, // blkSize
(void (*)(void))0x00000000, // subBlks + subBlkSize
(void (*)(void))0x00000100, // pageSize + RESV2
(void (*)(void))0x00003F00, // maxReadSize
(void (*)(void))0x68506850, // maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate
(void (*)(void))0x04030050, // maxHSProgramRate,initDeInitFxId,clearStatusFxId,getStatusFxId,
(void (*)(void))0x14110D09, // setStatusFxId,setOptionsFxId,getReadCmdFxId,getWriteCmdFxId
#endif

 

Thanks,

6/30/2025

 

0 Kudos
Reply
2,811 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

About the different register define.

I think you can refer to the UM11060 Table 12. Image header for the LPC540xx devices.

Harry_Zhang_0-1751534175887.png

I checked the IS25LP128F-JBLA3 DATA SHEET.

Regarding how to configure relevant parameters, let me give an example to illustrate.

1.

Harry_Zhang_1-1751534357585.png

Harry_Zhang_2-1751534370777.png

 

So setStatusFxId is 0B.

2.

Harry_Zhang_3-1751534407332.png

Harry_Zhang_4-1751534417924.png

So setOptionsFxId is 0F

3.

Harry_Zhang_5-1751534464732.png

Harry_Zhang_6-1751534473098.png

So the getReadCmdFxId is 0x11.

4.

Harry_Zhang_7-1751534602436.png

Harry_Zhang_8-1751534610155.png

 

So getStatusFxId is 06.

And so on.

And i write one based on the  IS25LP128F-JBLA3 data sheet and the  SDK startup_lpc54s018.c

#ifdef IS25LP128F-JBLA3

/* SPI Descriptor - IS25LP128F-JBLA3 */

(void (*)(void))0x00000000, // 0xFFFFFFFF to default 1-bit SPI mode ;DevStrAdr

(void (*)(void))0x0018609D, // mfgId + extCount

(void (*)(void))0x00000000, // extid 0-3

(void (*)(void))0x00000000, // reserved

(void (*)(void))0x1301001D, // caps

(void (*)(void))0x00000100, // Blks + RESV1

(void (*)(void))0x00010000, // blkSize

(void (*)(void))0x00000000, // reserved

(void (*)(void))0x00000100, // pageSize + RESV2

(void (*)(void))0x00003F00, // maxReadSize

(void (*)(void))0x68506850, // maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate

(void (*)(void))0x06020050, // maxHSProgramRate,initDeInitFxId,clearStatusFxId,getStatusFxId

(void (*)(void))0x14110F0B, // setStatusFxId,setOptionsFxId,getReadCmdFxId,getWriteCmdFxId


#endif

You can double check.

And then 

Harry_Zhang_9-1751534964690.png

You can replace it with IS25LP128F-JBLA3.

BR

Harry

0 Kudos
Reply
2,807 Views
mtsang
Contributor III

Hi Harry,

 

Thanks for your detailed response, but I am still getting the same error.

 

Executing flash operation 'Program' (Program file into flash: Debug\lpc54018iotmodule_hello_world_lpc54018iotmodule.axf) - Thu Jul 03 14:29:23 PDT 2025

Checking MCU info...

Scanning for targets...

Executing flash action...

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink.exe build 869)

( 0) Reading remote configuration

Wc(03). No cache support.

Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpc54018iotmodule_hello_world_lpc54018iotmodule/Debug\LPC54018.xml

( 5) Remote configuration complete

Reconnected to existing LinkServer process.

Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)

Serial Number: F4ON0DG121ZHK

VID:PID: 1FC9:0143

USB Path: 0001:001a:00

Using memory from core 0 after searching for a good core

On debug connection - use system reset, stalling when 0x40000040 is accessed

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Waiting for target to stop...

Warning - processor did not halt - gave up waiting

( 30) Emulator Connected

( 40) Debug Halt

( 50) CPU ID

debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0

processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0

number of h/w breakpoints = 6

number of flash patches = 2

number of h/w watchpoints = 4

Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>

Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.

Content of CoreSight Debug ROM(s):

RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)

ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)

ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)

ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)

ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)

ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU

ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core

NXP: LPC54018

DAP stride is 4096 bytes (1024 words)

Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx

Image 'LPC540xx_JEDEC_SFDP Dec 18 2024 17:26:01'

Opening flash driver LPC540xx_SPIFI_SFDP.cfx

Using SOFT reset to run the flash driver

rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)

Driver V.2 dynamic startup failed - driver Init provided no flash parameters

Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.

Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc 15 (0xF)

chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.

failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx

( 65) Chip Setup Complete

(100) Target Operation Failed

Unable to perform operation!

Command failed with exit code 1

 

Thanks,

7/3/2025

0 Kudos
Reply
2,780 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

Can you share your schematic about the flash?

BR

Harry

0 Kudos
Reply
2,762 Views
mtsang
Contributor III

Hi Harry,

 

     Sure! Attached is the schematics of the SPI NOR FLASH.

mtsang_0-1751905034408.png

SPIFI_CSN -> LPC54S018JET180E_N7
SPIFI_IO0 -> LPC54S018JET180E_M7
SPIFI_IO1 -> LPC54S018JET180E_K8
SPIFI_IO2 -> LPC54S018JET180E_M9
SPIFI_IO3 -> LPC54S018JET180E_L9
SPIFI_SCK -> LPC54S018JET180E_M13

 

Thanks,

7/7/2025

 

0 Kudos
Reply
2,756 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

I think your schematics of the SPI NOR FLASH is wrong.

In the NOR FLASH Data sheet.

Harry_Zhang_1-1751941589704.png

PIN 5 SI should be connected IO0.

PIN 2 SO should be connected IO1.

 

Harry_Zhang_0-1751941477649.png

But in your schematic.

PIN 5 SI is connected IO1.

BR

Harry

0 Kudos
Reply
2,742 Views
mtsang
Contributor III

Hi Harry,

 

     Thanks for the schematics correction! However it seems like I am able to flash the .bin file to the SPI NOR Flash, but the MCU is not able to boot from the SPI NOR Flash. I installed and removed PIO0_6 pull-up resistor but it didnt help.

mtsang_0-1752105091192.png

mtsang_1-1752105341409.png

 

 

 

Flash the SPI NOR FLASH

Executing flash operation 'Program' (Program file into flash: Debug\lpc54018iotmodule_hello_world_lpc54018iotmodule.axf) - Wed Jul 09 16:39:19 PDT 2025

Checking MCU info...

Scanning for targets...

Executing flash action...

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink.exe build 869)

( 0) Reading remote configuration

Wc(03). No cache support.

Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpc54018iotmodule_hello_world_lpc54018iotmodule/Debug\LPC54018.xml

( 5) Remote configuration complete

Reconnected to existing LinkServer process.

Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)

Serial Number: F4ON0DG121ZHK

VID:PID: 1FC9:0143

USB Path: 0001:000b:00

Using memory from core 0 after searching for a good core

On debug connection - use system reset, stalling when 0x40000040 is accessed

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Waiting for target to stop...

Warning - processor did not halt - gave up waiting

( 30) Emulator Connected

( 40) Debug Halt

( 50) CPU ID

debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0

processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0

number of h/w breakpoints = 6

number of flash patches = 2

number of h/w watchpoints = 4

Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>

Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.

Content of CoreSight Debug ROM(s):

RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)

ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)

ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)

ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)

ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)

ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU

ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core

NXP: LPC54018

DAP stride is 4096 bytes (1024 words)

Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx

Image 'LPC540xx_JEDEC_SFDP Dec 18 2024 17:26:01'

Opening flash driver LPC540xx_SPIFI_SFDP.cfx

Using SOFT reset to run the flash driver

rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)

Flash variant 'JEDEC_SFDP_9D6018' detected (16MB = 256*64K at 0x10000000)

Closing flash driver LPC540xx_SPIFI_SFDP.cfx

( 65) Chip Setup Complete

Connected: was_reset=false. was_stopped=false

( 70) License Check Complete

Loading 'lpc54018iotmodule_hello_world_lpc54018iotmodule.axf' ELF 0x10000000 len 0x3BA4

Opening flash driver LPC540xx_SPIFI_SFDP.cfx (already resident)

Using SOFT reset to run the flash driver

Flash variant 'JEDEC_SFDP_9D6018' detected (16MB = 256*64K at 0x10000000)

Writing 15268 bytes to address 0x10000000 in Flash

1 of 1 ( 0) Writing sectors 0-0 at 0x10000000 with 15268 bytes

( 0) at 10000000: 0 bytes - 0/15268

(100) at 10000000: 65536 bytes - 65536/15268

Sectors written: 0, unchanged: 1, total: 1

Erased/Wrote sector 0-0 with 15268 bytes in 30msec

Closing flash driver LPC540xx_SPIFI_SFDP.cfx

(100) Finished writing Flash successfully.

Flash Write Done

Loaded 0x3BA4 bytes in 89ms (about 171kB/s)

Reset target (romstall)

Starting execution using system reset with a stall address

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Boot ROM stalled accessing address 0x40000040 (restoring watchpoint 1)

Stopped (Was Reset) [Reset from Unknown]: Watchpoint (Temp) #1 - read watchpoint at 0x40000040 Data watch for bootloader stall

restart on reset

 

Verify the SPI NOR FLASH's content

Executing flash operation 'Program' (Program file into flash: lpc54018iotmodule_hello_world_lpc54018iotmodule.bin) - Wed Jul 09 16:43:17 PDT 2025

Checking MCU info...

Scanning for targets...

Executing flash action...

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink.exe build 869)

( 0) Reading remote configuration

Wc(03). No cache support.

Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpc54018iotmodule_hello_world_lpc54018iotmodule/Debug\LPC54018.xml

( 5) Remote configuration complete

Reconnected to existing LinkServer process.

Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)

Serial Number: F4ON0DG121ZHK

VID:PID: 1FC9:0143

USB Path: 0001:000b:00

Using memory from core 0 after searching for a good core

On debug connection - use system reset, stalling when 0x40000040 is accessed

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Boot ROM stalled - at read watch #1 address 0x40000040

( 30) Emulator Connected

( 40) Debug Halt

( 50) CPU ID

debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0

processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0

number of h/w breakpoints = 6

number of flash patches = 2

number of h/w watchpoints = 4

Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>

Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.

Content of CoreSight Debug ROM(s):

RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)

ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)

ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)

ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)

ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)

ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU

ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core

NXP: LPC54018

DAP stride is 4096 bytes (1024 words)

Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx

Image 'LPC540xx_JEDEC_SFDP Dec 18 2024 17:26:01'

Opening flash driver LPC540xx_SPIFI_SFDP.cfx

Using SOFT reset to run the flash driver

Flash variant 'JEDEC_SFDP_9D6018' detected (16MB = 256*64K at 0x10000000)

Closing flash driver LPC540xx_SPIFI_SFDP.cfx

( 65) Chip Setup Complete

Connected: was_reset=false. was_stopped=true

( 70) License Check Complete

Verifying 'lpc54018iotmodule_hello_world_lpc54018iotmodule.bin' Binary section 0 at 0x10000000 len 0x3BA4

Opening flash driver LPC540xx_SPIFI_SFDP.cfx (already resident)

Using SOFT reset to run the flash driver

Flash variant 'JEDEC_SFDP_9D6018' detected (16MB = 256*64K at 0x10000000)

( 0) Comparing Flash against file at 0x10000000

Closing flash driver LPC540xx_SPIFI_SFDP.cfx

(100) File matches flash.

Read 0x3BA4 bytes in 41ms (about 372kB/s) - verify succeeded

 

Thanks,

7/9/2025

0 Kudos
Reply
2,737 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

If you want to XIP.

Did you try to change to it in startup_lpc54s018.c?

#ifdef IS25LP128F-JBLA3

/* SPI Descriptor - IS25LP128F-JBLA3 */

(void (*)(void))0x00000000, // 0xFFFFFFFF to default 1-bit SPI mode ;DevStrAdr

(void (*)(void))0x0018609D, // mfgId + extCount

(void (*)(void))0x00000000, // extid 0-3

(void (*)(void))0x00000000, // reserved

(void (*)(void))0x1301001D, // caps

(void (*)(void))0x00000100, // Blks + RESV1

(void (*)(void))0x00010000, // blkSize

(void (*)(void))0x00000000, // reserved

(void (*)(void))0x00000100, // pageSize + RESV2

(void (*)(void))0x00003F00, // maxReadSize

(void (*)(void))0x68506850, // maxClkRate,maxReadRate,maxHSReadRate,maxProgramRate

(void (*)(void))0x06020050, // maxHSProgramRate,initDeInitFxId,clearStatusFxId,getStatusFxId

(void (*)(void))0x14110F0B, // setStatusFxId,setOptionsFxId,getReadCmdFxId,getWriteCmdFxId


#endif

BR

Harry

0 Kudos
Reply
2,731 Views
mtsang
Contributor III

Hi Harry,

 

     I used the SPIFI descriptor you posted, but still it has the same problem.

mtsang_0-1752169954651.png

mtsang_1-1752177158609.png

 

 

I got the following error message after I clicked on "Debug with Linkserver Probes"

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink build 869)

Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpc54018iotmodule_hello_world_lpc54018iotmodule/Debug\LPC54018.xml

( 5) Remote configuration complete

Reconnected to existing LinkServer process.

Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)

Serial Number: F4ON0DG121ZHK

VID:PID: 1FC9:0143

USB Path: 0001:0014:00

Using memory from core 0 after searching for a good core

On debug connection - use system reset, stalling when 0x40000040 is accessed

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Boot ROM stalled - at read watch #1 address 0x40000040

debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0

processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0

number of h/w breakpoints = 6

number of flash patches = 2

number of h/w watchpoints = 4

Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>

Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.

Content of CoreSight Debug ROM(s):

RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)

ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)

ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)

ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)

ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)

ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU

ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core

NXP: LPC54018

DAP stride is 4096 bytes (1024 words)

Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx

Image 'LPC540xx_JEDEC_SFDP Dec 18 2024 17:26:01'

Opening flash driver LPC540xx_SPIFI_SFDP.cfx

SYSRESETREQ reset omitted - already reset

Flash variant 'JEDEC_SFDP_9D6018' detected (16MB = 256*64K at 0x10000000)

Closing flash driver LPC540xx_SPIFI_SFDP.cfx

Connected: was_reset=false. was_stopped=true

Awaiting telnet connection to port 3330 ...

GDB nonstop mode enabled

Opening flash driver LPC540xx_SPIFI_SFDP.cfx (already resident)

Retask watch 0 <NONE> address 0x0 (unused) for boot rom stall

Sending SYSRESETREQ to run flash driver

Boot ROM stalled accessing address 0x40000040 (restoring watchpoint 1)

AFTER driver startup timeout (302 5ms retries)

Driver Addresses

Start: 00000000

Entry: 0000009D

End: 0000128C

Stack: 00002290

Mailbox:0000A290

Driver Register State

R0: 0000A290

R1: 00000000

R2: 00000000

R3: 00000000

R4: 00000000

R5: 00000000

R6: 00000000

R7: 00000000

R8: 00000000

R9: 00000000

R10: 00000000

R11: 00000000

R12: 00000000

SP: 00002290

LR: 0000009D

PC: 000000A0

xPSR: 61000000

MSP: 00002290

PSP: 00002290

CFBP: 00010001 (CONTROL=0x0, FAULTMASK=0x1, BASEPRI=0x0, PRIMASK=0x1)

Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.

(100) Writing Flash ended with an error.

Target error from Commit Flash write: Ef(34): Timed-out initializing flash.

GDB stub (C:\nxp\LinkServer_24.12.21\binaries\crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.

 

Thanks,

7/10/2025

 

 

0 Kudos
Reply
2,554 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

Can you debug successfully?

BR

Harry

0 Kudos
Reply
2,514 Views
mtsang
Contributor III

Hi Harry,

 

     I can't debug the unit. It has below error output.

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink build 869)
Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpc54018iotmodule_hello_world_lpc54018iotmodule/Debug\LPC54018.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)
Serial Number: F4ON0DG121ZHK
VID:PID: 1FC9:0143
USB Path: 0001:0009:00
Using memory from core 0 after searching for a good core
On debug connection - use system reset, stalling when 0x40000040 is accessed
Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall
Waiting for target to stop...
Warning - processor did not halt - gave up waiting
debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0
processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0
number of h/w breakpoints = 6
number of flash patches = 2
number of h/w watchpoints = 4
Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.
Content of CoreSight Debug ROM(s):
RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)
ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)
ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)
ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)
ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)
ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU
ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core
NXP: LPC54018
DAP stride is 4096 bytes (1024 words)
Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx
Image 'LPC540xx_JEDEC_SFDP Dec 18 2024 17:26:01'
Opening flash driver LPC540xx_SPIFI_SFDP.cfx
Sending SYSRESETREQ to run flash driver
rst - Boot ROM stall address was not accessed (but we entered debug on VectorCatch anyway)
There was a problem after we succesfully downloaded flash driver code to the target, so we are going to compare the flash driver code with the memory where it was loaded.
Note that, after driver initialization, some difference is normal in 'generic' drivers.

Driver from AXF file:

//------------------
//Flash Data
//------------------

AFTER driver startup timeout (302 5ms retries)
Driver Addresses
Start: 00000000
Entry: 0000009D
End: 0000128C
Stack: 00002290
Mailbox:0000A290
Driver Register State
R0: 00000000
R1: 200273F8
R2: 0300AF21
R3: 00000000
R4: 40000000
R5: 00000000
R6: 00000000
R7: 00000000
R8: 00000000
R9: 00000000
R10: 00000000
R11: 00000000
R12: 00000000
SP: 00002288
LR: 0300BBA5
PC: 0300BDF2
xPSR: 21000000
MSP: 00002288
PSP: 00002290
CFBP: 00000001 (CONTROL=0x0, FAULTMASK=0x0, BASEPRI=0x0, PRIMASK=0x1)
Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.
chip initialization failed - Ef(34): Timed-out initializing flash.
failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx

 

I click on "Attach to running target using Link server", and there what I got:

mtsang_0-1752530662089.png

 

I clicked on the "Verify Only" in the GUI Flash Tool and it seems to be able to download the .bin file to the SPI NOR Flash

Executing flash operation 'Program' (Program file into flash: lpc54018iotmodule_hello_world_lpc54018iotmodule.bin) - Mon Jul 14 15:05:56 PDT 2025

Checking MCU info...

Scanning for targets...

Executing flash action...

LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink.exe build 869)

( 0) Reading remote configuration

Wc(03). No cache support.

Found chip XML file in C:/Users/tsangm/Documents/MCUXpressoIDE_24.12.148/workspace/lpc54018iotmodule_hello_world_lpc54018iotmodule/Debug\LPC54018.xml

( 5) Remote configuration complete

Reconnected to existing LinkServer process.

Probe Firmware: MCU-LINK Pro (r0CF) CMSIS-DAP V3.153 (NXP Semiconductors)

Serial Number: F4ON0DG121ZHK

VID:PID: 1FC9:0143

USB Path: 0001:0009:00

Using memory from core 0 after searching for a good core

On debug connection - use system reset, stalling when 0x40000040 is accessed

Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall

Waiting for target to stop...

Warning - processor did not halt - gave up waiting

( 30) Emulator Connected

( 40) Debug Halt

( 50) CPU ID

debug interface type = CoreSight DP (DAP DP ID 2BA01477) over SWD TAP 0

processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0

number of h/w breakpoints = 6

number of flash patches = 2

number of h/w watchpoints = 4

Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>

Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.

Content of CoreSight Debug ROM(s):

RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)

ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)

ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)

ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)

ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)

ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU

ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core

NXP: LPC54018

DAP stride is 4096 bytes (1024 words)

Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx

Image 'LPC540xx_JEDEC_SFDP Dec 18 2024 17:26:01'

Opening flash driver LPC540xx_SPIFI_SFDP.cfx

Using SOFT reset to run the flash driver

rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)

Flash variant 'JEDEC_SFDP_9D6018' detected (16MB = 256*64K at 0x10000000)

Closing flash driver LPC540xx_SPIFI_SFDP.cfx

( 65) Chip Setup Complete

Connected: was_reset=false. was_stopped=false

( 70) License Check Complete

Verifying 'lpc54018iotmodule_hello_world_lpc54018iotmodule.bin' Binary section 0 at 0x10000000 len 0x3BA4

Opening flash driver LPC540xx_SPIFI_SFDP.cfx (already resident)

Using SOFT reset to run the flash driver

Flash variant 'JEDEC_SFDP_9D6018' detected (16MB = 256*64K at 0x10000000)

( 0) Comparing Flash against file at 0x10000000

Closing flash driver LPC540xx_SPIFI_SFDP.cfx

(100) File matches flash.

Read 0x3BA4 bytes in 43ms (about 355kB/s) - verify succeeded

 

Thanks,

7/14/2025

0 Kudos
Reply
2,465 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

I think this may be due to an incorrect SPI Descriptor, but unfortunately, I don't have a flash chip(IS25LP128F-JBLA3) on hand, so i can not test it, i will seek help from internal team. 

I will inform you as soon as there is a result. Thanks for  your understanding.

BR

Harry

0 Kudos
Reply
2,452 Views
mtsang
Contributor III

Hi Harry,

 

     Thank you so much for your help and please give me an update if you got a result from the internal team. How soon will I hear back from you or the internal team?

 

     Can you think of any other part of the schematics/code that will cause the board to be able to upload/erase code to the SPI NOR Flash but not able to boot and debug? I will double check base on your suggestion.

 

     Currently I am using "lpc54018iotmodule_hello_world" example.

 

Thanks,

7/15/2025

0 Kudos
Reply
2,452 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @mtsang 

I got some new idea from our internal team.

You can check the ISP pins, to ensure that the chip boot type is SPIFI flash boot.

Harry_Zhang_0-1752747936082.png

And they suggest to refer to the AN12122 .

You can use lpcxpresso54s018_hello_world_qspi_xip this demo.

BR

Harry

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2117141%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECustom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2117141%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20am%20trying%20to%20import%20a%20%22lpcxpresso54s018_hello_world_qspi_xip%22%20to%20my%20custom%20board.%20But%20I%20got%20an%20error%20message%20%3CU%3E%22File%20'lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004.bin'%20load%20failure%3A%20Ef(11).%20No%20flash%20configured%20at%20the%20specified%20address.%22%3C%2FU%3E%26nbsp%3B.%20The%20goal%20is%20to%20upload%20an%20image%20to%20the%20EXT%20SPI%20FLASH%20and%20the%20MCU%20will%20boot%20from%20the%20EXT%20SPI%20FLASH.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BCan%20anyone%20please%20give%20an%20advice%20on%20how%20to%20fix%20the%20issue%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22LPC54S018%20Daughter%20Board.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22LPC54S018%20Daughter%20Board.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343138iEC23E211253AFF44%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22LPC54S018%20Daughter%20Board.jpg%22%20alt%3D%22LPC54S018%20Daughter%20Board.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_0-1750096942687.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_0-1750096942687.png%22%20style%3D%22width%3A%20641px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343142i93A89B6D6943566A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_0-1750096942687.png%22%20alt%3D%22mtsang_0-1750096942687.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_3-1750096039885.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_3-1750096039885.png%22%20style%3D%22width%3A%20626px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343136i0A3B0AC4267A58F7%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_3-1750096039885.png%22%20alt%3D%22mtsang_3-1750096039885.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_4-1750096101688.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_4-1750096101688.png%22%20style%3D%22width%3A%20813px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343137i3177FEB443D037D9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_4-1750096101688.png%22%20alt%3D%22mtsang_4-1750096101688.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CEM%3EError%20Message%3A%3C%2FEM%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20operation%20'Program'%20(Program%20file%20into%20flash%3A%20lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004.bin)%20-%20Mon%20Jun%2016%2010%3A48%3A33%20PDT%202025%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EChecking%20MCU%20info...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EScanning%20for%20targets...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20action...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink.exe%20build%20869)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Reading%20remote%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWc(03).%20No%20cache%20support.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004%2FDebug%5CLPC54S018.xml%3C%2FP%3E%3CP%3E%3CSPAN%3E(%205)%20Remote%20configuration%20complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReconnected%20to%20existing%20LinkServer%20process.%3C%2FP%3E%3CP%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3C%2FP%3E%3CP%3ESerial%20Number%3A%20F4ON0DG121ZHK%3C%2FP%3E%3CP%3EVID%3APID%3A%201FC9%3A0143%3C%2FP%3E%3CP%3EUSB%20Path%3A%200001%3A000f%3A00%3C%2FP%3E%3CP%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3C%2FP%3E%3CP%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3E%3CSPAN%3EBoot%20ROM%20stalled%20-%20at%20read%20watch%20%231%20address%200x40000040%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2030)%20Emulator%20Connected%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2040)%20Debug%20Halt%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2050)%20CPU%20ID%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3C%2FP%3E%3CP%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3C%2FP%3E%3CP%3Enumber%20of%20flash%20patches%20%3D%202%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3C%2FP%3E%3CP%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3C%2FP%3E%3CP%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3C%2FP%3E%3CP%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3C%2FP%3E%3CP%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3C%2FP%3E%3CP%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3C%2FP%3E%3CP%3ENXP%3A%20LPC54S018%3C%2FP%3E%3CP%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2065)%20Chip%20Setup%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EConnected%3A%20was_reset%3Dfalse.%20was_stopped%3Dtrue%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2070)%20License%20Check%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFile%20'lpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI004.bin'%20load%20failure%3A%20Ef(11).%20No%20flash%20configured%20at%20the%20specified%20address.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20Target%20Operation%20Failed%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EUnable%20to%20perform%20operation!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECommand%20failed%20with%20exit%20code%201%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E6%2F16%2F2025%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2117141%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC54xxx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2141117%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141117%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThanks%20for%20your%20advice%20on%20the%20PIO0_4%2C5%2C6!%3C%2FP%3E%3CBR%20%2F%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BAlthough%20I%20am%20unable%20to%20see%20the%20%22hello%20world%22%20message%20in%20the%20%22lpc54018iotmodule_led_blinky_Custom%20Board%20000%22%2C%26nbsp%3BI%20followed%20your%20instruction%20on%20PIO0_4%2C5%2C6%2C%20and%20I%20am%20able%20to%20run%20the%20%22lpcxpresso54s018_led_blinky_lpc_blinky_Custom%20Board%20000%22.%20I%20also%20disconnect%20the%20SWD%20and%20power%20on%20the%20custom%20board%20and%20the%20blink%20still%20on%20going%2C%20this%20should%20be%20enough%20to%20proof%20the%20SPI%20BOOT%20is%20working%20right%3F%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BHow%20do%20I%20view%20the%20%22Hello%20World%22%20message%20for%20the%20%22lpc54018iotmodule_led_blinky_Custom%20Board%20000%22%20project%3F%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BFor%20the%26nbsp%3BPIO0_4%2C5%2C6%2C%20if%20I%20set%20it%20to%20all%20high%20so%20it%20should%20be%20in%20auto-boot%20mode%2C%20I%20wonder%20why%20it%20will%20prevent%20from%20uploading%20.bin%20file%20to%20the%20SPI%20NOR%20FLASH%3F%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BAlso%2C%20can%20I%20use%20the%20MCU-LINK%20PRO%20and%20the%20MCUExpresso%20IDE%20for%20production%20programming%3F%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3EThanks%2C%3C%2FP%3E%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E7%2F25%2F2025%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2135715%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2135715%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20got%20some%20new%20idea%20from%20our%20internal%20team.%3C%2FP%3E%0A%3CP%3EYou%20can%20check%20the%26nbsp%3BISP%20pins%2C%20to%20ensure%20that%20the%20chip%20boot%20type%20is%20SPIFI%20flash%20boot.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1752747936082.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1752747936082.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348050i4BA7D4F2377B0D87%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1752747936082.png%22%20alt%3D%22Harry_Zhang_0-1752747936082.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20they%20suggest%20to%20refer%20to%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12122.pdf%3F_gl%3D1*185arxq*_ga*MjA0MDIwMTU1Ny4xNzUyMDUzMDQ2*_ga_WM5LE0KMSH*czE3NTI3NDU2NzIkbzM1JGcxJHQxNzUyNzQ3ODMyJGo1OSRsMCRoMTQ4MDMxNDgyMg..%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN12122%3C%2FA%3E%3CSPAN%3E%26nbsp%3B.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20can%20use%26nbsp%3Blpcxpresso54s018_hello_world_qspi_xip%20this%20demo.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2134379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThank%20you%20so%20much%20for%20your%20help%20and%20please%20give%20me%20an%20update%20if%20you%20got%20a%20result%20from%20the%20internal%20team.%20How%20soon%20will%20I%20hear%20back%20from%20you%20or%20the%20internal%20team%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BCan%20you%20think%20of%20any%20other%20part%20of%20the%20schematics%2Fcode%20that%20will%20cause%20the%20board%20to%20be%20able%20to%20upload%2Ferase%20code%20to%20the%20SPI%20NOR%20Flash%20but%20not%20able%20to%20boot%20and%20debug%3F%20I%20will%20double%20check%20base%20on%20your%20suggestion.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BCurrently%20I%20am%20using%20%22lpc54018iotmodule_hello_world%22%20example.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E7%2F15%2F2025%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2134047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%20this%20may%20be%20due%20to%20an%20incorrect%20SPI%20Descriptor%2C%20but%20unfortunately%2C%20I%20don't%20have%20a%20flash%20chip(IS25LP128F-JBLA3)%20on%20hand%2C%20so%20i%20can%20not%20test%20it%2C%20i%20will%20seek%20help%20from%20internal%20team.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20will%20inform%20you%20as%20soon%20as%20there%20is%20a%20result.%20Thanks%20for%26nbsp%3B%20your%20understanding.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2133564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CU%3EI%20can't%20debug%20the%20unit.%20It%20has%20below%20error%20output.%3C%2FU%3E%3C%2FP%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink%20build%20869)%3CBR%20%2F%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpc54018iotmodule_hello_world_lpc54018iotmodule%2FDebug%5CLPC54018.xml%3CBR%20%2F%3E(%205)%20Remote%20configuration%20complete%3CBR%20%2F%3EReconnected%20to%20existing%20LinkServer%20process.%3CBR%20%2F%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3CBR%20%2F%3ESerial%20Number%3A%20F4ON0DG121ZHK%3CBR%20%2F%3EVID%3APID%3A%201FC9%3A0143%3CBR%20%2F%3EUSB%20Path%3A%200001%3A0009%3A00%3CBR%20%2F%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3CBR%20%2F%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3CBR%20%2F%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3CBR%20%2F%3EWaiting%20for%20target%20to%20stop...%3CBR%20%2F%3EWarning%20-%20processor%20did%20not%20halt%20-%20gave%20up%20waiting%3CBR%20%2F%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3CBR%20%2F%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3CBR%20%2F%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3CBR%20%2F%3Enumber%20of%20flash%20patches%20%3D%202%3CBR%20%2F%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3CBR%20%2F%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3CBR%20%2F%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3CBR%20%2F%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3CBR%20%2F%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3CBR%20%2F%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3CBR%20%2F%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3CBR%20%2F%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3CBR%20%2F%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3CBR%20%2F%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3CBR%20%2F%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3CBR%20%2F%3ENXP%3A%20LPC54018%3CBR%20%2F%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3CBR%20%2F%3EInspected%20v.2%20External%20Flash%20Device%20on%20SPI%20LPC540xx_SPIFI_SFDP.cfx%3CBR%20%2F%3EImage%20'LPC540xx_JEDEC_SFDP%20Dec%2018%202024%2017%3A26%3A01'%3CBR%20%2F%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3CBR%20%2F%3ESending%20SYSRESETREQ%20to%20run%20flash%20driver%3CBR%20%2F%3Erst%20-%20Boot%20ROM%20stall%20address%20was%20not%20accessed%20(but%20we%20entered%20debug%20on%20VectorCatch%20anyway)%3CBR%20%2F%3EThere%20was%20a%20problem%20after%20we%20succesfully%20downloaded%20flash%20driver%20code%20to%20the%20target%2C%20so%20we%20are%20going%20to%20compare%20the%20flash%20driver%20code%20with%20the%20memory%20where%20it%20was%20loaded.%3CBR%20%2F%3ENote%20that%2C%20after%20driver%20initialization%2C%20some%20difference%20is%20normal%20in%20'generic'%20drivers.%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDriver%20from%20AXF%20file%3A%3C%2FP%3E%3CP%3E%2F%2F------------------%3CBR%20%2F%3E%2F%2FFlash%20Data%3CBR%20%2F%3E%2F%2F------------------%3C%2FP%3E%3CP%3EAFTER%20driver%20startup%20timeout%20(302%205ms%20retries)%3CBR%20%2F%3EDriver%20Addresses%3CBR%20%2F%3EStart%3A%2000000000%3CBR%20%2F%3EEntry%3A%200000009D%3CBR%20%2F%3EEnd%3A%200000128C%3CBR%20%2F%3EStack%3A%2000002290%3CBR%20%2F%3EMailbox%3A0000A290%3CBR%20%2F%3EDriver%20Register%20State%3CBR%20%2F%3ER0%3A%2000000000%3CBR%20%2F%3ER1%3A%20200273F8%3CBR%20%2F%3ER2%3A%200300AF21%3CBR%20%2F%3ER3%3A%2000000000%3CBR%20%2F%3ER4%3A%2040000000%3CBR%20%2F%3ER5%3A%2000000000%3CBR%20%2F%3ER6%3A%2000000000%3CBR%20%2F%3ER7%3A%2000000000%3CBR%20%2F%3ER8%3A%2000000000%3CBR%20%2F%3ER9%3A%2000000000%3CBR%20%2F%3ER10%3A%2000000000%3CBR%20%2F%3ER11%3A%2000000000%3CBR%20%2F%3ER12%3A%2000000000%3CBR%20%2F%3ESP%3A%2000002288%3CBR%20%2F%3ELR%3A%200300BBA5%3CBR%20%2F%3EPC%3A%200300BDF2%3CBR%20%2F%3ExPSR%3A%2021000000%3CBR%20%2F%3EMSP%3A%2000002288%3CBR%20%2F%3EPSP%3A%2000002290%3CBR%20%2F%3ECFBP%3A%2000000001%20(CONTROL%3D0x0%2C%20FAULTMASK%3D0x0%2C%20BASEPRI%3D0x0%2C%20PRIMASK%3D0x1)%3CBR%20%2F%3EFlash%20Driver%20V.2%20startup%20failed%20-%20rc%20Ef(34)%3A%20Timed-out%20initializing%20flash.%3CBR%20%2F%3Echip%20initialization%20failed%20-%20Ef(34)%3A%20Timed-out%20initializing%20flash.%3CBR%20%2F%3Efailed%20to%20initialize%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CU%3EI%20click%20on%20%22Attach%20to%20running%20target%20using%20Link%20server%22%2C%20and%20there%20what%20I%20got%3A%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_0-1752530662089.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_0-1752530662089.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F347473i4557B3F0A0D3AB8D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_0-1752530662089.png%22%20alt%3D%22mtsang_0-1752530662089.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CU%3EI%20clicked%20on%20the%20%22Verify%20Only%22%20in%20the%20GUI%20Flash%20Tool%20and%20it%20seems%20to%20be%20able%20to%20download%20the%20.bin%20file%20to%20the%20SPI%20NOR%20Flash%3C%2FU%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20operation%20'Program'%20(Program%20file%20into%20flash%3A%20lpc54018iotmodule_hello_world_lpc54018iotmodule.bin)%20-%20Mon%20Jul%2014%2015%3A05%3A56%20PDT%202025%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EChecking%20MCU%20info...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EScanning%20for%20targets...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20action...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink.exe%20build%20869)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Reading%20remote%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWc(03).%20No%20cache%20support.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpc54018iotmodule_hello_world_lpc54018iotmodule%2FDebug%5CLPC54018.xml%3C%2FP%3E%3CP%3E%3CSPAN%3E(%205)%20Remote%20configuration%20complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReconnected%20to%20existing%20LinkServer%20process.%3C%2FP%3E%3CP%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3C%2FP%3E%3CP%3ESerial%20Number%3A%20F4ON0DG121ZHK%3C%2FP%3E%3CP%3EVID%3APID%3A%201FC9%3A0143%3C%2FP%3E%3CP%3EUSB%20Path%3A%200001%3A0009%3A00%3C%2FP%3E%3CP%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3C%2FP%3E%3CP%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3EWaiting%20for%20target%20to%20stop...%3C%2FP%3E%3CP%3E%3CSPAN%3EWarning%20-%20processor%20did%20not%20halt%20-%20gave%20up%20waiting%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2030)%20Emulator%20Connected%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2040)%20Debug%20Halt%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2050)%20CPU%20ID%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3C%2FP%3E%3CP%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3C%2FP%3E%3CP%3Enumber%20of%20flash%20patches%20%3D%202%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3C%2FP%3E%3CP%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3C%2FP%3E%3CP%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3C%2FP%3E%3CP%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3C%2FP%3E%3CP%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3C%2FP%3E%3CP%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3C%2FP%3E%3CP%3ENXP%3A%20LPC54018%3C%2FP%3E%3CP%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3C%2FP%3E%3CP%3EInspected%20v.2%20External%20Flash%20Device%20on%20SPI%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EImage%20'LPC540xx_JEDEC_SFDP%20Dec%2018%202024%2017%3A26%3A01'%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3E%3CSPAN%3Erst%20-%20Boot%20ROM%20stall%20address%20was%20not%20accessed%20(but%20we%20entered%20debug%20on%20Halt%20anyway)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFlash%20variant%20'JEDEC_SFDP_9D6018'%20detected%20(16MB%20%3D%20256*64K%20at%200x10000000)%3C%2FP%3E%3CP%3EClosing%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2065)%20Chip%20Setup%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EConnected%3A%20was_reset%3Dfalse.%20was_stopped%3Dfalse%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2070)%20License%20Check%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EVerifying%20'lpc54018iotmodule_hello_world_lpc54018iotmodule.bin'%20Binary%20section%200%20at%200x10000000%20len%200x3BA4%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%20(already%20resident)%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3EFlash%20variant%20'JEDEC_SFDP_9D6018'%20detected%20(16MB%20%3D%20256*64K%20at%200x10000000)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Comparing%20Flash%20against%20file%20at%200x10000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EClosing%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20File%20matches%20flash.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ERead%200x3BA4%20bytes%20in%2043ms%20(about%20355kB%2Fs)%20-%20verify%20succeeded%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E7%2F14%2F2025%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2133193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20debug%20successfully%3F%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2131952%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2131952%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20used%20the%20SPIFI%20descriptor%20you%20posted%2C%20but%20still%20it%20has%20the%20same%20problem.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_0-1752169954651.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_0-1752169954651.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F347021iEABC7B35DEE8B332%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_0-1752169954651.png%22%20alt%3D%22mtsang_0-1752169954651.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_1-1752177158609.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_1-1752177158609.png%22%20style%3D%22width%3A%20802px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F347031i6EA42BD48564AA3A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_1-1752177158609.png%22%20alt%3D%22mtsang_1-1752177158609.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3EI%20got%20the%20following%20error%20message%20after%20I%20clicked%20on%20%22Debug%20with%20Linkserver%20Probes%22%3C%2FSTRONG%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink%20build%20869)%3C%2FP%3E%3CP%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpc54018iotmodule_hello_world_lpc54018iotmodule%2FDebug%5CLPC54018.xml%3C%2FP%3E%3CP%3E%3CSPAN%3E(%205)%20Remote%20configuration%20complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReconnected%20to%20existing%20LinkServer%20process.%3C%2FP%3E%3CP%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3C%2FP%3E%3CP%3ESerial%20Number%3A%20F4ON0DG121ZHK%3C%2FP%3E%3CP%3EVID%3APID%3A%201FC9%3A0143%3C%2FP%3E%3CP%3EUSB%20Path%3A%200001%3A0014%3A00%3C%2FP%3E%3CP%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3C%2FP%3E%3CP%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3E%3CSPAN%3EBoot%20ROM%20stalled%20-%20at%20read%20watch%20%231%20address%200x40000040%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3C%2FP%3E%3CP%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3C%2FP%3E%3CP%3Enumber%20of%20flash%20patches%20%3D%202%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3C%2FP%3E%3CP%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3C%2FP%3E%3CP%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3C%2FP%3E%3CP%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3C%2FP%3E%3CP%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3C%2FP%3E%3CP%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3C%2FP%3E%3CP%3ENXP%3A%20LPC54018%3C%2FP%3E%3CP%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3C%2FP%3E%3CP%3EInspected%20v.2%20External%20Flash%20Device%20on%20SPI%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EImage%20'LPC540xx_JEDEC_SFDP%20Dec%2018%202024%2017%3A26%3A01'%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3ESYSRESETREQ%20reset%20omitted%20-%20already%20reset%3C%2FP%3E%3CP%3EFlash%20variant%20'JEDEC_SFDP_9D6018'%20detected%20(16MB%20%3D%20256*64K%20at%200x10000000)%3C%2FP%3E%3CP%3EClosing%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EConnected%3A%20was_reset%3Dfalse.%20was_stopped%3Dtrue%3C%2FP%3E%3CP%3EAwaiting%20telnet%20connection%20to%20port%203330%20...%3C%2FP%3E%3CP%3EGDB%20nonstop%20mode%20enabled%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%20(already%20resident)%3C%2FP%3E%3CP%3ERetask%20watch%200%20%3CNONE%3E%20address%200x0%20(unused)%20for%20boot%20rom%20stall%3C%2FNONE%3E%3C%2FP%3E%3CP%3ESending%20SYSRESETREQ%20to%20run%20flash%20driver%3C%2FP%3E%3CP%3EBoot%20ROM%20stalled%20accessing%20address%200x40000040%20(restoring%20watchpoint%201)%3C%2FP%3E%3CP%3EAFTER%20driver%20startup%20timeout%20(302%205ms%20retries)%3C%2FP%3E%3CP%3E%3CSPAN%3EDriver%20Addresses%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EStart%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EEntry%3A%200000009D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EEnd%3A%200000128C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EStack%3A%2000002290%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMailbox%3A0000A290%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDriver%20Register%20State%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER0%3A%200000A290%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER1%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER2%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER3%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER4%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER5%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER6%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER7%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER8%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER9%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER10%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER11%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ER12%3A%2000000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESP%3A%2000002290%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ELR%3A%200000009D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPC%3A%20000000A0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ExPSR%3A%2061000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMSP%3A%2000002290%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPSP%3A%2000002290%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECFBP%3A%2000010001%20(CONTROL%3D0x0%2C%20FAULTMASK%3D0x1%2C%20BASEPRI%3D0x0%2C%20PRIMASK%3D0x1)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFlash%20Driver%20V.2%20startup%20failed%20-%20rc%20Ef(34)%3A%20Timed-out%20initializing%20flash.%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20Writing%20Flash%20ended%20with%20an%20error.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ETarget%20error%20from%20Commit%20Flash%20write%3A%20Ef(34)%3A%20Timed-out%20initializing%20flash.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EGDB%20stub%20(C%3A%5Cnxp%5CLinkServer_24.12.21%5Cbinaries%5Ccrt_emu_cm_redlink)%20terminating%20-%20GDB%20protocol%20problem%3A%20Pipe%20has%20been%20closed%20by%20GDB.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E7%2F10%2F2025%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2131523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2131523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20XIP.%3C%2FP%3E%0A%3CP%3EDid%20you%20try%20to%20change%20to%20it%20in%20startup_lpc54s018.c%3F%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20%20language-markup%22%3E%3CCODE%3E%23ifdef%20IS25LP128F-JBLA3%0A%0A%2F*%20SPI%20Descriptor%20-%20IS25LP128F-JBLA3%20*%2F%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%200xFFFFFFFF%20to%20default%201-bit%20SPI%20mode%20%3BDevStrAdr%0A%0A(void%20(*)(void))0x0018609D%2C%20%2F%2F%20mfgId%20%2B%20extCount%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%200-3%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%20reserved%0A%0A(void%20(*)(void))0x1301001D%2C%20%2F%2F%20caps%0A%0A(void%20(*)(void))0x00000100%2C%20%2F%2F%20Blks%20%2B%20RESV1%0A%0A(void%20(*)(void))0x00010000%2C%20%2F%2F%20blkSize%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%20reserved%0A%0A(void%20(*)(void))0x00000100%2C%20%2F%2F%20pageSize%20%2B%20RESV2%0A%0A(void%20(*)(void))0x00003F00%2C%20%2F%2F%20maxReadSize%0A%0A(void%20(*)(void))0x68506850%2C%20%2F%2F%20maxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%0A%0A(void%20(*)(void))0x06020050%2C%20%2F%2F%20maxHSProgramRate%2CinitDeInitFxId%2CclearStatusFxId%2CgetStatusFxId%0A%0A(void%20(*)(void))0x14110F0B%2C%20%2F%2F%20setStatusFxId%2CsetOptionsFxId%2CgetReadCmdFxId%2CgetWriteCmdFxId%0A%0A%0A%23endif%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2131214%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2131214%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThanks%20for%20the%20schematics%20correction!%20However%20it%20seems%20like%20I%20am%20able%20to%20flash%20the%20.bin%20file%20to%20the%20SPI%20NOR%20Flash%2C%20but%20the%20MCU%20is%20not%20able%20to%20boot%20from%20the%20SPI%20NOR%20Flash.%20I%20installed%20and%20removed%20PIO0_6%20pull-up%20resistor%20but%20it%20didnt%20help.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_0-1752105091192.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_0-1752105091192.png%22%20style%3D%22width%3A%20634px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346827i3B6D2E7D7D765078%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_0-1752105091192.png%22%20alt%3D%22mtsang_0-1752105091192.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_1-1752105341409.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_1-1752105341409.png%22%20style%3D%22width%3A%20650px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346829i2683F2F68B0E055A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_1-1752105341409.png%22%20alt%3D%22mtsang_1-1752105341409.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3EFlash%20the%20SPI%20NOR%20FLASH%3C%2FSTRONG%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20operation%20'Program'%20(Program%20file%20into%20flash%3A%20Debug%5Clpc54018iotmodule_hello_world_lpc54018iotmodule.axf)%20-%20Wed%20Jul%2009%2016%3A39%3A19%20PDT%202025%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EChecking%20MCU%20info...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EScanning%20for%20targets...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20action...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink.exe%20build%20869)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Reading%20remote%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWc(03).%20No%20cache%20support.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpc54018iotmodule_hello_world_lpc54018iotmodule%2FDebug%5CLPC54018.xml%3C%2FP%3E%3CP%3E%3CSPAN%3E(%205)%20Remote%20configuration%20complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReconnected%20to%20existing%20LinkServer%20process.%3C%2FP%3E%3CP%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3C%2FP%3E%3CP%3ESerial%20Number%3A%20F4ON0DG121ZHK%3C%2FP%3E%3CP%3EVID%3APID%3A%201FC9%3A0143%3C%2FP%3E%3CP%3EUSB%20Path%3A%200001%3A000b%3A00%3C%2FP%3E%3CP%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3C%2FP%3E%3CP%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3EWaiting%20for%20target%20to%20stop...%3C%2FP%3E%3CP%3E%3CSPAN%3EWarning%20-%20processor%20did%20not%20halt%20-%20gave%20up%20waiting%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2030)%20Emulator%20Connected%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2040)%20Debug%20Halt%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2050)%20CPU%20ID%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3C%2FP%3E%3CP%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3C%2FP%3E%3CP%3Enumber%20of%20flash%20patches%20%3D%202%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3C%2FP%3E%3CP%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3C%2FP%3E%3CP%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3C%2FP%3E%3CP%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3C%2FP%3E%3CP%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3C%2FP%3E%3CP%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3C%2FP%3E%3CP%3ENXP%3A%20LPC54018%3C%2FP%3E%3CP%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3C%2FP%3E%3CP%3EInspected%20v.2%20External%20Flash%20Device%20on%20SPI%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EImage%20'LPC540xx_JEDEC_SFDP%20Dec%2018%202024%2017%3A26%3A01'%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3E%3CSPAN%3Erst%20-%20Boot%20ROM%20stall%20address%20was%20not%20accessed%20(but%20we%20entered%20debug%20on%20Halt%20anyway)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFlash%20variant%20'JEDEC_SFDP_9D6018'%20detected%20(16MB%20%3D%20256*64K%20at%200x10000000)%3C%2FP%3E%3CP%3EClosing%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2065)%20Chip%20Setup%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EConnected%3A%20was_reset%3Dfalse.%20was_stopped%3Dfalse%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2070)%20License%20Check%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELoading%20'lpc54018iotmodule_hello_world_lpc54018iotmodule.axf'%20ELF%200x10000000%20len%200x3BA4%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%20(already%20resident)%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3EFlash%20variant%20'JEDEC_SFDP_9D6018'%20detected%20(16MB%20%3D%20256*64K%20at%200x10000000)%3C%2FP%3E%3CP%3EWriting%2015268%20bytes%20to%20address%200x10000000%20in%20Flash%3C%2FP%3E%3CP%3E%3CSPAN%3E1%20of%201%20(%200)%20Writing%20sectors%200-0%20at%200x10000000%20with%2015268%20bytes%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20at%2010000000%3A%200%20bytes%20-%200%2F15268%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20at%2010000000%3A%2065536%20bytes%20-%2065536%2F15268%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESectors%20written%3A%200%2C%20unchanged%3A%201%2C%20total%3A%201%3C%2FP%3E%3CP%3EErased%2FWrote%20sector%200-0%20with%2015268%20bytes%20in%2030msec%3C%2FP%3E%3CP%3EClosing%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20Finished%20writing%20Flash%20successfully.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFlash%20Write%20Done%3C%2FP%3E%3CP%3ELoaded%200x3BA4%20bytes%20in%2089ms%20(about%20171kB%2Fs)%3C%2FP%3E%3CP%3EReset%20target%20(romstall)%3C%2FP%3E%3CP%3EStarting%20execution%20using%20system%20reset%20with%20a%20stall%20address%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3EBoot%20ROM%20stalled%20accessing%20address%200x40000040%20(restoring%20watchpoint%201)%3C%2FP%3E%3CP%3EStopped%20(Was%20Reset)%20%5BReset%20from%20Unknown%5D%3A%20Watchpoint%20(Temp)%20%231%20-%20read%20watchpoint%20at%200x40000040%20Data%20watch%20for%20bootloader%20stall%3C%2FP%3E%3CP%3Erestart%20on%20reset%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3EVerify%20the%20SPI%20NOR%20FLASH's%20content%3C%2FSTRONG%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20operation%20'Program'%20(Program%20file%20into%20flash%3A%20lpc54018iotmodule_hello_world_lpc54018iotmodule.bin)%20-%20Wed%20Jul%2009%2016%3A43%3A17%20PDT%202025%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EChecking%20MCU%20info...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EScanning%20for%20targets...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20action...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink.exe%20build%20869)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Reading%20remote%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWc(03).%20No%20cache%20support.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpc54018iotmodule_hello_world_lpc54018iotmodule%2FDebug%5CLPC54018.xml%3C%2FP%3E%3CP%3E%3CSPAN%3E(%205)%20Remote%20configuration%20complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReconnected%20to%20existing%20LinkServer%20process.%3C%2FP%3E%3CP%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3C%2FP%3E%3CP%3ESerial%20Number%3A%20F4ON0DG121ZHK%3C%2FP%3E%3CP%3EVID%3APID%3A%201FC9%3A0143%3C%2FP%3E%3CP%3EUSB%20Path%3A%200001%3A000b%3A00%3C%2FP%3E%3CP%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3C%2FP%3E%3CP%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3E%3CSPAN%3EBoot%20ROM%20stalled%20-%20at%20read%20watch%20%231%20address%200x40000040%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2030)%20Emulator%20Connected%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2040)%20Debug%20Halt%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2050)%20CPU%20ID%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3C%2FP%3E%3CP%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3C%2FP%3E%3CP%3Enumber%20of%20flash%20patches%20%3D%202%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3C%2FP%3E%3CP%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3C%2FP%3E%3CP%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3C%2FP%3E%3CP%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3C%2FP%3E%3CP%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3C%2FP%3E%3CP%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3C%2FP%3E%3CP%3ENXP%3A%20LPC54018%3C%2FP%3E%3CP%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3C%2FP%3E%3CP%3EInspected%20v.2%20External%20Flash%20Device%20on%20SPI%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EImage%20'LPC540xx_JEDEC_SFDP%20Dec%2018%202024%2017%3A26%3A01'%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3EFlash%20variant%20'JEDEC_SFDP_9D6018'%20detected%20(16MB%20%3D%20256*64K%20at%200x10000000)%3C%2FP%3E%3CP%3EClosing%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2065)%20Chip%20Setup%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EConnected%3A%20was_reset%3Dfalse.%20was_stopped%3Dtrue%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2070)%20License%20Check%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EVerifying%20'lpc54018iotmodule_hello_world_lpc54018iotmodule.bin'%20Binary%20section%200%20at%200x10000000%20len%200x3BA4%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%20(already%20resident)%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3EFlash%20variant%20'JEDEC_SFDP_9D6018'%20detected%20(16MB%20%3D%20256*64K%20at%200x10000000)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Comparing%20Flash%20against%20file%20at%200x10000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EClosing%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20File%20matches%20flash.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ERead%200x3BA4%20bytes%20in%2041ms%20(about%20372kB%2Fs)%20-%20verify%20succeeded%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E7%2F9%2F2025%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2130430%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2130430%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20am%20terribly%20sorry%20I%20didn't%20check%20the%20SPI%20NOR%20Flash%20pin%20out.%20Thanks%20for%20your%20catch!!!%20I%20used%20jumper%20cable%20to%20fix%20the%20problem%20for%20now.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSeems%20like%20I%20am%20able%20to%20program%20and%20mass%20erase%20the%20custom%20board%20right%20now.%20At%20least%20it%20didnt%20show%20any%20error%20message.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20am%20using%20%22lpc54018iotmodule_hello_world_virtual_com_xip%22%20as%20an%20example.%20Is%20there%20anything%20I%20can%20do%20to%20verify%20the%20SPI%20boot%20function%3F%20Also%20where%20the%20%22HELLO%20WORLD%22%20message%20will%20shows%20up%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_0-1752019146983.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_0-1752019146983.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346623iDEE29EE3D3F692C2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_0-1752019146983.png%22%20alt%3D%22mtsang_0-1752019146983.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_1-1752019306137.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_1-1752019306137.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346624i66F1552E5083FF96%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_1-1752019306137.png%22%20alt%3D%22mtsang_1-1752019306137.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_2-1752019825326.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_2-1752019825326.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346625i5EC00DE0C018F1FD%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_2-1752019825326.png%22%20alt%3D%22mtsang_2-1752019825326.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%20a%20lot!%3C%2FP%3E%3CP%3E7%2F8%2F2025%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2129688%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2129688%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%20your%26nbsp%3Bschematics%20of%20the%20SPI%20NOR%20FLASH%20is%20wrong.%3C%2FP%3E%0A%3CP%3EIn%20the%26nbsp%3BNOR%20FLASH%20Data%20sheet.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_1-1751941589704.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_1-1751941589704.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346396iB2EAF18B48ADBA6C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_1-1751941589704.png%22%20alt%3D%22Harry_Zhang_1-1751941589704.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPIN%205%20SI%20should%20be%20connected%20IO0.%3C%2FP%3E%0A%3CP%3EPIN%202%20SO%26nbsp%3Bshould%20be%20connected%20IO1.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1751941477649.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1751941477649.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346395iC5F1FD1DCBE39C9D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1751941477649.png%22%20alt%3D%22Harry_Zhang_0-1751941477649.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBut%20in%20your%26nbsp%3Bschematic.%3C%2FP%3E%0A%3CP%3EPIN%205%20SI%20is%20connected%20IO1.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2129456%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2129456%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSure!%20Attached%20is%20the%20schematics%20of%20the%20SPI%20NOR%20FLASH.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_0-1751905034408.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_0-1751905034408.png%22%20style%3D%22width%3A%20478px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346345i502DA0F93E6ECA6D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_0-1751905034408.png%22%20alt%3D%22mtsang_0-1751905034408.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESPIFI_CSN%20-%26gt%3B%20LPC54S018JET180E_N7%3CBR%20%2F%3ESPIFI_IO0%20-%26gt%3B%20LPC54S018JET180E_M7%3CBR%20%2F%3ESPIFI_IO1%20-%26gt%3B%20LPC54S018JET180E_K8%3CBR%20%2F%3ESPIFI_IO2%20-%26gt%3B%20LPC54S018JET180E_M9%3CBR%20%2F%3ESPIFI_IO3%20-%26gt%3B%20LPC54S018JET180E_L9%3CBR%20%2F%3ESPIFI_SCK%20-%26gt%3B%20LPC54S018JET180E_M13%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E7%2F7%2F2025%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2128922%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2128922%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20share%20your%26nbsp%3Bschematic%20about%20the%20flash%3F%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2128287%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2128287%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%20for%20your%20detailed%20response%2C%20but%20I%20am%20still%20getting%20the%20same%20error.%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20operation%20'Program'%20(Program%20file%20into%20flash%3A%20Debug%5Clpc54018iotmodule_hello_world_lpc54018iotmodule.axf)%20-%20Thu%20Jul%2003%2014%3A29%3A23%20PDT%202025%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EChecking%20MCU%20info...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EScanning%20for%20targets...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20action...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink.exe%20build%20869)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Reading%20remote%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWc(03).%20No%20cache%20support.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpc54018iotmodule_hello_world_lpc54018iotmodule%2FDebug%5CLPC54018.xml%3C%2FP%3E%3CP%3E%3CSPAN%3E(%205)%20Remote%20configuration%20complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReconnected%20to%20existing%20LinkServer%20process.%3C%2FP%3E%3CP%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3C%2FP%3E%3CP%3ESerial%20Number%3A%20F4ON0DG121ZHK%3C%2FP%3E%3CP%3EVID%3APID%3A%201FC9%3A0143%3C%2FP%3E%3CP%3EUSB%20Path%3A%200001%3A001a%3A00%3C%2FP%3E%3CP%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3C%2FP%3E%3CP%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3EWaiting%20for%20target%20to%20stop...%3C%2FP%3E%3CP%3E%3CSPAN%3EWarning%20-%20processor%20did%20not%20halt%20-%20gave%20up%20waiting%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2030)%20Emulator%20Connected%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2040)%20Debug%20Halt%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2050)%20CPU%20ID%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3C%2FP%3E%3CP%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3C%2FP%3E%3CP%3Enumber%20of%20flash%20patches%20%3D%202%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3C%2FP%3E%3CP%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3C%2FP%3E%3CP%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3C%2FP%3E%3CP%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3C%2FP%3E%3CP%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3C%2FP%3E%3CP%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3C%2FP%3E%3CP%3ENXP%3A%20LPC54018%3C%2FP%3E%3CP%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3C%2FP%3E%3CP%3EInspected%20v.2%20External%20Flash%20Device%20on%20SPI%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EImage%20'LPC540xx_JEDEC_SFDP%20Dec%2018%202024%2017%3A26%3A01'%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3E%3CSPAN%3Erst%20-%20Boot%20ROM%20stall%20address%20was%20not%20accessed%20(but%20we%20entered%20debug%20on%20Halt%20anyway)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDriver%20V.2%20dynamic%20startup%20failed%20-%20driver%20Init%20provided%20no%20flash%20parameters%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFlash%20Driver%20V.2%20startup%20failed%20-%20rc%20Ef(55)%3A%20Dynamic%20flash%20driver%20startup%20failed%20to%20provide%20flash%20parameters.%3C%2FP%3E%3CP%3E%3CSPAN%3ETerminate%20(0x0%2C%200x0%2C%200x0)%20status%200x40%20-%20driver%20reports%20init%20failure%20-%20EXTSPI%20driver%20rc%2015%20(0xF)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Echip%20initialization%20failed%20-%20Ef(55)%3A%20Dynamic%20flash%20driver%20startup%20failed%20to%20provide%20flash%20parameters.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Efailed%20to%20initialize%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2065)%20Chip%20Setup%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20Target%20Operation%20Failed%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EUnable%20to%20perform%20operation!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECommand%20failed%20with%20exit%20code%201%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E7%2F3%2F2025%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2127985%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2127985%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAbout%20the%20different%20register%20define.%3C%2FP%3E%0A%3CP%3EI%20think%20you%20can%20refer%20to%20the%26nbsp%3BUM11060%26nbsp%3BTable%2012.%20Image%20header%20for%20the%20LPC540xx%20devices.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1751534175887.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1751534175887.png%22%20style%3D%22width%3A%20356px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345956iAAB88026374230CA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1751534175887.png%22%20alt%3D%22Harry_Zhang_0-1751534175887.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20checked%20the%26nbsp%3B%3CSPAN%3EIS25LP128F-JBLA3%26nbsp%3BDATA%20SHEET.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ERegarding%20how%20to%20configure%20relevant%20parameters%2C%20let%20me%20give%20an%20example%20to%20illustrate.%3C%2FP%3E%0A%3CP%3E1.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_1-1751534357585.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_1-1751534357585.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345957iE8941B33ABE61B5B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_1-1751534357585.png%22%20alt%3D%22Harry_Zhang_1-1751534357585.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_2-1751534370777.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_2-1751534370777.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345958iC40A6180E9163A4D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_2-1751534370777.png%22%20alt%3D%22Harry_Zhang_2-1751534370777.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ESo%26nbsp%3BsetStatusFxId%20is%200B.%3C%2FP%3E%0A%3CP%3E2.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_3-1751534407332.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_3-1751534407332.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345959i1DDAF45ACBE10A01%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_3-1751534407332.png%22%20alt%3D%22Harry_Zhang_3-1751534407332.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_4-1751534417924.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_4-1751534417924.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345960i6056D6ED4CBA6AA3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_4-1751534417924.png%22%20alt%3D%22Harry_Zhang_4-1751534417924.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%20setOptionsFxId%20is%200F%3C%2FP%3E%0A%3CP%3E3.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_5-1751534464732.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_5-1751534464732.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345961i50DD5FCCA8781FB9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_5-1751534464732.png%22%20alt%3D%22Harry_Zhang_5-1751534464732.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_6-1751534473098.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_6-1751534473098.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345962i1E5910A1491F9702%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_6-1751534473098.png%22%20alt%3D%22Harry_Zhang_6-1751534473098.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%20the%26nbsp%3BgetReadCmdFxId%20is%200x11.%3C%2FP%3E%0A%3CP%3E4.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_7-1751534602436.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_7-1751534602436.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345963i06DF65034B1C2F04%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_7-1751534602436.png%22%20alt%3D%22Harry_Zhang_7-1751534602436.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_8-1751534610155.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_8-1751534610155.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345964iF872AAEAEA512015%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_8-1751534610155.png%22%20alt%3D%22Harry_Zhang_8-1751534610155.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ESo%26nbsp%3BgetStatusFxId%20is%2006.%3C%2FP%3E%0A%3CP%3EAnd%20so%20on.%3C%2FP%3E%0A%3CP%3EAnd%20i%20write%20one%20based%20on%20the%26nbsp%3B%20IS25LP128F-JBLA3%20data%20sheet%20and%20the%26nbsp%3B%20SDK%20startup_lpc54s018.c%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%23ifdef%20IS25LP128F-JBLA3%0A%0A%2F*%20SPI%20Descriptor%20-%20IS25LP128F-JBLA3%20*%2F%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%200xFFFFFFFF%20to%20default%201-bit%20SPI%20mode%20%3BDevStrAdr%0A%0A(void%20(*)(void))0x0018609D%2C%20%2F%2F%20mfgId%20%2B%20extCount%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%200-3%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%20reserved%0A%0A(void%20(*)(void))0x1301001D%2C%20%2F%2F%20caps%0A%0A(void%20(*)(void))0x00000100%2C%20%2F%2F%20Blks%20%2B%20RESV1%0A%0A(void%20(*)(void))0x00010000%2C%20%2F%2F%20blkSize%0A%0A(void%20(*)(void))0x00000000%2C%20%2F%2F%20reserved%0A%0A(void%20(*)(void))0x00000100%2C%20%2F%2F%20pageSize%20%2B%20RESV2%0A%0A(void%20(*)(void))0x00003F00%2C%20%2F%2F%20maxReadSize%0A%0A(void%20(*)(void))0x68506850%2C%20%2F%2F%20maxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%0A%0A(void%20(*)(void))0x06020050%2C%20%2F%2F%20maxHSProgramRate%2CinitDeInitFxId%2CclearStatusFxId%2CgetStatusFxId%0A%0A(void%20(*)(void))0x14110F0B%2C%20%2F%2F%20setStatusFxId%2CsetOptionsFxId%2CgetReadCmdFxId%2CgetWriteCmdFxId%0A%0A%0A%23endif%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EYou%20can%20double%20check.%3C%2FP%3E%0A%3CP%3EAnd%20then%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_9-1751534964690.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_9-1751534964690.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F345966i6814A5B1263CFE5D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_9-1751534964690.png%22%20alt%3D%22Harry_Zhang_9-1751534964690.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20replace%20it%20with%26nbsp%3BIS25LP128F-JBLA3.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2126575%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2126575%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSorry%20for%20the%20late%20reply%20and%20thanks%20for%20the%20infos.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20am%20still%20confused%20about%20how%20to%20find%20the%20info%20marked%20with%20%3CSTRONG%3EBOLD%20Text%3C%2FSTRONG%3E.%20Can%20you%20please%20provide%20advice%20on%20how%20to%20find%20those%20infos%20in%20the%20IS25LP128F%20datasheet.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BAlso%20for%20the%20macro%20marked%20with%20%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EBOLD%20text%3C%2FSTRONG%3E%3C%2FFONT%3E.%20Once%20I%20changed%20the%20macro%2C%20is%20there%20anything%20I%20need%20to%20change%20to%20the%20entire%20project%20setup%20like%20(Project%20Setting%2C%20'startup_lpc54018.c'%2C%20etc)%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3EWhat%20I%20found%20so%20far%2C%20please%20double%20check%20if%20I%20am%20correct%3C%2FP%3E%3CP%3E%2F%2FmaxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%3C%2FP%3E%3CP%3EClock%20Frequency%20except%20for%20fast%20read%3A%20166Mhz%20(A3h)%3C%2FP%3E%3CP%3EClock%20Frequency%20for%20read%20(03h)%3A%2080Mhz%20(50h)%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%23ifdef%20%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EIS25LP128F-JBLA3%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%2F*%20SPIFI%20Descriptor%20-%20IS25LP128F-JBLA3%20*%2F%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%200xFFFFFFFF%20to%20default%201-bit%20SPI%20mode%20%EF%BC%9BDevStrAdr%3C%2FP%3E%3CP%3E(void%20(*)(void))0x0018609D%2C%20%2F%2F%20mfgId%20%2B%20extCount%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%200-3%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%204-7%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x0001001D%2C%20%2F%2F%20caps%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20Blks%20%2B%20RESV1%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x00010000%2C%20%2F%2F%20blkSize%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20subBlks%20%2B%20subBlkSize%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20pageSize%20%2B%20RESV2%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x00003F00%2C%20%2F%2F%20maxReadSize%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x68506850%2C%20%2F%2F%20maxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x04030050%2C%20%2F%2F%20maxHSProgramRate%2CinitDeInitFxId%2CclearStatusFxId%2CgetStatusFxId%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E(void%20(*)(void))0x14110D09%2C%20%2F%2F%20setStatusFxId%2CsetOptionsFxId%2CgetReadCmdFxId%2CgetWriteCmdFxId%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%23endif%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E6%2F30%2F2025%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2125888%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2125888%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BSorry%20for%20the%20late%20reply%20and%20thanks%20for%20the%20info.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BHowever%20I%20am%20still%20confused%20about%20how%20to%20find%20the%20info%20marked%20with%20%3CFONT%20color%3D%22%23FF0000%22%3ERed%20Text.%3CFONT%20color%3D%22%23000000%22%3E%20Can%20you%20please%20provide%20advice%20on%20how%20to%20find%20those%20infos%20in%20the%20IS25LP128F%20datasheet.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BAlso%20for%20the%20macro%20marked%20with%20%3CFONT%20color%3D%22%230000FF%22%3Eblue%20text%3C%2FFONT%3E.%20Once%20I%20changed%20the%20macro%2C%20is%20there%20anything%20I%20need%20to%20change%20to%20the%20entire%20project%20setup%20like%20(Project%20Setting%2C%20'startup_lpc54018.c'%2C%20etc)%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3EHere's%20what%20I%20found%2C%20please%20double%20check%20if%20they%20are%20correct%3A%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%2F%2FmaxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EClock%20Frequency%20except%20for%20fast%20read%3A%20166Mhz%20(A3h)%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EClock%20Frequency%20for%20read%20(03h)%3A%2080Mhz%20(50h)%3C%2FFONT%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%23ifdef%20%3CFONT%20color%3D%22%230000FF%22%3EIS25LP128F-JBLA3%3C%2FFONT%3E%3CBR%20%2F%3E%2F*%20SPIFI%20Descriptor%20-%20IS25LP128F-JBLA3%20*%2F%3CBR%20%2F%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%200xFFFFFFFF%20to%20default%201-bit%20SPI%20mode%20%EF%BC%9BDevStrAdr%3CBR%20%2F%3E(void%20(*)(void))0x0018609D%2C%20%2F%2F%20mfgId%20%2B%20extCount%3CBR%20%2F%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%200-3%3CBR%20%2F%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%204-7%3CBR%20%2F%3E(void%20(*)(void))0x0001001D%2C%20%2F%2F%20%3CFONT%20color%3D%22%23FF0000%22%3Ecaps%3C%2FFONT%3E%3CBR%20%2F%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20Blks%20%2B%20RESV1%3CBR%20%2F%3E(void%20(*)(void))0x00010000%2C%20%2F%2F%20blkSize%3CBR%20%2F%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20subBlks%20%2B%20subBlkSize%3CBR%20%2F%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20pageSize%20%2B%20RESV2%3CBR%20%2F%3E(void%20(*)(void))0x00003F00%2C%20%2F%2F%20maxReadSize%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E(void%20(*)(void))0x68506850%2C%20%2F%2F%20maxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E(void%20(*)(void))0x04030050%2C%20%2F%2F%20maxHSProgramRate%2CinitDeInitFxId%2CclearStatusFxId%2CgetStatusFxId%2C%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E(void%20(*)(void))0x14110D09%2C%20%2F%2F%20setStatusFxId%2CsetOptionsFxId%2CgetReadCmdFxId%2CgetWriteCmdFxId%3C%2FFONT%3E%3CBR%20%2F%3E%23endif%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E6%2F30%2F2025%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2122669%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2122669%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20are%20right.%20You%20need%20to%20modify%20the%20SPIFI%20Descriptor.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1750818147320.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1750818147320.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F344481i78530E847413AEFA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1750818147320.png%22%20alt%3D%22Harry_Zhang_0-1750818147320.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20currently%20have%3A%3C%2FP%3E%0A%3CP%3E(void%20(*)(void))0x001870EF%2C%20%2F%2F%20mfgId%20%2B%20extCount%3C%2FP%3E%0A%3CP%3EThis%20corresponds%20to%3A%3C%2FP%3E%0A%3CP%3EmfgId%20%3D%200xEF%20(Winbond%2C%20not%20correct%20for%20IS25LP128F)%3C%2FP%3E%0A%3CP%3Edevice%20ID%20%3D%200x70%20(part%20of%20JEDEC%20ID%20for%20W25Q128)%3C%2FP%3E%0A%3CDIV%3EBut%20for%20IS25LP128F%2C%20the%20JEDEC%20ID%20is%3A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EManufacturer%20ID%20%3D%200x9D%20(ISSI)%3C%2FDIV%3E%0A%3CDIV%3EMemory%20type%20%3D%200x60%3C%2FDIV%3E%0A%3CDIV%3ECapacity%20%3D%200x18%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3ESo%20you%20should%20change%3A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E(void%20(*)(void))0x0018609D%2C%20%2F%2F%20mfgId%20%2B%20extCount%20(extCount%20%3D%201%2C%20mfgId%20%3D%200x9D%2C%20memType%20%3D%200x60%2C%20capacity%20%3D%200x18)%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EAnd%20you%20should%20also%26nbsp%3B%3CSPAN%3Everify%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CP%3E(void%20(*)(void))0x04030050%2C%20%2F%2F%20maxHSProgramRate%2CinitDeInitFxId%2CclearStatusFxId%2CgetStatusFxId%2C%3C%2FP%3E%0A%3CP%3E(void%20(*)(void))0x14110D09%2C%20%2F%2F%20setStatusFxId%2CsetOptionsFxId%2CgetReadCmdFxId%2CgetWriteCmdFxId%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2121690%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2121690%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThank%20you%20so%20much%20for%20the%20reply!%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20am%20using%20%22IS25LP128F-JBLA3%22%20for%20the%20custom%20board.%20According%20to%20the%20datasheet(please%20see%20attached%20IS25LP128F-JBLA3%20datasheet)%2C%20it%20seems%20to%20support%20SFDP.%20I%20am%20switching%20back%20to%20%22LPC540xx_SPIFI_SFDP.cfx%22%20for%20memory%20config.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mtsang_0-1750722446344.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mtsang_0-1750722446344.png%22%20style%3D%22width%3A%20991px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F344256i5BC8C4108EDF7571%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mtsang_0-1750722446344.png%22%20alt%3D%22mtsang_0-1750722446344.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3BI%20checked%20the%20%22SPIFI%20Descriptor%22%26nbsp%3B%20in%20the%20%22LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%22%20startup_lpc54018.c%3C%2FP%3E%3CP%3EI%20saw%20the%26nbsp%3BSPIFI%20Descriptor%20%3A%3C%2FP%3E%3CP%3E%23ifdef%20W25Q128JVFM%3C%2FP%3E%3CP%3E%2F*%20SPIFI%20Descriptor%20-%20W25Q128JVFM%20*%2F%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%200xFFFFFFFF%20to%20default%201-bit%20SPI%20mode%20%EF%BC%9BDevStrAdr%3C%2FP%3E%3CP%3E(void%20(*)(void))0x001870EF%2C%20%2F%2F%20mfgId%20%2B%20extCount%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%200-3%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%204-7%3C%2FP%3E%3CP%3E(void%20(*)(void))0x0001001D%2C%20%2F%2F%20caps%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20Blks%20%2B%20RESV1%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00010000%2C%20%2F%2F%20blkSize%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20subBlks%20%2B%20subBlkSize%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20pageSize%20%2B%20RESV2%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00003F00%2C%20%2F%2F%20maxReadSize%3C%2FP%3E%3CP%3E(void%20(*)(void))0x68506850%2C%20%2F%2F%20maxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%3C%2FP%3E%3CP%3E(void%20(*)(void))0x04030050%2C%20%2F%2F%20maxHSProgramRate%2CinitDeInitFxId%2CclearStatusFxId%2CgetStatusFxId%2C%3C%2FP%3E%3CP%3E(void%20(*)(void))0x14110D09%2C%20%2F%2F%20setStatusFxId%2CsetOptionsFxId%2CgetReadCmdFxId%2CgetWriteCmdFxId%3C%2FP%3E%3CP%3E%23endif%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BShould%20I%20change%20the%20SPIFI%20Descriptor(I%20modified%20the%20Bold%20Text)%3F%20Also%20I%20am%20unsure%20what%20to%20change%20for%20the%20under-line%20section.%20What%20else%20I%20need%20to%20change%20in%20order%20to%20make%20the%20example%20project%20works%20on%20my%20custom%20board%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%23ifdef%20%3CSTRONG%3EIS25LP128F-JBLA3%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%2F*%20SPIFI%20Descriptor%20-%20IS25LP128F-JBLA3%20*%2F%3C%2FP%3E%3CP%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%200xFFFFFFFF%20to%20default%201-bit%20SPI%20mode%20%EF%BC%9BDevStrAdr%3C%2FP%3E%3CP%3E(void%20(*)(void))%3CSTRONG%3E0x001870EF%3C%2FSTRONG%3E%2C%20%2F%2F%20mfgId%20%2B%20extCount%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%200-3%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20extid%204-7%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x0001001D%2C%20%2F%2F%20caps%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20Blks%20%2B%20RESV1%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x00010000%2C%20%2F%2F%20blkSize%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x00000000%2C%20%2F%2F%20subBlks%20%2B%20subBlkSize%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x00000100%2C%20%2F%2F%20pageSize%20%2B%20RESV2%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x00003F00%2C%20%2F%2F%20maxReadSize%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x68506850%2C%20%2F%2F%20maxClkRate%2CmaxReadRate%2CmaxHSReadRate%2CmaxProgramRate%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x04030050%2C%20%2F%2F%20maxHSProgramRate%2CinitDeInitFxId%2CclearStatusFxId%2CgetStatusFxId%2C%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E(void%20(*)(void))0x14110D09%2C%20%2F%2F%20setStatusFxId%2CsetOptionsFxId%2CgetReadCmdFxId%2CgetWriteCmdFxId%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3E%23endif%3C%2FU%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E6%2F23%2F2025%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2121037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2121037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20your%20log%3A%3C%2FP%3E%0A%3CP%3EFlash%20Driver%20V.2%20startup%20failed%20-%20rc%20Ef(55)%3A%20Dynamic%20flash%20driver%20startup%20failed%20to%20provide%20flash%20parameters.%3C%2FP%3E%0A%3CP%3EThe%20SPIFI%26nbsp%3B%20flash%20driver%20attempted%20to%20probe%20your%20external%20flash%20device%20via%20SFDP%2C%20but%20failed%20to%20identify%20valid%20parameters%20for%20your%20flash.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWhat%20is%20the%20exact%20part%20number%20of%20the%20flash%20IC%20on%20your%20custom%20board%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECheck%20its%20datasheet%20for%20SFDP%20support%20%E2%80%94%20not%20all%20parts%20provide%20SFDP%20data.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHarry%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2118015%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118015%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harry%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20deselect%20the%20%22Link%20Application%20to%20RAM%22%20and%20I%20got%20the%20below%20error%20message%3A%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20operation%20'Program'%20(Program%20file%20into%20flash%3A%20Debug%5Clpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI003.axf)%20-%20Tue%20Jun%2017%2012%3A17%3A21%20PDT%202025%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EChecking%20MCU%20info...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EScanning%20for%20targets...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EExecuting%20flash%20action...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELinkServer%20RedlinkMulti%20Driver%20v24.12%20(Dec%2018%202024%2018%3A34%3A07%20-%20crt_emu_cm_redlink.exe%20build%20869)%3C%2FP%3E%3CP%3E%3CSPAN%3E(%200)%20Reading%20remote%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWc(03).%20No%20cache%20support.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFound%20chip%20XML%20file%20in%20C%3A%2FUsers%2Ftsangm%2FDocuments%2FMCUXpressoIDE_24.12.148%2Fworkspace%2Flpcxpresso54s018_hello_world_qspi_xip_HelloWorldSPIFI003%2FDebug%5CLPC54S018.xml%3C%2FP%3E%3CP%3E%3CSPAN%3E(%205)%20Remote%20configuration%20complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReconnected%20to%20existing%20LinkServer%20process.%3C%2FP%3E%3CP%3EProbe%20Firmware%3A%20MCU-LINK%20Pro%20(r0CF)%20CMSIS-DAP%20V3.153%20(NXP%20Semiconductors)%3C%2FP%3E%3CP%3ESerial%20Number%3A%20F4ON0DG121ZHK%3C%2FP%3E%3CP%3EVID%3APID%3A%201FC9%3A0143%3C%2FP%3E%3CP%3EUSB%20Path%3A%200001%3A0018%3A00%3C%2FP%3E%3CP%3EUsing%20memory%20from%20core%200%20after%20searching%20for%20a%20good%20core%3C%2FP%3E%3CP%3EOn%20debug%20connection%20-%20use%20system%20reset%2C%20stalling%20when%200x40000040%20is%20accessed%3C%2FP%3E%3CP%3ERetask%20read%20watchpoint%201%20at%200x40000040%20to%20use%20for%20boot%20ROM%20stall%3C%2FP%3E%3CP%3EWaiting%20for%20target%20to%20stop...%3C%2FP%3E%3CP%3E%3CSPAN%3EWarning%20-%20processor%20did%20not%20halt%20-%20gave%20up%20waiting%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2030)%20Emulator%20Connected%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2040)%20Debug%20Halt%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2050)%20CPU%20ID%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Edebug%20interface%20type%20%3D%20CoreSight%20DP%20(DAP%20DP%20ID%202BA01477)%20over%20SWD%20TAP%200%3C%2FP%3E%3CP%3Eprocessor%20type%20%3D%20Cortex-M4%20(CPU%20ID%2000000C24)%20on%20DAP%20AP%200%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20breakpoints%20%3D%206%3C%2FP%3E%3CP%3Enumber%20of%20flash%20patches%20%3D%202%3C%2FP%3E%3CP%3Enumber%20of%20h%2Fw%20watchpoints%20%3D%204%3C%2FP%3E%3CP%3EProbe(0)%3A%20Connected%26amp%3BReset.%20DpID%3A%202BA01477.%20CpuID%3A%2000000C24.%20Info%3A%20%3CNONE%3E%3C%2FNONE%3E%3C%2FP%3E%3CP%3EDebug%20protocol%3A%20SWD.%20RTCK%3A%20Disabled.%20Vector%20catch%3A%20Enabled.%3C%2FP%3E%3CP%3EContent%20of%20CoreSight%20Debug%20ROM(s)%3A%3C%2FP%3E%3CP%3ERBASE%20E00FF000%3A%20CID%20B105100D%20PID%2004000BB4C4%20ROM%20(type%200x1)%3C%2FP%3E%3CP%3EROM%201%20E000E000%3A%20CID%20B105E00D%20PID%2004000BB00C%20Gen%20SCS%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0001000%3A%20CID%20B105E00D%20PID%2004003BB002%20Gen%20DWT%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0002000%3A%20CID%20B105E00D%20PID%2004002BB003%20Gen%20FPB%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0000000%3A%20CID%20B105E00D%20PID%2004003BB001%20Gen%20ITM%20(type%200x0)%3C%2FP%3E%3CP%3EROM%201%20E0040000%3A%20CID%20B105900D%20PID%2004000BB9A1%20CSt%20TPIU%20type%200x11%20Trace%20Sink%20-%20TPIU%3C%2FP%3E%3CP%3EROM%201%20E0041000%3A%20CID%20B105900D%20PID%2004000BB925%20CSt%20ETM%20type%200x13%20Trace%20Source%20-%20Core%3C%2FP%3E%3CP%3ENXP%3A%20LPC54S018%3C%2FP%3E%3CP%3EDAP%20stride%20is%204096%20bytes%20(1024%20words)%3C%2FP%3E%3CP%3EInspected%20v.2%20External%20Flash%20Device%20on%20SPI%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EImage%20'LPC540xx_JEDEC_SFDP%20Dec%2018%202024%2017%3A26%3A01'%3C%2FP%3E%3CP%3EOpening%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FP%3E%3CP%3EUsing%20SOFT%20reset%20to%20run%20the%20flash%20driver%3C%2FP%3E%3CP%3E%3CSPAN%3Erst%20-%20Boot%20ROM%20stall%20address%20was%20not%20accessed%20(but%20we%20entered%20debug%20on%20Halt%20anyway)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDriver%20V.2%20dynamic%20startup%20failed%20-%20driver%20Init%20provided%20no%20flash%20parameters%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFlash%20Driver%20V.2%20startup%20failed%20-%20rc%20Ef(55)%3A%20Dynamic%20flash%20driver%20startup%20failed%20to%20provide%20flash%20parameters.%3C%2FP%3E%3CP%3E%3CSPAN%3ETerminate%20(0x0%2C%200x0%2C%200x0)%20status%200x40%20-%20driver%20reports%20init%20failure%20-%20EXTSPI%20driver%20rc%2015%20(0xF)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Echip%20initialization%20failed%20-%20Ef(55)%3A%20Dynamic%20flash%20driver%20startup%20failed%20to%20provide%20flash%20parameters.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Efailed%20to%20initialize%20flash%20driver%20LPC540xx_SPIFI_SFDP.cfx%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(%2065)%20Chip%20Setup%20Complete%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(100)%20Target%20Operation%20Failed%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EUnable%20to%20perform%20operation!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECommand%20failed%20with%20exit%20code%201%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E6%2F17%2F2025%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2117366%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20Board%20LPC54S018JET180E%20lpcxpresso54s018_hello_world_qspi_xip%20Question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2117366%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247389%22%20target%3D%22_blank%22%3E%40mtsang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20a%20question.%3C%2FP%3E%0A%3CP%3EAccording%20to%20your%20need.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1750131247424.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1750131247424.png%22%20style%3D%22width%3A%20311px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343213i00AC97EEF9EE0FDB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1750131247424.png%22%20alt%3D%22Harry_Zhang_0-1750131247424.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWhy%20you%20select%20the%20%22link%20application%20to%20ram%22%3C%2FP%3E%0A%3CP%3EYou%20can%20deselect%20this%2C%20and%20try%20again.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E