Results 1 to 17 of 17

Thread: The DRB commands and descriptions?

  1. #1
    Heroes never die, they just reload! Turbo Mopar Staff Frank's Avatar
    Join Date
    Dec 2005
    Location
    California, MD
    Posts
    9,183

    The DRB commands and descriptions?

    Where can I find all of this information for a LM? Also what is the offical crappy baud rate of the LM? Thanks!
    Frank Katzenberger
    Squirrel Performance - Home of the best turbo calc!!!
    http://www.squirrelpf.com


    91 Daytona Shelby - It is getting there

    87 Shelby CSX #418 - Near stock is a good thing!

    94 Bronco 302 XLT - Shorty Headers, 3" exhaust, cold air intake, & Soft top



    "... to get the best out of it, you have to go beyond the line. Where bravery becomes insanity. Shall I turn into this hairpin bend at a 100mph? Why not!"



    Visit the new Knowledge Center today!

    Check out the one and only Shelby Dodge Registry!

  2. #2
    Heroes never die, they just reload! Turbo Mopar Staff Frank's Avatar
    Join Date
    Dec 2005
    Location
    California, MD
    Posts
    9,183

    Re: The DRB commands and descriptions?

    Anyone? Rob?
    Frank Katzenberger
    Squirrel Performance - Home of the best turbo calc!!!
    http://www.squirrelpf.com


    91 Daytona Shelby - It is getting there

    87 Shelby CSX #418 - Near stock is a good thing!

    94 Bronco 302 XLT - Shorty Headers, 3" exhaust, cold air intake, & Soft top



    "... to get the best out of it, you have to go beyond the line. Where bravery becomes insanity. Shall I turn into this hairpin bend at a 100mph? Why not!"



    Visit the new Knowledge Center today!

    Check out the one and only Shelby Dodge Registry!

  3. #3
    Visit www.boostbutton.com... Turbo Mopar Contributor ShelGame's Avatar
    Join Date
    Dec 2005
    Location
    Whitmore Lake, Michigan, Unite
    Posts
    9,918

    Re: The DRB commands and descriptions?

    DRB commands I don't know. I mapped out the SMEC and SBEC (DRB-II protocol). But, I can't follow the DRB-I protocol.

    I think the baud rates are 976 and 7812.

    Jeff Chojnaki(sp) had them all figured out. He made a DRB-I emulator for the PC that worked from the command line.
    https://db.tt/SV7ONZpQ
    Rob Lloyd
    '89 Daytona C/S

    2.5 T1 Auto
    13.24 @ 100.5mph
    NHRA #3728 AF/S

    boostbutton.com
    tuning wiki

  4. #4
    Heroes never die, they just reload! Turbo Mopar Staff Frank's Avatar
    Join Date
    Dec 2005
    Location
    California, MD
    Posts
    9,183

    Re: The DRB commands and descriptions?

    Those are the commands I need to request datalogging parameters correct?
    Frank Katzenberger
    Squirrel Performance - Home of the best turbo calc!!!
    http://www.squirrelpf.com


    91 Daytona Shelby - It is getting there

    87 Shelby CSX #418 - Near stock is a good thing!

    94 Bronco 302 XLT - Shorty Headers, 3" exhaust, cold air intake, & Soft top



    "... to get the best out of it, you have to go beyond the line. Where bravery becomes insanity. Shall I turn into this hairpin bend at a 100mph? Why not!"



    Visit the new Knowledge Center today!

    Check out the one and only Shelby Dodge Registry!

  5. #5
    Visit www.boostbutton.com... Turbo Mopar Contributor ShelGame's Avatar
    Join Date
    Dec 2005
    Location
    Whitmore Lake, Michigan, Unite
    Posts
    9,918

    Re: The DRB commands and descriptions?

    Yep - but if that's all you want, it's pretty universal for all of our ECU's: wait until the startup datastream stops (only on the DRB-I ECU's; DRB-II's don't have a startup datastream), then send 0x12 until the ECU replys with 0x12, then switch to the hi-speed baud rate, then send the requested memory location (1-byte) and recive the data from that byte. In the DRB-I devices, there's no way to exit hi-speed mode short of powering the car off, though.

    The later DRB-II computers do have a command (0xf2, IIRC) to exit hi-speed mode and go back to 'regular' DRB-II command processing.
    https://db.tt/SV7ONZpQ
    Rob Lloyd
    '89 Daytona C/S

    2.5 T1 Auto
    13.24 @ 100.5mph
    NHRA #3728 AF/S

    boostbutton.com
    tuning wiki

  6. #6
    Heroes never die, they just reload! Turbo Mopar Staff Frank's Avatar
    Join Date
    Dec 2005
    Location
    California, MD
    Posts
    9,183

    Re: The DRB commands and descriptions?

    Where do I acquire what memory locations contain what?
    Frank Katzenberger
    Squirrel Performance - Home of the best turbo calc!!!
    http://www.squirrelpf.com


    91 Daytona Shelby - It is getting there

    87 Shelby CSX #418 - Near stock is a good thing!

    94 Bronco 302 XLT - Shorty Headers, 3" exhaust, cold air intake, & Soft top



    "... to get the best out of it, you have to go beyond the line. Where bravery becomes insanity. Shall I turn into this hairpin bend at a 100mph? Why not!"



    Visit the new Knowledge Center today!

    Check out the one and only Shelby Dodge Registry!

  7. #7
    Visit www.boostbutton.com... Turbo Mopar Contributor ShelGame's Avatar
    Join Date
    Dec 2005
    Location
    Whitmore Lake, Michigan, Unite
    Posts
    9,918

    Re: The DRB commands and descriptions?

    From a dis-assy or source listing. What you want are the ram locations. They'll have a definition like MAPValue == 0x7a. 0x7a is the address that you request. BB60 and Turbonator use the same memory map (stock 87 T2) so you can look at either of those for reference.
    https://db.tt/SV7ONZpQ
    Rob Lloyd
    '89 Daytona C/S

    2.5 T1 Auto
    13.24 @ 100.5mph
    NHRA #3728 AF/S

    boostbutton.com
    tuning wiki

  8. #8
    Heroes never die, they just reload! Turbo Mopar Staff Frank's Avatar
    Join Date
    Dec 2005
    Location
    California, MD
    Posts
    9,183

    Re: The DRB commands and descriptions?

    Ahhh! Gotcha!
    Frank Katzenberger
    Squirrel Performance - Home of the best turbo calc!!!
    http://www.squirrelpf.com


    91 Daytona Shelby - It is getting there

    87 Shelby CSX #418 - Near stock is a good thing!

    94 Bronco 302 XLT - Shorty Headers, 3" exhaust, cold air intake, & Soft top



    "... to get the best out of it, you have to go beyond the line. Where bravery becomes insanity. Shall I turn into this hairpin bend at a 100mph? Why not!"



    Visit the new Knowledge Center today!

    Check out the one and only Shelby Dodge Registry!

  9. #9
    Visit www.boostbutton.com... Turbo Mopar Contributor ShelGame's Avatar
    Join Date
    Dec 2005
    Location
    Whitmore Lake, Michigan, Unite
    Posts
    9,918

    Re: The DRB commands and descriptions?

    Whatcha doin' ?
    https://db.tt/SV7ONZpQ
    Rob Lloyd
    '89 Daytona C/S

    2.5 T1 Auto
    13.24 @ 100.5mph
    NHRA #3728 AF/S

    boostbutton.com
    tuning wiki

  10. #10
    Heroes never die, they just reload! Turbo Mopar Staff Frank's Avatar
    Join Date
    Dec 2005
    Location
    California, MD
    Posts
    9,183

    Re: The DRB commands and descriptions?

    I am taking my Arduino (Atmel328 microprocessor - samething I used to build that knock board) to interface with the LM and my 24x8 serial display. I am basically creating the same thing as your minidash, but a little different. I will stagger the data requests so things like speed will be requested less in comparison to other important parameters. When datalogging is required, you can press a button and the display will turn off and I can then go fullout. With the ability have multiple serial sources, it works out nice.

    http://www.pjrc.com/store/mp3_display.html
    Frank Katzenberger
    Squirrel Performance - Home of the best turbo calc!!!
    http://www.squirrelpf.com


    91 Daytona Shelby - It is getting there

    87 Shelby CSX #418 - Near stock is a good thing!

    94 Bronco 302 XLT - Shorty Headers, 3" exhaust, cold air intake, & Soft top



    "... to get the best out of it, you have to go beyond the line. Where bravery becomes insanity. Shall I turn into this hairpin bend at a 100mph? Why not!"



    Visit the new Knowledge Center today!

    Check out the one and only Shelby Dodge Registry!

  11. #11
    Visit www.boostbutton.com... Turbo Mopar Contributor ShelGame's Avatar
    Join Date
    Dec 2005
    Location
    Whitmore Lake, Michigan, Unite
    Posts
    9,918

    Re: The DRB commands and descriptions?

    Cool.
    https://db.tt/SV7ONZpQ
    Rob Lloyd
    '89 Daytona C/S

    2.5 T1 Auto
    13.24 @ 100.5mph
    NHRA #3728 AF/S

    boostbutton.com
    tuning wiki

  12. #12
    Mitsu booster
    Join Date
    Aug 2010
    Location
    South Carolina
    Posts
    44

    Re: The DRB commands and descriptions?

    Quote Originally Posted by ShelGame View Post
    DRB commands I don't know. I mapped out the SMEC and SBEC (DRB-II protocol). But, I can't follow the DRB-I protocol.

    I think the baud rates are 976 and 7812.

    Jeff Chojnaki(sp) had them all figured out. He made a DRB-I emulator for the PC that worked from the command line.
    Where can I find this emulator? My google search came up empty.

    Related question (apologies for threadjacking): is 7812 the highest speed the stock smec supports? How do I know whether a given cal supports the ~65K speed?

  13. #13
    The moderately moderate moderator Turbo Mopar Staff
    Join Date
    Dec 2006
    Location
    Akron, Ohio
    Posts
    6,870

    Re: The DRB commands and descriptions?

    Frank, this gonna show real time info or just to read it after logging?
    Bryan
    86 GLHS #161, 2016 Impala
    SDAC National Member, SDAC Buckeye Chapter Member

    A man has got to know his limitations.....

  14. #14
    Visit www.boostbutton.com... Turbo Mopar Contributor ShelGame's Avatar
    Join Date
    Dec 2005
    Location
    Whitmore Lake, Michigan, Unite
    Posts
    9,918

    Re: The DRB commands and descriptions?

    Not sure anymore. I have a copy I can post, but I don't think there's any documentation. Jeff is on the baord here from time to time. I forget his username now...
    https://db.tt/SV7ONZpQ
    Rob Lloyd
    '89 Daytona C/S

    2.5 T1 Auto
    13.24 @ 100.5mph
    NHRA #3728 AF/S

    boostbutton.com
    tuning wiki

  15. #15
    We Todd D dot D Turbo Mopar Staff sdac guy's Avatar
    Join Date
    Dec 2005
    Location
    Near Detroit MI
    Posts
    4,576

    Re: The DRB commands and descriptions?

    Quote Originally Posted by ShelGame View Post
    Not sure anymore. I have a copy I can post, but I don't think there's any documentation. Jeff is on the baord here from time to time. I forget his username now...
    I'm pretty sure Jeff's username on here is jpcturbo

    Barry
    86 Shelby Lancer Prototype
    90 Daytona Shelby VNT
    91 Spirit R/T



    For your questions about SDAC, please contact BadAssPerformance


  16. #16
    Mitsu booster
    Join Date
    Aug 2010
    Location
    South Carolina
    Posts
    44

    Re: The DRB commands and descriptions?

    Quote Originally Posted by ShelGame View Post
    DRB commands I don't know. I mapped out the SMEC and SBEC (DRB-II protocol). But, I can't follow the DRB-I protocol.
    The DRB-II protocol isn't easy to follow either, and I haven't been able to find any document that definitively says what commands do what. But I took your turbonator source code and converted the DRB-II logic to pseudocode, and from that I came up with this:

    Code:
    #   Output error codes            [ 0x10 ]                     -> code1, code2, ..., 0xfe
    #   Output error bits             [ 0x11 ]                     -> HB, LB
    #   Setup hi speed data transfer  [ 0x12 ]                     -> nothing
    #   Setup ATM                     [ 0x13 ] [ arg ]             -> depends on function?
    #   Send diagnostic data to SCI   [ 0x14 ] [ loc ]             -> 1 byte
    #   Send 16-bit memory location   [ 0x15 ] [ arg1 ] [ arg2 ]   -> 1 byte
    #   Send ECU ID to SCI            [ 0x16 ] [ arg1 ]            -> ?
    #   Clear error codes             [ 0x17 ]                     -> 0xe0, 0xe0, 0xe0
    #   Control ASD relay             [ 0x18 ] [ arg1 ]            -> nothing?
    #   Set min idle speed            [ 0x19 ] [ arg1 ]            -> nothing?
    #   Switch test                   [ 0x1A ] [ arg1 ]            -> ?
    #   Init byte mode download       [ 0x1B ]                     -> nothing
    #   Reset EMR                     [ 0x1C ] [ arg1 ] [ arg2 ]   -> 0xe2 or 0x00
    Some of these commands were hard to figure out, because of all the spaghetti!

    I've attached the pseudocode and my notes on each specific command. Does any of this look right (or wrong)?

    How different is DRB-I?

    (I'm guessing I don't have to worry about that since I have an SMEC?)
    Attached Files Attached Files

  17. #17
    Visit www.boostbutton.com... Turbo Mopar Contributor ShelGame's Avatar
    Join Date
    Dec 2005
    Location
    Whitmore Lake, Michigan, Unite
    Posts
    9,918

    Re: The DRB commands and descriptions?

    Quote Originally Posted by cout View Post
    The DRB-II protocol isn't easy to follow either, and I haven't been able to find any document that definitively says what commands do what. But I took your turbonator source code and converted the DRB-II logic to pseudocode, and from that I came up with this:

    Code:
    #   Output error codes            [ 0x10 ]                     -> code1, code2, ..., 0xfe
    #   Output error bits             [ 0x11 ]                     -> HB, LB
    #   Setup hi speed data transfer  [ 0x12 ]                     -> nothing
    #   Setup ATM                     [ 0x13 ] [ arg ]             -> depends on function?
    #   Send diagnostic data to SCI   [ 0x14 ] [ loc ]             -> 1 byte
    #   Send 16-bit memory location   [ 0x15 ] [ arg1 ] [ arg2 ]   -> 1 byte
    #   Send ECU ID to SCI            [ 0x16 ] [ arg1 ]            -> ?
    #   Clear error codes             [ 0x17 ]                     -> 0xe0, 0xe0, 0xe0
    #   Control ASD relay             [ 0x18 ] [ arg1 ]            -> nothing?
    #   Set min idle speed            [ 0x19 ] [ arg1 ]            -> nothing?
    #   Switch test                   [ 0x1A ] [ arg1 ]            -> ?
    #   Init byte mode download       [ 0x1B ]                     -> nothing
    #   Reset EMR                     [ 0x1C ] [ arg1 ] [ arg2 ]   -> 0xe2 or 0x00
    Some of these commands were hard to figure out, because of all the spaghetti!

    I've attached the pseudocode and my notes on each specific command. Does any of this look right (or wrong)?

    How different is DRB-I?

    (I'm guessing I don't have to worry about that since I have an SMEC?)
    That looks the same as what I came up with.

    SMEC depends. T2 codebase was DRB-I, V6, T1 and others were DRB-II.
    https://db.tt/SV7ONZpQ
    Rob Lloyd
    '89 Daytona C/S

    2.5 T1 Auto
    13.24 @ 100.5mph
    NHRA #3728 AF/S

    boostbutton.com
    tuning wiki

Posting Permissions

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