cancel
Showing results for 
Search instead for 
Did you mean: 

Example project for USBX HOST with CDC-ECM class for connecting a USB-Ethernet dongle

Rajesh Tripathi
Associate III

Looking for an example for how to configure the NetxDuo and USBX HOST stack for using CDC-ECM class for interfacing an USB-Ethernet dongle.

rtos-docs/rtos-docs/usbx/usbx-host-stack-6.md at main · eclipse-threadx/rtos-docs (github.com)

The above link gives high level view but not enough details. Looks outdated too as can't find where this function is.

/* Find the CDC-ECM class. */
class_cdc_ecm_get();

 I want to use a generic USB-Ethernet dongle 

The HW is STM32H743xi

Threadx version 6.4.0

2 REPLIES 2
ASEHST
ST Employee

Hello @Rajesh Tripathi ,

You can find a Ux_Device_CDC_ECM application here: x-cube-azrtos-h7/Projects/STM32H735G-DK/Applications/USBX/Ux_Device_CDC_ECM at main · STMicroelectronics/x-cube-azrtos-h7. which can help you.

 

With regards,

If your question is answered, please close this topic by clicking "Accept as Solution".

Hello,

I already have CDC-ECM working on custom HW with USBX device stack. This is not much helpful.
Looking for steps about how to configure the USBX stack in host mode for CDC-ECM correctly and NetXDuo. An example on STM32H735 would be very helpful.