usbx
usbx copied to clipboard
The enumeration failed because UX_MEMORY_INSUFFICIENT
Hi,
- STM32H573 platform.
- USB host mode.
- Connect the HUB externally.
- External devices on HUB.
By repeatedly pluging and unpluging USB devices, I recognized USB normally at the beginning, but after dozens of experiments, the enumeration failed. Then I found that the reason for the enumeration failure was UX_MEMORY_INSUFFICIENT according to adding log. How do you solve the UX_MEMORY_INSUFFICIENT problem?
Thanks!
Hi,
Through debugging, we find that the error is in this position, as shown in the following figure, in the file "ux_host_stack_new_endpoint_create.c", the line 100 requests endpoint resource error.
Is the resource requested by the endpoint and not released?
Thanks!