usbx icon indicating copy to clipboard operation
usbx copied to clipboard

The enumeration failed because UX_MEMORY_INSUFFICIENT

Open 111llll111 opened this issue 1 year ago • 1 comments

Hi,

  1. STM32H573 platform.
  2. USB host mode.
  3. Connect the HUB externally.
  4. 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!

111llll111 avatar Jan 24 '24 06:01 111llll111

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.

error

Is the resource requested by the endpoint and not released?

Thanks!

111llll111 avatar Jan 24 '24 10:01 111llll111