AnsweredAssumed Answered

CubeMX FreeRTOS USB and USB_CoreInit function

Question asked by Stephen.Ryan on Jan 20, 2017
Latest reply on Jan 24, 2017 by Stephen.Ryan

Hi

 

I used STM32CubeMX and configured a project using RTOS and USB_DEVICE (I am trying to run the USB CDC functionality with the FreeRTOS). The program runs until it hits the USB_CoreInit function inside stm32f4xx_hal_pcd.c file and then something bizarre occurs, it hangs and when i hit pause in EWARM the program counter is somewhere random. If i comment out the function the RTOS runs fine but obviously then the USB still doesn't work.

 

Has anyone had a similar issue?

 

Thanks

 

Ryan

Outcomes