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 28 Oct 2014 10:37 AM by  Adam Ford
USB OTG lockup issue on WinCE 6.0
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Tom Sebok
New Member
New Member
Posts:1


--
27 Oct 2014 04:24 PM

    I am having an issue with USB OTG drivers when using them as a peripheral serial over USB port on Windows CE.   In our setup the PC is running a GUI that is sending commands across the USB interface to the SOM which is processing data and sending results back. If data is not sent from the PC to the SOM within the DO_INACTIVITY_TIMEOUT time of 10 seconds a timeout event is triggered in the otgusb.c file.  If this event is triggered there then is about 1 chance in 100 that the USB bus will lockup.     In its simplest form if the code on the PC GUI looks like the following it will fail after about 1/2 hour.

     loop forever

        write data across USB to SOM

       Sleep 12 seconds

    end loop

    To keep the event inactivity timeout from occurring we are having to send dummy data to the SOM at regular intervals of 5 seconds.  If this is done the interface never freezes up.  What is the issue with the driver?

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:785


    --
    28 Oct 2014 10:37 AM
    I would look at this link: http://support.logicpd.co...ft/1897/Default.aspx

    I think it might help address what you are seeing.


    adam
    You are not authorized to post a reply.