initialization Error on USBX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-06-11 2:03 AM
Hello,
I'm encountering an error during USBX initialization.
Inside the _ux_device_stack_initialize function:
memory = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, sizeof(UX_SLAVE_CLASS) * UX_MAX_SLAVE_CLASS_DRIVER);
When executing the _ux_utility_memory_allocate function, the error occurs at:
_ux_system_mutex_on(&_ux_system -> ux_system_mutex);
What could be causing this error?
- Labels:
-
STM32MP13 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-06-28 2:17 AM
Hello,
I'm using the Ux_Device_HID_A7 application and I have no probleme with:
memory = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, sizeof(UX_SLAVE_CLASS) * UX_MAX_SLAVE_CLASS_DRIVER);
the buffer is properly set at the right address in the DDR RAM.
Did you run the DDR init FW before using this application (also in the debug configuration, "monitor reset" must be removed when launching Ux_Device_HID_A7) ?
rgds,
David B.
