Custom VID/PID in MCU bootloader? (LPC55xx)

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

Custom VID/PID in MCU bootloader? (LPC55xx)

2,209 Views
dav1
Contributor V

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?

Labels (1)
0 Kudos
Reply
5 Replies

2,190 Views
dav1
Contributor V

thanks for reply!

ok so no ways to efuse or otp the vid/pid of the rom bootloader without adding a 2nd stage one?

0 Kudos
Reply

2,183 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

 

 

2,148 Views
dav1
Contributor V

many thanks! 

I couldn't find AN11126 online, would you mind attach it here (was missing in the last post)

0 Kudos
Reply

2,141 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

 

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:

ZhangJennie_0-1643265028110.png

Have a nice day,

Jun Zhang

0 Kudos
Reply

2,198 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply