Skip to main content
Associate II
Solved

USB FS Host using FreeRTOS

Hello,
I am trying to configure USB FS Host using FreeRTOS on STM32H750.
After connecting a device to the USB I get failure on memcpy(). The problem happens because pxQueue->uxMessagesWaiting gets value while the queue (os_event) has no elements.
I believe that I missed anything in the configuration.
I didn't find any manual on the USB FS Host using FreeRTOS configuration.
Could anybody please point to a manual?

    This topic has been closed for replies.
    tarbalBest answer
    Associate II

    The problem was in the stack size. Setting the MINIMAL_STACK_SIZE to 512 resolves the issue.

    1 reply

    tarbalAuthorBest answer
    Associate II

    The problem was in the stack size. Setting the MINIMAL_STACK_SIZE to 512 resolves the issue.