Skip to main content
Visitor II
April 22, 2024
Question

USB_HOST stack issue in Free RTOS

  • April 22, 2024
  • 1 reply
  • 680 views

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

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 22, 2024

    Hi @usha 

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