Associate II
October 29, 2012
Question
STM32F4Discovery VCP Problem
- October 29, 2012
- 3 replies
- 951 views
Posted on October 29, 2012 at 01:55
Hello,
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.