cancel
Showing results for 
Search instead for 
Did you mean: 

Example for USB HID / NUCLEO-071RB

nyholku
Visitor

I have a NUCLEO-071RB development board.

Is there a ready to run example for this board somewhere?

I tried to generate a bare bone example with CubeMX.

The code loads and runs but hangs in here:

MX_ThreadX_Init =>  
tx_kernel_enter => 
tx_initiali ze_kernel_enter =>
tx_application_define

The code enters infinite loop here, with the status==255

memory_ptr = (VOID *)&ux_device_app_byte_pool;
status = MX_USBX_Device_Init(memory_ptr);
if (status != UX_SUCCESS)
{
/* USER CODE BEGIN MX_USBX_Device_Init_Error */
while(1)
{
}
/* USER CODE END MX_USBX_Device_Init_Error */
}


I can of course debug that further but rather than going down that rabbit hole the first thing with this processors I would be prefer and example code that compiles, loads, runs, initialises and enumerates correctly as HID as a starting point.

0 REPLIES 0