We want to enable RNDIS support on MQX. 4.1.0 .In short, we need to get “OS\usb\device\examples\cdc\virtual_nic” running successfully.
As per Freescale documentation we are using RTCS module to achieve RNDIS.
We have enabled following in user_config.h:
#define RTCSCFG_ENABLE_ICMP 1
#define RTCSCFG_ENABLE_UDP 1
#define RTCSCFG_ENABLE_TCP 1
#define RTCSCFG_ENABLE_STATS 1@
#define RTCSCFG_ENABLE_GATEWAYS 1
#define FTPDCFG_USES_MFS 1
#define RTCSCFG_ENABLE_SNMP 1
While compiling the usb_device code (after enabling the macro DELAYED_PROCESSING), we are getting some compilation errors.
The same compilation issue is discussed in Freescale Community too https://community.freescale.com/thread/65659 , but no solution offered.
Hi,
Attached to this, you can find the readme for the virtual_nic example, I hope this helps!
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Thank you very much for the help.
But this is the current status for us now.
After using #define USBCFG_DEFAULT_DEVICE_CONTROLLER (&_bsp_usb_dev_khci0_if), we are successfully able to compile (the #define DELAYED_PROCESSING is not used now).
When the code is executed, the RNDIS device is getting detected on our Windows 7 machine. Please check the below image.
As found in other communities, we are not able to communicate with the device too (by trying ping command). Using the command ipconfig/all, we are seeing following message for the RNDIS device as Media disconnected.
My queries:
1) Is the demo (virtual_nic) requires Ethernet cable to be connected between our custom K70 board and router, as mentioned in the link USB Virtual NIC by Mr. Martin Latal from NXP ?