Skip to main content
Associate II
December 5, 2023
Solved

USB FS Host using FreeRTOS

  • December 5, 2023
  • 1 reply
  • 1657 views

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.
Best answer by tarbal

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

1 reply

tarbalAuthorBest answer
Associate II
December 5, 2023

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