I am looking for a bootloader example for the LPC1837. Since the firmware that we would upgrade needs to be secure I cannot use the DFU bootloader. I was hoping there might already be an example of sample code that I could base out bootloader off of but I am not able to find anything for the LPC18XX series..
Hi JayMi,
You can check out our fully functional secondary USB DFU bootloader for the LPC18xx series chips.
https://dzxdesigns.com/doc/bootloader/usbd-dfu.aspx
You can download demo projects, along with all the source code, depending upon your IDE at https://dzxdesigns.com/downloads.aspx.
For reference, the project "USB-Boot" is the bootloader application and the project "USB-Runtime" is the application that can be updated and executed by the bootloader. To see it work, you can use our programmer application (contained within the Developer Tools on the download page) that will connect and download firmware to devices running the demo DFU bootloader.
Best Regards,
DZX Designs
I don't know of an example for your part. If you look through the Legacy RDB1768 examples (RDB1768cmsis2.zip), you'll find a RDB1768cmsis2_usb_bootloader project which incorporates a secondary bootloader. You should be able to adapt it for your part with a little effort. I hope it helps.
Thanks and regards,
LPCXpresso Support