ROM bootloader in NXP LPCXpresso54S018 supports downloading the application firmware image to flash using Serial ISP ?
If it is not supported can we use the EVK flashloader application for this and how can we load this secondary bootloader on to the target(Using Serial interface only we dont have SWD or JTAG or USB)?
blhost application can talk to ROM bootloader?
In our final design we dont have SWD or USB interface. We are only looking for Serial interface to download the flashloader and for updating the firmware.. Could you please share the sample code for serial interface downloading of flashloader and firmware update?
Hi,
Of course, the LPC54S018 has on-chip bootloader in ROM, you can press the ISP pin during/after Reset, the chip will enter ISP mode, in the ISP mode, You can use flashmagic tools to download code to external spifi flash.
This is flashmagic tools website:
https://www.flashmagictool.com/download.html&d=flashmagic |
You can load the flashloader project with MCUXpresso tools and download the project to RAM via SWD device, after the flashloader is running, you can write spifi flash with blhost tools run on PC side.
Pls go to the wbsite for the flashloader:
Hope it can help you
BR
XiangJun Rong