cancel
Showing results for 
Search instead for 
Did you mean: 

USB_HOST stack issue in Free RTOS

usha
Associate

I'm using two STM32F407VGTX EVK boards to configure as host and device in BareMetal, which is working fine.

I have configured (Host and Device) the same in FreeRTOS, but it is hitting hardfault error from "static void USBH_Process_OS(void *argument)" function( usbh_core.c). Need yours support to resolve this issue. 

Below the have sent the code snippet .

usha_0-1713770415564.png

usha_1-1713770442784.pngusha_2-1713770472480.pngusha_3-1713770498646.pngusha_4-1713770517660.png

 

1 REPLY 1
FBL
ST Employee

Hi @usha 

I suggest isolating the issue and test USB Host CDC without RTOS, dig deeper and debug the HardFault.

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.