2015-10-14 07:37 AM
Hi, i'm using STM32f407 for a USB project. I use CDC class (STM32_USB_Device_Library) for implementing USB device on my OLIMEX EVAL board.
When i connect my board to PC, it appear as VCP, but device manager says: ''This device cannot start. (Code 10)''.
In the forum
I found
that the solution
is to change
the values
of HEAP and STACK in startup file, but in my startup file i don't have HEAP and STACK size (file attached). Why?
What instructions
i have to add in the startup code
?
thank you all!
#vcd #startu #stm32f4 #cdc #usb2015-10-15 08:47 AM
Hi ragazzi.valerio,
The recommendation to increase heap size was provided to users who have issues to get their devices enumerated based on the generated code with CubeMX on Keil mainly.It is not for a similar case as yours. So it is not the same issue.-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.