windows - USB-RS232 serial connection stalls

30
2014-06
  • Zyphrax

    As a fan of gadgets sometimes I get carried away and this time I bought a Neato XV-11 vacuum bot (which by the way works pretty good).

    Now there seems to be a firmware upgrade for the device that I have to do under Windows. However I have a 2008 Macbook Pro, so I decided to use BootCamp.

    To do the upgrade you need a mini usb cable and plug it into your robot. The update application will setup a serial connection to the robot, which is emulated under COM3 in my case.

    This doesn't work because under Windows any serial connection with the device stalls after the first character that is send. I've tried it myself with Putty and Hyperterminal to setup a test serial connection (115200 baud). I want to type "help" which would list the robots commands, but only the "h" is echo-ed back to me.

    If tried the same under OSX (with terminal and the screen command, /dev/ttsy.usbmodem662, same settings as in Windows) and everything works fine (I get the list of supported robot commands)!

    After debugging with a serial communication monitor under Windows I saw that the connection is still open after the "h", but the device isn't sending anything after that. When I then disconnect the session, unplug the USB and plug it back in, I notice that the device suddenly reacts to all my previous commands. A bit as if it was buffered (I can only see this because of the serial logger).

    I've tried XP SP3(x86) and Windows 7 (x64) with Bootcamp, Parallels and VMware Fusion. I've contacted their customer support, but I'm still waiting for a technical response.

    Update - FrankenSerial workaround attempt:
    In my desperate attempts to fix this I've tried to connect the device from within OSX via a pipe to VMWare. You can do this with a unix program called socat. It basically opens a read/write stream from /dev/ttsy.usbmodem662 to the VMWare's COM1 port. I managed to communicate with the device on COM1 through this solution. Unfortunately the firmware update tool first looks for a USB device called Neato XV-11 that is simulated under COM3. Switching Windows from COM1 to COM3 doesn't work neither (they probably enumerate the usb devices, so that they don't have to scan all COM ports).

    Any clues what's going on?
    Is this a known Windows problem (on Apple hw)?
    Somehow the USB -> Serial emulation under Windows seems broken with my hardware?

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    USB to Serial adapter/cable Windows/Mac/Linux
  • alexus

    I'm looking to get a USB to Serial cable for my Mac/Win/Linux preferably small in size and without unnecessary software installations. I've had one a while ago, it would only work with Windows. On my Mac I can just plug any USB printer or scanner and it'd just work without installing anything, so that's what I want in that USB to Serial. can someone suggest me one?


  • Related Answers
  • Troggy

    http://www.amazon.com/Keyspan-Speed-Serial-Adapter-USA-19HS/dp/B0000VYJRY/ref=sr_1_2?ie=UTF8&s=electronics&qid=1249590051&sr=1-2

    This is the best one out there when is comes to mac compatibility. It does require some software installation though.

    It states on the amazon site linux and windows compatibility.

    It is the best for os x because of the driver support and ease of use. Every GPS owner and os x I know has always come back to this adapter for serial support. I'm sure this translates for other uses as well. There are other options out there for os x, but this one has the best support and drivers. Plus, it supports all the major OS's.

  • The Tentacle

    For very high performance, low latency support FTDI usb-serial have been verified as solid on OS X. Just do a search to find numerous options. The performance measurements came from the developer of a scientific toolbox for matlab who verified sub-millisecond precision.

    Startec also make reliable usb-serial cables with OS X drivers:

    http://www.startech.com/item/ICUSB232PRO-USB-to-RS-232-Serial-DB9-Adapter-with-COM-Retention.aspx