- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to release board with vendor ID purchased from USB.org.
Each board must have the same USB Vendor ID but different Product ID.
I don’t want to change manually the Product ID and rebuild the project for each board separately.
My board based on psoc5LP CY8C5868LTI-LP038. It conations fast speed USB (USBFS).
I think of writing the Product ID into the EEPROM and then set the value to usb Product ID…
I it possible to change USB Vendor ID and Product ID programmatically (not via dialog)?
If the answer is yes , how can it be done?
Best regards,
Dima
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that's possible.
The Product ID is part of the descriptor. It is located in USBFS_descr.c file generated by the USBFS component. If you want to modify the descriptor, you can set the macro USER_SUPPLIED_DESCRIPTORS and define your own descriptor, including the Product ID.