STMicroelectronics Virtual COM Port not installing correctly

DiddyMoe

Reputable
Jun 16, 2014
5
0
4,510
I've been trying to diagnose my problems for the past 4 days now. It started with me trying to install the driver manually using a software. It would install successfully but it would not display in Device Manager under Ports.

I found out I can manually install the COM port using Add/Remove hardware (typing hdwwiz in start menu search area). I do that and it says it installed successfully but it also gave me an error:

"This Device Cannot Start (Code 10)."

I looked up possible solutions but the ones I found involved actual hardware. This is a virtual port so I am not sure how to get this to work.

This is how my Device Manager looks:
ea26c1fb410c2c4912b43fd5c6af09ba.png


121195091679dfa2508219c43fd3b926.png



Thanks for the assistance!
 
Solution
https://harinadha.wordpress.com/tag/stm32-virtual-com-port/
download the libraries
http://www.st.com/web/en/catalog/tools/PF258157#
the usb_desc.h locate in STM32_USB-FS-Device_Lib_V3.4.0\Project\Virtual_COM_Port\inc

hope this helps,

DiddyMoe

Reputable
Jun 16, 2014
5
0
4,510


Yes. I tried to manually install the driver as well as using the drivers on their site. I even tried doing both at the same time.

I looked up some information and came to these two links:

https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy.st.com%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fVirtual%20COM%20Port%20Windows7&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=1498

https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FVirtual%20COM%20port%20in%20Win7%20or%20Vista%2032-bit&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=13480



I believe the error is in the buffer size as people in those two threads stated. I have absolutely no idea how to access the usb descriptor files or where I can find usb_desc.h to change the buffer size. I believe that's the solution but I don't know how to gain access.
 

DiddyMoe

Reputable
Jun 16, 2014
5
0
4,510


I sure did! I'm trying to figure out how to access the information they're referring to regarding things like changing CDC_IN_FRAME_INTERVAL in usbd_conf.h

Or if you used google search and looked at the second link: https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy.st.com%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fVirtual%20COM%20Port%20Windows7&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=1501

I want to access usb_desc.h to change VIRTUAL_COM_PORT_DATA_SIZE.


I don't understand how to open these types of files or where they are located on the computer. If they are supposed to be .inf files, where do I find the correct one?

Thank you.
 

supasieu

Reputable
Mar 10, 2014
475
0
4,960
https://harinadha.wordpress.com/tag/stm32-virtual-com-port/
download the libraries
http://www.st.com/web/en/catalog/tools/PF258157#
the usb_desc.h locate in STM32_USB-FS-Device_Lib_V3.4.0\Project\Virtual_COM_Port\inc

hope this helps,
 
Solution

DiddyMoe

Reputable
Jun 16, 2014
5
0
4,510


It helped a lot and I finally understand where all this information is at. Unfortunately due to fact I have no knowledge in C++ programming or even programming in general, this is probably as far as I will get for now. I don't know how to proceed from here and I'm sure this is not something I should not be dealing with at the current moment. I greatly appreciate the help.

--------------------

It seems I was taking the wrong approach to fixing the problem. I have the driver installed and it still doesn't show up under Ports in Device Manager. Would you have any idea how I can even begin diagnosing the problem?