AnsweredAssumed Answered

STM32F4Discovery VCP Problem

Question asked by najmee.taha on Oct 29, 2012
Latest reply on Oct 29, 2012 by Clive One

I am trying to add VCP on STM32F4Discovery but have some issues which I am not able to figure out.

When I add this command
USBD_Init(&USB_OTG_dev, USB_OTG_FS_CORE_ID, &USR_desc, &USBD_CDC_cb, &USR_cb);
in main, it stops working. I tried to debug it using Keil and found out that it stops somewhere in the Reset_Handler code in startup_stm32f4xx.s file. It stops somewhere before going into the main() routine.

Did anybody have similar kind of problem? I will really appreciate if someone can guide me through it.