RT1170EVKB USB-RNDIS

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

RT1170EVKB USB-RNDIS

Jump to solution
1,210 Views
seobi
Contributor III

Hi, I am conducting tests to use the USB-RNDIS function on the MIMXRT1170-EVKB.

When I run the lwip_dhcp_usb_bm code provided in the SDK, the message "USB host init success." is printed, but nothing happens afterward.

Upon debugging the code, I found that it is stuck in an infinite loop in the following part of USB_HostApplicationInit():

while (!g_RndisInstance.attach)
{
USB_HostTaskFn(g_RndisInstance.hostHandle);
USB_HostClassTask(&g_RndisInstance);
}

Is there any jumper configuration required on the EVKB? Or am I conducting the test incorrectly?

Here is the current state of my test:

1. I have not changed any jumper settings on the EVKB board.
2. SDK version: 2.16.000
3. USB1 to PC

Best regards,

Tags (1)
0 Kudos
Reply
1 Solution
1,175 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @seobi ,

Thanks for your interest in NXP MIMXRT series!

The board's jumpers just need to be left as default, however, you will need an adapter and to connect the phone to the board.

Check out this document for details on how to test this: boards\evkbmimxrt1170\lwip_examples\lwip_dhcp_usb\bm\cm7\MCUXpresso SDK USB RNDIS & LWIP User Guide.pdf

Gavin_Jia_0-1727059681081.pngGavin_Jia_1-1727059707164.png

 

 

View solution in original post

0 Kudos
Reply
2 Replies
1,153 Views
seobi
Contributor III

Thanks for your help.

I have completed testing the rndis transmit and receive function by combining vnic and lwip.

0 Kudos
Reply
1,176 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @seobi ,

Thanks for your interest in NXP MIMXRT series!

The board's jumpers just need to be left as default, however, you will need an adapter and to connect the phone to the board.

Check out this document for details on how to test this: boards\evkbmimxrt1170\lwip_examples\lwip_dhcp_usb\bm\cm7\MCUXpresso SDK USB RNDIS & LWIP User Guide.pdf

Gavin_Jia_0-1727059681081.pngGavin_Jia_1-1727059707164.png

 

 

0 Kudos
Reply