Hi,
The rom-based "mcu bootloader" in LPC55 series is great, but I wonder if there are any ways to flash some OTP or user-pages to change the USB VID & PID presented in the boot-loader?
An option is of course to add a 2nd stage bootloader that runs MSD, CDC or UF2.
Are there any (by nxp) pre-made bootloaders that can be used for LPC55-series?
thanks for reply!
ok so no ways to efuse or otp the vid/pid of the rom bootloader without adding a 2nd stage one?
The bootloader configures the default USB VID/PID/Strings as below:
Default VID/PID:
• VID = 0x1FC9.
• PID = 0x0021.
Default Strings:
• Manufacturer [1] = "NXP SEMICONDUCTOR INC".
• Product [2] = "USB COMPOSITE DEVICE".
The USB VID, PID, and Strings can be customized using the CMPA of the flash. For
example, the USB VID and PID can be customized by writing the new VID to the usbVid field and the new PID to the usbPid field of the CMPA in flash.
We cab find USB pid and vid address in UM11126 excel attachment.
Have a nice day,
Jun Zhang
many thanks!
I couldn't find AN11126 online, would you mind attach it here (was missing in the last post)
Sorry, by bad. It's typo. It should be UM11126
https://www.nxp.com/webapp/Download?colCode=UM11126&location=null
excel attachment is as below:
Have a nice day,
Jun Zhang
Hi dav1
We have LPC55 USB DFU secondary bootloader demo code
https://www.nxp.com/docs/en/application-note/AN12327.pdf
https://www.nxp.com/docs/en/application-note-software/AN12327SW.zip
User can refer USB demo code under MCUXpresso SDK install folder if need.
To apply VIP/PID, see this FAQ
https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-USB-VID-PID-Program/ta-p/1124867
Hope this helps,
Jun Zhang