2018-02-23 08:55 AM
Hi,
I tried to run the example on STM32F072-EVAL found in STMicroelectronics\STM32Cube_FW_F0_V1.9.0\Projects\STM32072B_EVAL\Applications\USB_Device\CDC_Standalone.
When I plug CN4 USB connector to my PC, I see a STMicroelectronics Virtual COM Port (COM3) appear but with an exclamation mark. I have the error code 'This device cannot start. (Code 10))
My PC has Windows 10.
1) I tried to reinstall the drivers (even if it is not necessary for Windows 10)
2) I tried to increase the stack and the heap
3) I tried to change my bDeviceClass and bDeviceSubClass to 2
Unfortunately, I had no success with those modifications. Can somebody help me with that problem ?
Vincent
#stm32f072-eval-cdcSolved! Go to Solution.
2018-03-02 11:10 AM
After few hours of debugging I found that there is a problem within the example provided by ST. Instead of using their examples, I tried to generate the code with CubeMX and it worked.
There is a thread that help me in my debug :
https://community.st.com/0D50X00009XkgkoSAB
Here a printscreenof CubeMX Configuration :
So, like ST says on their web site, you no longer need to install the Drivers when your using Windows The Driver USBSER.sys will handle the CDC communication. I also tried with the ST VCP 1.4.0 Driver and it work well too.
Vincent
2018-02-23 10:59 AM
I just tested the same setup with my old Windows XP laptop and after the driver installation, everything works fines.
So it seems to be a windows 10 compatibility issue ....
2018-02-25 06:43 AM
Hi !,
We are also having similar problem on windows 10, we even tried with STM32L053 discovery kit and STM32L4 eval boards.
These examples are pre-build with the cubeL0 and cubeL4.
Please help.
VK Verma
2018-03-02 11:10 AM
After few hours of debugging I found that there is a problem within the example provided by ST. Instead of using their examples, I tried to generate the code with CubeMX and it worked.
There is a thread that help me in my debug :
https://community.st.com/0D50X00009XkgkoSAB
Here a printscreenof CubeMX Configuration :
So, like ST says on their web site, you no longer need to install the Drivers when your using Windows The Driver USBSER.sys will handle the CDC communication. I also tried with the ST VCP 1.4.0 Driver and it work well too.
Vincent