This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: Why are USB serial numbers hardcoded constants?

Part Number: TMS320F28388D


Hi,

The USB devices created by the USB library have hardcoded constant USB serial number string descriptors. I found this to be an issue with our company's product manufacturing practices, in which the product serial numbers are assigned after the firmware has been loaded on to the product.

Even though I even found a way to work around this limitation, I want to know why did TI imposed such a restriction?

Was the intent to prevent the programming mistake of overwriting the string descriptors? If so, then it had the side-effect of having to re-compile the firmware for every single product unit just to ensure that each unit has a different serial number.

Thankfully I did not have to resort to bespoke compilations, but I did have to use custom versions of files from the USB library. Of course, I would have preferred to have been able to change the serial number during runtime without having to tamper with the library.

Sincerely,

Howard Li