USB DFU reference code for LPC55Sxx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB DFU reference code for LPC55Sxx

874 Views
mditto1
Contributor III

I see there is a DFU USB device library in MCUXpresso, which I could use to add a DFU function to my device.  But I think I need to divide the flash into a DFU partition that can be executed while I'm re-flashing the main application partition, and redirect the vector table, etc.  Is there reference code for USB DFU for self-flashing on LPC55Sxx?

0 Kudos
1 Reply

827 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Mike,

-There isn't USB DFU demo under LPC55sxx. There is usb_device_dfu demo under MCUXpresso SDK for LPC54608,

you can have a look.

-And if you just want to update image, you can also make your chip enter into ISP mode, then can through USB , UART or other interface to program, about detail please refer to UM:

pastedImage_1.png

-There is a second bootloader , you can have a look, it for lpc55s69.

https://www.nxp.com/docs/en/application-note/AN12327.pdf   


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos