- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to create a combined device of dual CDC and mass storage class in USBUART component of Psoc5lp.
I am using the USBUART_SerialNumString function to set the USB serial number but I can not set it.
Is there anything wrong with the device descriptor settings?
The device descriptor registers the following three things for reference, and it is possible to set the USB serial number for 1 and 2 using the USB UART_SerialNumString function.
1. Dual CDC 2. Single CDC 3. Dual CDC and MSC
Solved! Go to Solution.
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can try using USB UART_SerialNumString function with the composite project available at this link:
https://www.hackster.io/hima/designing-psoc4200l-usb-composite-device-364a37
If you are unable to change USB serial number, then it may not be possible to do so with multiple classes having Composite device with the API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You need not to give IAD for MSC since it has only one interface.
Thanks,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for advice.
Is there nothing to do with the fact that the USB descriptor settings and the USB serial number can not be rewritten?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can try using USB UART_SerialNumString function with the composite project available at this link:
https://www.hackster.io/hima/designing-psoc4200l-usb-composite-device-364a37
If you are unable to change USB serial number, then it may not be possible to do so with multiple classes having Composite device with the API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your advice!
I'll continue investigation.