cancel
Showing results for 
Search instead for 
Did you mean: 

initialization Error on USBX

Stnoobs
Associate II

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?

 

1 REPLY 1
DBELL.1
ST Employee

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.