Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Dec 2008 02:08 PM by  dadawan@gmail.com
Rndis Connection Failure
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
dadawan@gmail.com
New Member
New Member
Posts:


--
12 Dec 2008 02:08 PM
    We are using IMX31 Litekits and the Loce BSP for Windows CE.

    I'm having trouble with Rndis not working randomly in some OS builds. The symptom is that the Windows XP desktop identifies the device and loads the driver, but then fails with a Device Cannot Start (Error code 10). I get a Network Adapter Device in my device manager with a yellow exclamation point on it.

    What is happening is that after about 4kb of basic data being exchanged successfully, the Windows XP host sends a Setup Packet on the control port. However, on the WinCE side when this data reaches the Rndis driver it is showing up as 24 bytes of zeros. However I can see with a USB protocol analyzer, the 24 byte packet was not all zeros when it was transmitted by the desktop machine. When the WinCE RNDIS driver gets that packet of zeros, it aborts the connection and closes the pipes.

    Although this symptom is always the same, various trivial changes can affect whether this happens or not, such as if I run with KITL it works fine, the packet in question makes it over ok, and Rndis starts up and communicates. However the exact same NK.bin file will fail RNDIS if I load it directly from the compact flash and launch it without Kitl.

    I've tried various versions of LPD's function driver, and tried install WinCE on a fresh machine with the Microsoft updates, and also with a version totally up to date with the updates, but the problem remains.

    Any help or suggestions would be appreciated.
    You are not authorized to post a reply.