Note: This document provides a simple description, the details about flashloader can be found at Getting Started with LPC540xx Flashloader User's Guide.pdf which is located in SDK_2.5.0_LPCXpresso54S018\middleware\mcu-boot\doc
- Compile the flashloader project to generate flashloader.bin
- The project is located in sdk\boards \lpcxpresso54s018\bootloader_examples\flashloader
- Use dfu-util.exe or IDE to load flashloader.bin into RAM.
$ dfu-util.exe –D flashloader.bin
- Use blhost to program/erase LPC540xxM/LPC54S0xxM flash
Note: xxx.bin is the target file which needs to be downloaded to the flash.
Author: Hao Liu
Thanks for Hao Liu.