cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual serial com port driver Error:10

ramazankaan95
Associate
Posted on October 27, 2016 at 12:20

Hi everybody, 

I am using a discovery eval board(stm32f4) with a 64-bit Win8.1 computer. I want to establish a serial commmunication via uart. So i have installed VCP software from STmicroelectronics website. But i see exclamation mark on the device in the device manager with error code:10.

 I am quite new with these discovery boards could you explain me what to do very simply?

Thank you. 

#stm32 #usb #cdc #vcp #windows8
3 REPLIES 3
slimen
Senior
Posted on October 27, 2016 at 15:10

Hello,

I think this is related to the max_packet_size. Try to increase heap and stack sizes defined in startup_stm32f4xxxx.s file

Regards
ramazankaan95
Associate
Posted on October 28, 2016 at 11:07

So, how can i access this file ? Where is it ?

slimen
Senior
Posted on October 28, 2016 at 11:39

Hi,

The startup files are here: 

STM32Cube_FW_Fx_Vx.x.x\Drivers\CMSIS\Device\ST\STM32FXxx\Source\Template

(depending on used IDE).

In your case for STM32F4: STM32Cube_FW_F4_V1.13.0\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates 

Regards