Results 1 to 3 of 3

Thread: Didn't get parsable data back for cmd 00:

  1. #1
    Constant Bitrate
    Join Date
    Aug 2007
    Northern VA

    Didn't get parsable data back for cmd 00:

    Hi Guys

    I'm having trouble getting data from my scantool. It connect, but I get "Didn't get parsable data back for cmd 00:" and things go downhill from there. I tried connecting at 38400 baud as well with no luck.

    Here is what I get from --serial-log=slog

    cgalpin@jaunty:~/tmp/obdgpslogger/bin$ od -c slog 
    0000000   A   T   Z  \r   x 374 370 370 377 017   0   1   0   0  \r 370
    0000020 374 370 370 377 017   A   T   E   0  \r   x 374 370 370 377 017
    0000040   A   T   S   0  \r   x 376   x 374 370 017   0   1   0   0  \r
    0000060 370   A   T   Z  \r 224 212  \v  \b 373 003

  2. #2
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Los Angeles
    Binary garbage across the serial port. An easy way to know your baudrate's squiffy.

    Try editing src/logger/obdserial.c around line 94. Before the tcsetattr, add the following:
    cfsetispeed(&options, B38400);
    cfsetospeed(&options, B38400);
    The way obdgpslogger works right now, it simply gets the serial port settings using tcgetattr, modifies the ones it cares about [canonical mode, etc], and writes those settings back using tcsetattr.

    This assumes that your {serial port, usb device driver, usb-to-serial chip} are all Doing The Right Thing(TM) and negotiating stuff right. In practice, I'm finding that a lot of people have their ports set to 9600 or 38400, but the device is set to the *other* one

    You could also try using stty to set the baudrate on the port before launching obdgpslogger [probably faster and easier than modifying code, come to think of it]:
    stty -F /dev/ttyS0 38400

    In future, I think I'm going to add command-line options to control the baudrate by hand. [My OBDPro device uses the LEDs when you power it on to tell you what baudrate it's set to]

    Lemme know if that improves things

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  3. #3
    Constant Bitrate
    Join Date
    Aug 2007
    Northern VA
    Just for anyone following this, I really didn't make any progress with this. Gary and I discussed this in IRC and I think it's a ftdi driver issue. Even just doing a basic connectivity test with minicom barely worked, and never could get a proper conversation going. I did verify communication speeds and even managed to change the OBDPRos scantool to 38400, but it didn't help. Works fine with the windows software it came with on a real windows laptop.

    So for now I am going to shelve it. I honestly don't care about put a computer in my cars with OBDII right now, and will focus on my non-OBD and OBDI trucks!


Similar Threads

  1. Replies: 444
    Last Post: 10-21-2014, 06:50 PM
  2. police laptop\radio frequency
    By jdogg1583 in forum Hardware Development
    Replies: 63
    Last Post: 03-31-2008, 05:32 PM
  3. Replies: 2
    Last Post: 07-01-2006, 06:39 PM
  4. AutoTap ODB-2 cable...
    By coleman in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 18
    Last Post: 11-29-2004, 12:13 AM
  5. VOICES Traffic Data
    By stevieg in forum V.O.I.C.E.S
    Replies: 85
    Last Post: 05-31-2004, 09:24 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts