Differnet serial numbers to USB device for Mass Programming

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

Differnet serial numbers to USB device for Mass Programming

661 Views
gvk51
Contributor III

Dear Team,

In the USB descriptor we provide the iManufacturer, iProduct, iSerialNumber defined in USB String Descriptor, all these details are fixed in the firmware at compilation time, during mass production we have a final release binary and how to program flash of each device with unique serial numbers.

NXP provide any mass production tool that modify firmware with unique serial number (provided from the list) every time we flash a device.

Thanks & Regards,

Vamshi G.

Labels (2)
Tags (1)
1 Reply

432 Views
lpcxpresso_supp
NXP Employee
NXP Employee

You don't say which MCU you are using, but if you are using an LPC18xx or LPC43xx MCU, you may be able to use LPCScrypt to program the flash and then patch directly in flash the word containing your serial number using the "flashSet" command. For more information on LPCScrypt, see: LPCScrypt v1.8.0|NXP 

If you aren't using LPC18xx/43xx, then you could write a program to run on the PC which manually patched the binary before programming. The programming tool you are using for your production programming might provide an automated way of doing this too.

Note that some MCUs also contain a built in unique serial number that you might be suitable for use within your application too. See the User Manual for your MCU to confirm.

Regards,

LPCXpresso Support