AnsweredAssumed Answered

Custom VID, PID, MANUFACTURER_STRING, PRODUCT_STRING for USB CDC?

Question asked by Abhishek Kumar on Oct 27, 2017
Latest reply on Oct 28, 2017 by Vangelis Fortounas

I am using the STM USB CDC VCP middle-ware stack on STM32F777II MCU. I just wanted to know if there is a way to create the application in such a way that when this USB CDC VCP device connects to my windows PC, it comes up with a custom VID, PID, MANUFACTURER_STRING, PRODUCT_STRING. I see that on the mcu side this can be done by changing the following macros in "usbd_desc.c" file:

 

#define USBD_VID 1155
#define USBD_MANUFACTURER_STRING (uint8_t*)"STMicroelectronics"
#define USBD_PID_FS 22336
#define USBD_PRODUCT_STRING_FS (uint8_t*)"STM32 Virtual ComPort"

 

 

However, when I change any of these, I am unable to use the USB VCP windows driver provided by STM. Do I need to customize the windows drivers as well. If yes, then is there a quick way of doing so?

Outcomes