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.

SitaraWare 1.0.0.9 and USB

I have SitaraWare 1.0.0.8 working.  I got the newest 1.0.0.9, and the example usb_dev_serial doesn't work.  lsusb will never show the device, from my linux host.  But, 1.0.0.8 will.  I just got a fresh copy of 1.0.0.9, recompilied it, and it doesn't show up in lsusb.  Anyone have a hint?

 

Wade

  •  

    I had the same experience with .09 but did not try .08.  I'm using a Dell Laptop E6510 as my "host."

  • At (usbdenum.c) lines ~447, ~475, and ~531:  The code
     
    " if(g_eUSBMode == USB_MODE_DEVICE)  "
     
    doesn't work correctly.  It's initialized to a zero at the top of the code, but when you step through it, the memory for that static variable is not initialized properly, and has junk in it. 

    Maybe  CodeSourcery  has something to do with that.
     
    Anyway, we commented out these calls, and it appears now.  These calls are there to keep the conditional code from executing if we are plugged into a OTG port.  We are plugged into an OTG port, but there's no B side port on this board, to plug in to.  And, it doesn't work unless the conditional code is executed.  So, I'm not sure what the problem is.