Hello Patrick,
In the user manual of the LPC54608 (UM10912) in chapter 41 you can see that the ROM code only supports device classes:
- Communication Device Class (CDC) device class.
- Human Interface Device (HID) device class.
- Mass Storage Device (MSC) class.
- Device Firmware Upgrade (DFU) class.
Also in the application note attached before in section 3.1 you will find the next information:
Both the secondary USB Host bootloader and the user application reside in the flash. Therefore, for the secondary USB Host bootloader to flash the user application without modifying any of its own code, the user application should be flashed starting at the next available sector.
So the example of rom usb host example is not possible. The best wait to implement the bootloader as you want is to segregate the Flash memory to have in one segment your application an in another segment the bootloader.
Regards,
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------