CDC VNIC FreeRTOS example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CDC VNIC FreeRTOS example

Jump to solution
182 Views
alaanasef96
Contributor I

I am trying to use the USB interface of the i.MX RT1050 evaluation kit as a network interface using the CDC VNIC FreeRTOS example.
On Linux, the example works perfectly: it creates a bridge between the on-board Ethernet interface and the USB interface.

However, on Windows 11, the USB device is detected as a COM port instead of a network interface.
I tried installing the RNDIS driver, but Windows already includes a built-in RNDIS driver as far as I saw online.

Can someone explain why this happens and what needs to be changed to make Windows recognize the USB interface as a network adapter?

Labels (1)
0 Kudos
Reply
1 Solution
148 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @alaanasef96,

It is likely that Linux works because the example enumerates as a standards‑based CDC Ethernet device (CDC‑ECM), which Windows 11 does not support.

Did you follow the steps shown on the readme.md of the example project to install the RNDIS driver? Does following these steps change anything on your windows computer?

BR,
Edwin.

View solution in original post

2 Replies
149 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @alaanasef96,

It is likely that Linux works because the example enumerates as a standards‑based CDC Ethernet device (CDC‑ECM), which Windows 11 does not support.

Did you follow the steps shown on the readme.md of the example project to install the RNDIS driver? Does following these steps change anything on your windows computer?

BR,
Edwin.

118 Views
alaanasef96
Contributor I
It seems that I was trying to install the incorrect RNDIS drivers, when I used the one in the example folder "which I didnot know they exist" it works now, thank you.
now I need to change this example to use usbX and threadX
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2292689%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECDC%20VNIC%20FreeRTOS%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292689%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20trying%20to%20use%20the%20USB%20interface%20of%20the%20i.MX%20RT1050%20evaluation%20kit%20as%20a%20network%20interface%20using%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECDC%20VNIC%20FreeRTOS%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eexample.%3CBR%20%2F%3EOn%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ELinux%3C%2FSTRONG%3E%2C%20the%20example%20works%20perfectly%3A%20it%20creates%20a%20bridge%20between%20the%20on-board%20Ethernet%20interface%20and%20the%20USB%20interface.%3C%2FP%3E%3CP%3EHowever%2C%20on%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EWindows%2011%3C%2FSTRONG%3E%2C%20the%20USB%20device%20is%20detected%20as%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECOM%20port%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Einstead%20of%20a%20network%20interface.%3CBR%20%2F%3EI%20tried%20installing%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ERNDIS%20driver%3C%2FSTRONG%3E%2C%20but%20Windows%20already%20includes%20a%20built-in%20RNDIS%20driver%20as%20far%20as%20I%20saw%20online.%3C%2FP%3E%3CP%3ECan%20someone%20explain%20why%20this%20happens%20and%20what%20needs%20to%20be%20changed%20to%20make%20Windows%20recognize%20the%20USB%20interface%20as%20a%20network%20adapter%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2292689%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MXRT%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20CDC%20VNIC%20FreeRTOS%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIt%20seems%20that%20I%20was%20trying%20to%20install%20the%20incorrect%20RNDIS%20drivers%2C%20when%20I%20used%20the%20one%20in%20the%20example%20folder%20%22which%20I%20didnot%20know%20they%20exist%22%20it%20works%20now%2C%20thank%20you.%3CBR%20%2F%3Enow%20I%20need%20to%20change%20this%20example%20to%20use%20usbX%20and%20threadX%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292834%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20CDC%20VNIC%20FreeRTOS%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292834%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F250887%22%20target%3D%22_blank%22%3E%40alaanasef96%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EIt%20is%20likely%20that%20Linux%20works%20because%20the%20example%20enumerates%20as%26nbsp%3Ba%20standards%E2%80%91based%20CDC%20Ethernet%20device%20(CDC%E2%80%91ECM)%2C%20which%20Windows%2011%20does%20not%20support.%3C%2FP%3E%0A%3CP%3EDid%20you%20follow%20the%20steps%20shown%20on%20the%20readme.md%20of%20the%20example%20project%20to%20install%20the%26nbsp%3BRNDIS%20driver%3F%20Does%20following%20these%20steps%20change%20anything%20on%20your%20windows%20computer%3F%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EEdwin.%3C%2FP%3E%3C%2FLINGO-BODY%3E