cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with file startup_stm32f407xx.S

vlr
Associate II
Posted on October 14, 2015 at 16:37

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 #usb
1 REPLY 1
Amel NASRI
ST Employee
Posted on October 15, 2015 at 17:47

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.