cancel
Showing results for 
Search instead for 
Did you mean: 

stmelectronics.xcube-azrtos-h5 not found in STMCubemx

pooja
Associate II

Hello ,

We are devloping application using NUCLEO-H503 , try to install USBX as CDC-ACM port and transfer data to host device ,

1. Try to install Driver for USBX , but not found stmelectronics.xcube-azrtos-h5  

USBX_ISSUE.png

How to use NUCLE-H503 USB in Device mode only as CDC-ACM port 

1 ACCEPTED SOLUTION

Accepted Solutions
Foued_KH
ST Employee

Hello @pooja , 

The xcube-azrtos-h5 is not available.

For USBX : Please before enable the THREADX , then you can use the USBX : 

Foued_KH_0-1697797802912.png


Foued

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Foued_KH
ST Employee

Hello @pooja , 

The xcube-azrtos-h5 is not available.

For USBX : Please before enable the THREADX , then you can use the USBX : 

Foued_KH_0-1697797802912.png


Foued

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello  Foued 

Thanks for your support 

NUCLEO-H503 : USB Driver 

Import example code from package en.stm32cubeh5-v1-1-0 STM32Cube_FW_H5_V1.1.0-Projects-NUCLEO-H503RB-Applications-USBX-Ux_Device_CDC_ACM

and Run the example using STMcubemx IDE 

But gives error for 

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 */

}

Wait in while

 

Check error status : UX_MEMORY_INSUFFICIENT

 

 

 

 

 add size

#define UX_DEVICE_APP_MEM_POOL_SIZE 30000
#define USBX_DEVICE_MEMORY_STACK_SIZE 25000

Hi

sorry my engish

in file stm32h5xx_hal_pcd.c written:

Configure PCD pin-out

hpcd.pData = pdev;

how is correct doing ?