LPC540XX Custom Board Firmware Upload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
For my custom board, it has a LPC54S018JET180E and a NOR SPI External Flash. I would like to upload firmware to the NOR SPI External Flash from a PC. And I want the custom board to boot from the NOR SPI External Flash.
I want to use the "mcu link debug probe" for the programming, but I am unsure how to connect the "mcu link debug probe" to my custom board. Attached image is the interface I have so far. Or please suggest another programmer that can perform programming to the LPC540XX and the NOR SPI External Flash.
Thanks,
4/15/2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mtsang
" I am unsure how to connect the "mcu link debug probe" to my custom board. "
Connecting MCU-Link to Your Board . You can use the JTAG (P2) connector you showed in your schematic.
And you want to boot from external flash.
I think you can refer to the hello world qspi xip demo.
BR
Harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Harry,
Thanks for your quick response!
I should connect my custom board's P2 to the J6 of the "MCU-Link", is that correct?
Also do I need to use pull-up resistor for all of the Jtag signals?
And where should "ISP-EN" to connect to?
Thanks,
4/16/2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mtsang
Yes, you are right.
"And where should "ISP-EN" to connect to?"
Firstly, you can confirm which pin is connected to P1 based on your schematic diagram.
And then you can refer to the LPC546xx and LPC540xx evk board schematic.
BR
Harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Harry,
For my schematics:
P1_1 -> VCC
P1_2 -> LPC54S018JET180E_pio0_13 "FC1_SDA"
P1_3-> LPC54S018JET180E_pio0_14 "FC1_SCL"
P1_4-> GND
P1_5-> LPC54S018JET180E_pio1_2 "FC10_MISO"
P1_6-> LPC54S018JET180E_pio1_1 "FC10_MOSI"
P1_7-> LPC54S018JET180E_pio2_22 "FC10_SEL1"
According to the "LPC546xx and LPC540xx evk board schematic", the P1_7 "ISP_EN" connects to P0_4-ISP0 with a SWITCH that pulls to GND.
From my schematic, LPC54S018JET180E_pio0_4 is the JTAG_TMS that connects to my schematics' "P2_JTAG_TMS", so do I need to add a SWITCH that pulls to GND during the programming and tie the "ISP_EN" to the "P2_JTAG_TMS"? Thanks, 4/18/2025
Thanks,
4/18/2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mtsang
Yes, according pio0_4 you need to add a SWITCH that pulls to GND during the programming .
tie the "ISP_EN" to the "P2_JTAG_TMS"?
No
BR
Harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
