2012-01-22 02:30 PM
Hi,
I am just trying to fully customize the USB CDC example / Virtual comport. I changed the USBD_PRODUCT... string and USBD_MANUFACTURER_STRING in usbd_desc.c. I also copied STMCDC.INF to a TEST.INF, and in the TEST.INF, I changed the two strings at the end of the file (STM=''STMicroelectronics'' changed to STM=''MyName'' and DESCRIPTION=''MyName COM Port''). If I connect the device, it still connects as ''STMicroelectronics Virtual COM Port (COM...)''. I am really puzzled - this text string ''STMicroelectronics Virtual COM Port'' is neither anywhere in my firmware, nor in the inf file. Where does it come from? I also deleted all key from the registry, and anyway when I reconnect, it will appear with this name. I assumed STM is just citing the standard CDC Microsoft driver in the INF file, or am I missing something? Further I am somehow not allowed to change the VID or PID number in the usbd_desc.c (and of course also in my Test.Inf to the same value). If I do this, then the connect will fail - this is very strange, from other USB controller examples, I am used that I can modify VID and PID in the firmware, and then also in the INF file, and all will work again.2013-08-29 05:10 AM
2013-09-23 06:21 AM
Hi Sebastien,
Bil's thread was started in 2012, I don't think his issue wasn't yet resolved. Any way, thanks for the contribution which surely will help other forum users. -Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.