This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

In RNDIS over USB, data_packet (bulkout) from Host not receiving in the Device

Other Parts Discussed in Thread: OMAPL138

Sir,

While implementing RNDIS over USB, I found that after the initialization the DATA_PACKET is not receiving in the device. As seen in the wireshark log, host is sending the data_packet as URB_BULK_out.

 After receiving this data_packet, a response should be given. But by debugging it i came to know that it is not receiving in the device. I'm  using USB CDC device.

What could be the reason for data not receiving in the device side?

I'm also attaching wireshark log of my device with this message.

  • Hi,

    Which device is this? Which Processor SDK?

    Best Regards,
    Yordan

  • Yordan Kovachev said:

    Hi,

    Which device is this? Which Processor SDK?

    Best Regards,
    Yordan

    I'm using omapl138. As I mentioned above  USB CDC device class is used since RNDIS is supported in it.

    I have completed Initialization process of RNDIS but the problem starts when the DATA_BULK_out is sent by the host as seen in the wireshark.

  • Hi,

    Ok, but you didn't share which Software are you using: Processor SDK Linux, Processor SDK RTOS? Which version?
    How did you configure the USB registers? If this is linux provide any console output (dmesg log)?

    Best Regards,
    Yordan

  • Hi,

    I'm using custom board RTOS and not Linux based.

    I didn't get what you meant by configuring USB registers. Anyway it is configured int the same way as USB virtual serial com-port device works.

    Any change in the registers needed for using RNDIS over USB device?

    Here what I noticed is that data from host sent through Bulk_out Endpoint having address 0x03 is not receiving in the device side. And I think problem is with configuring endpoint in our device. (NOTE: In configuration_descriptor Response I have already given these endpoints to host.)

  • Hello,

    Unfortunately our team does not have the expertise on RNDIS protocol to support you with this query. Typically this is done by USB CDC (communications device class) class which is not currently supported in Processor SDK RTOS, and we are unable to provide further support to develop an RNDIS using Starterware.

    This issue is good feedback for the development team for new feature development, but at the moment we cannot provide any commitments to add support for this feature in Processor SDK. 

    I apologize for this inconvenience. 

    Regards,
    Sahin