Announcement

Collapse
No announcement yet.

Mode 9. Request Vehicle Information for KWP 2000(ISO 14230)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mode 9. Request Vehicle Information for KWP 2000(ISO 14230)

    Hi everybody!!
    I am designing an ECU simulator with ISO 14230 protocol.
    I have a problem when I send data frame to tester from my ECU simulator. I am continuing the SAEJ1979.In mode 9, the external test equipment requests all supported InfoTypes from the vehicle with InfoType 0x00. My ECU must support the following InfoTypes: $01, $02, $03, $04, $05, and $06 (0xFC)

    Tester send me 0xC2,0x33,0xF1,0x09,0x00

    Then I send to the tester 0x86,0xF1,0x10,0x49,0x00,0xFC,0x00,0x00,0x00, the tester ignores the response. However if I send 0x86,0xF1,0x10,0x49,0x00,0x00,0xFC,0x00,0x00 the tester receives the response.
    Why is this?

    Thanks!!

  • #2
    Originally posted by proyectanteATE View Post
    Hi everybody!!
    I am designing an ECU simulator with ISO 14230 protocol.
    I have a problem when I send data frame to tester from my ECU simulator. I am continuing the SAEJ1979.In mode 9, the external test equipment requests all supported InfoTypes from the vehicle with InfoType 0x00. My ECU must support the following InfoTypes: $01, $02, $03, $04, $05, and $06 (0xFC)

    Tester send me 0xC2,0x33,0xF1,0x09,0x00

    Then I send to the tester 0x86,0xF1,0x10,0x49,0x00,0xFC,0x00,0x00,0x00, the tester ignores the response. However if I send 0x86,0xF1,0x10,0x49,0x00,0x00,0xFC,0x00,0x00 the tester receives the response.
    Why is this?
    Because the response format is:

    <response SID><InfoType><MessageCount><data>

    So technically, both of your responses are wrong. The first message says that MessageCount is 0xFC, and the second says that the MessageCount is 0x00. The only reason the second message works, is because your particular tester ignores the MessageCount field (you can put anything you want there). This is what a proper reply looks like:

    >0900
    87 F1 10 49 00 01 FC 00 00 00 CE


    This is from a communication session with the ECUsim 2000/5100, but real ECUs respond the same way.

    Best regards,

    Vitaliy
    Last edited by Vitaliy; 02-21-2011, 05:03 PM. Reason: formatting
    OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
    Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

    You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

    Comment


    • #3
      Thanks Vitaliy!! But, is this that you say for all modes? Because in mode 1 I use 0x86,0xF1,0x10,0x41,0x00,0x98,0x3B,0x00,0x11 and the tester identifies correctly the PIDs supported.

      As you say, 0x98 would be messageCount? The case is that tester identifies this 0x98 like 1001 1000 (PIDs 1,4,5 supported)

      Comment


      • #4
        Originally posted by proyectanteATE View Post
        Thanks Vitaliy!! But, is this that you say for all modes? Because in mode 1 I use 0x86,0xF1,0x10,0x41,0x00,0x98,0x3B,0x00,0x11 and the tester identifies correctly the PIDs supported.

        As you say, 0x98 would be messageCount? The case is that tester identifies this 0x98 like 1001 1000 (PIDs 1,4,5 supported)
        Mode $01 doesn't have MessageCount. Don't you have a copy of J1979? How can you develop a J1979 simulator, if you don't know the basics?

        Vitaliy
        OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
        Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

        You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

        Comment


        • #5
          Yes I have a SAEJ1979 copy but I 1 had not notice very much in the mode1.
          You have reason it does not have messagecount.
          Thanks!!

          Comment

          Working...
          X