Bavarian Soundwerks
Page 25 of 79 FirstFirst ... 1516171819202122232425262728293031323334355075 ... LastLast
Results 601 to 625 of 1959

Thread: Feeler: Open Source OBC Firmware

  1. #601
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Hey no problem, as I mentioned, this is a learning exercise for me as well as a project to benefit the E36 community.

    I'm about 1/2 way done populating my first set of boards; so far everything is fitting exactly as planned and I'm noting a few things here and there for rev.2.

    I hope to get the first board complete this weekend, in time for me to begin really testing it and digging into the software early next week!

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  2. #602
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    UPDATE: First main board is populated! I need to perform some basic tests to ensure it's all working, then the software development can really begin!


    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  3. #603
    Join Date
    Apr 2007
    Location
    buffalo
    Posts
    17
    My Cars
    93 325i
    ILL!!! good work! keep the updates comin

  4. #604
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible
    Cool project! Saw it in the E36 area.
    Quote Originally Posted by m2pc View Post
    iOne last thought on the iBus; some E36 head units (CD43 for example) are connected to the iBus and can be addressed. So the stereo is a 2nd display option in the E36 for openOBC with an iBus interface!
    Here are some iBus logs of an E36 with a DICE mediabridge connected. Apperently my Android phone USB Mass storage is "UNSUPPORTED"

    The message is of a format
    Code:
    ODBII packet:     c8 10 a0 89 12 98 51 50 05 21 12 20 06 23 37 7e
                      AD LA [----data-segment--------------------] CS
    
    ibus Packet: C8 0F 3F A0 89 12 98 51 50 05 21 12 20 06 23 37 5E
                 TX LF RX [----data-segment--------------------] CS
    
    
    ODBII packet:    c8 05 40 91 CS
                     AD LA [dat] CS
    
    ibus Packet: 3F 04 C8 40 91 22
                 TX LF RX [dat] CS
    
    
    Ibus Packet:
    TX = sender address
    LF = length of following bytes (packet length - 2)
    RX = receiver address
    ..Data...<max 31/32 bytes I think>
    CS = Checksum <XOR of whole message>
    
    OBDII packet:
    AD = Device address (who is talking to Diagnostics)
    LA = Length all bytes (entire packet)
    ..Data...
    CS = Checksum
    
    With OBDII the Diagnostic source/destination is implicitly implied.
    E36 plus DICE Mediabridge (CDC + TEL replacement)
    Code:
    2010-12-11 16:53:09.078:  ! IGN ON
    2010-12-11 16:53:11.593:  00
    2010-12-11 16:53:11.593:  WARNING: Discarded 1 bytes: [00]
    2010-12-11 16:53:11.609:  68 03 C0 01 AA
    2010-12-11 16:53:11.609:  RAD  --> MID : Device status request
    2010-12-11 16:53:11.718:  68 03 A0 01 CA
    2010-12-11 16:53:11.718:  RAD  --> FID : Device status request
    2010-12-11 16:53:11.828:  68 03 80 01 EA
    2010-12-11 16:53:11.828:  RAD  --> IKE : Device status request
    2010-12-11 16:53:11.906:  76 04 FF 02 01 8E
    2010-12-11 16:53:11.906:  CDCD --> LOC : Device status ready, after Reset after Reset
    2010-12-11 16:53:11.953:  68 03 C0 01 AA
    2010-12-11 16:53:11.953:  RAD  --> MID : Device status request
    2010-12-11 16:53:12.078:  68 03 A0 01 CA
    2010-12-11 16:53:12.078:  RAD  --> FID : Device status request
    2010-12-11 16:53:12.203:  68 03 80 01 EA
    2010-12-11 16:53:12.203:  RAD  --> IKE : Device status request
    2010-12-11 16:53:12.562:  68 04 FF 3B 00 A8
    2010-12-11 16:53:12.562:  RAD  --> LOC : Radio/Telephone control, No_buttons_pressed
    2010-12-11 16:53:12.578:  68 03 D0 5D E6
    2010-12-11 16:53:12.578:  RAD  --> LCM : Light dimmer status request
    2010-12-11 16:53:12.593:  68 04 BF 02 00 D1
    2010-12-11 16:53:12.593:  RAD  --> GLO : Device status ready, 
    2010-12-11 16:53:12.609:  68 03 18 01 72
    2010-12-11 16:53:12.609:  RAD  --> CDC : Device status request
    2010-12-11 16:53:12.625:  18 04 68 02 00 76
    2010-12-11 16:53:12.625:  CDC  --> RAD : Device status ready, 
    2010-12-11 16:53:12.734:  68 05 18 38 01 00 4C
    2010-12-11 16:53:12.734:  RAD  --> CDC : CD_control, Stop
    2010-12-11 16:53:12.781:  68 05 18 38 00 00 4D
    2010-12-11 16:53:12.781:  RAD  --> CDC : CD_control, Status_Request
    2010-12-11 16:53:12.796:  18 0A 68 39 00 02 00 3F 00 01 01 7E
    2010-12-11 16:53:12.796:  CDC  --> RAD : CD_status, Stop  Request=Pause  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:12.828:  68 05 18 38 07 00 4A
    2010-12-11 16:53:12.828:  RAD  --> CDC : CD_control, Mode7_Function_00
    2010-12-11 16:53:12.843:  18 0A 68 39 02 02 00 3F 00 01 01 7C
    2010-12-11 16:53:12.843:  CDC  --> RAD : CD_status, Play  Request=Pause  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:12.859:  68 03 6A 01 00
    2010-12-11 16:53:12.859:  RAD  --> DSP : Device status request
    2010-12-11 16:53:12.875:  68 05 18 38 08 00 45
    2010-12-11 16:53:12.875:  RAD  --> CDC : CD_control, Random_Off
    2010-12-11 16:53:12.890:  18 0A 68 39 02 02 00 3F 00 01 01 7C
    2010-12-11 16:53:12.890:  CDC  --> RAD : CD_status, Play  Request=Pause  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.187:  68 05 18 38 03 00 4E
    2010-12-11 16:53:13.187:  RAD  --> CDC : CD_control, Play
    2010-12-11 16:53:13.203:  18 0A 68 39 02 09 00 3F 00 01 01 77
    2010-12-11 16:53:13.203:  CDC  --> RAD : CD_status, Play  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.218:  68 03 6A 01 00
    2010-12-11 16:53:13.218:  RAD  --> DSP : Device status request
    2010-12-11 16:53:13.937:  18 0A 68 39 08 09 00 3F 00 01 00 7C
    2010-12-11 16:53:13.937:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=0  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.968:  18 0A 68 39 08 09 00 3F 00 01 01 7D
    2010-12-11 16:53:13.968:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.984:  18 0A 68 39 07 09 00 3F 00 01 01 72
    2010-12-11 16:53:13.984:  CDC  --> RAD : CD_status, End  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:14.015:  18 0A 68 39 02 09 00 3F 00 01 01 77
    2010-12-11 16:53:14.015:  CDC  --> RAD : CD_status, Play  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:15.703:  C8 11 80 23 42 30 55 53 42 20 20 20 20 20 20 20 20 20 6C
    2010-12-11 16:53:15.703:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="USB         "
    2010-12-11 16:53:18.937:  18 0A 68 39 08 09 00 3F 00 01 00 7C
    2010-12-11 16:53:18.937:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=0  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:18.953:  18 0A 68 39 08 09 00 3F 00 01 01 7D
    2010-12-11 16:53:18.953:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:18.984:  18 0A 68 39 07 09 00 3F 00 01 01 72
    2010-12-11 16:53:18.984:  CDC  --> RAD : CD_status, End  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:19.000:  18 0A 68 39 02 09 00 3F 00 01 01 77
    2010-12-11 16:53:19.000:  CDC  --> RAD : CD_status, Play  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:19.187:  C8 11 80 23 42 30 55 4E 53 55 50 50 4F 52 54 45 44 20 7D
    2010-12-11 16:53:19.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UNSUPPORTED "
    2010-12-11 16:53:20.687:  C8 11 80 23 42 30 4E 53 55 50 50 4F 52 54 45 44 20 20 08
    2010-12-11 16:53:20.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="NSUPPORTED  "
    2010-12-11 16:53:21.187:  C8 11 80 23 42 30 53 55 50 50 4F 52 54 45 44 20 20 20 66
    2010-12-11 16:53:21.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="SUPPORTED   "
    2010-12-11 16:53:21.687:  C8 11 80 23 42 30 55 50 50 4F 52 54 45 44 20 20 20 20 15
    2010-12-11 16:53:21.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UPPORTED    "
    2010-12-11 16:53:22.187:  C8 11 80 23 42 30 50 50 4F 52 54 45 44 20 20 20 20 20 60
    2010-12-11 16:53:22.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PPORTED     "
    2010-12-11 16:53:22.515:  68 03 18 01 72
    2010-12-11 16:53:22.515:  RAD  --> CDC : Device status request
    2010-12-11 16:53:22.515:  18 04 68 02 00 76
    2010-12-11 16:53:22.515:  CDC  --> RAD : Device status ready, 
    2010-12-11 16:53:22.687:  C8 11 80 23 42 30 50 4F 52 54 45 44 20 20 20 20 20 20 10
    2010-12-11 16:53:22.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PORTED      "
    2010-12-11 16:53:23.187:  C8 11 80 23 42 30 4F 52 54 45 44 20 20 20 20 20 20 20 60
    2010-12-11 16:53:23.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="ORTED       "
    2010-12-11 16:53:23.687:  C8 11 80 23 42 30 52 54 45 44 20 20 20 20 20 20 20 20 0F
    2010-12-11 16:53:23.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="RTED        "
    2010-12-11 16:53:24.187:  C8 11 80 23 42 30 55 4E 53 55 50 50 4F 52 54 45 44 20 7D
    2010-12-11 16:53:24.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UNSUPPORTED "
    2010-12-11 16:53:25.687:  C8 11 80 23 42 30 4E 53 55 50 50 4F 52 54 45 44 20 20 08
    2010-12-11 16:53:25.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="NSUPPORTED  "
    2010-12-11 16:53:26.187:  C8 11 80 23 42 30 53 55 50 50 4F 52 54 45 44 20 20 20 66
    2010-12-11 16:53:26.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="SUPPORTED   "
    2010-12-11 16:53:26.687:  C8 11 80 23 42 30 55 50 50 4F 52 54 45 44 20 20 20 20 15
    2010-12-11 16:53:26.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UPPORTED    "
    2010-12-11 16:53:27.203:  C8 11 80 23 42 30 50 50 4F 52 54 45 44 20 20 20 20 20 60
    2010-12-11 16:53:27.203:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PPORTED     "
    2010-12-11 16:53:27.687:  C8 11 80 23 42 30 50 4F 52 54 45 44 20 20 20 20 20 20 10
    2010-12-11 16:53:27.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PORTED      "
    2010-12-11 16:53:28.187:  C8 11 80 23 42 30 4F 52 54 45 44 20 20 20 20 20 20 20 60
    2010-12-11 16:53:28.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="ORTED       "
    2010-12-11 16:53:28.687:  C8 11 80 23 42 30 52 54 45 44 20 20 20 20 20 20 20 20 0F
    2010-12-11 16:53:28.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="RTED        "
    2010-12-11 16:53:29.187:  C8 11 80 23 42 30 55 4E 53 55 50 50 4F 52 54 45 44 20 7D
    2010-12-11 16:53:29.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UNSUPPORTED "
    2010-12-11 16:53:30.687:  C8 11 80 23 42 30 4E 53 55 50 50 4F 52 54 45 44 20 20 08
    2010-12-11 16:53:30.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="NSUPPORTED  "
    2010-12-11 16:53:31.187:  C8 11 80 23 42 30 53 55 50 50 4F 52 54 45 44 20 20 20 66
    2010-12-11 16:53:31.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="SUPPORTED   "
    2010-12-11 16:53:31.687:  C8 11 80 23 42 30 55 50 50 4F 52 54 45 44 20 20 20 20 15
    2010-12-11 16:53:31.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UPPORTED    "
    2010-12-11 16:53:31.906:  ! IGN OFF
    2010-12-11 16:53:32.187:  C8 11 80 23 42 30 50 50 4F 52 54 45 44 20 20 20 20 20 60
    2010-12-11 16:53:32.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PPORTED     "
    2010-12-11 16:53:32.515:  68 03 18 01 72
    2010-12-11 16:53:32.515:  RAD  --> CDC : Device status request
    2010-12-11 16:53:32.531:  18 04 68 02 00 76
    2010-12-11 16:53:32.531:  CDC  --> RAD : Device status ready
    And E46 is far more chatty. Here's an E46 log of the car being unlocked and the Ignition being turned on. E39 post 09/98 should be much the same.
    Code:
    12/06/2010 11:40:16.359:  IKE  --> GLO : Device status ready
    12/06/2010 11:40:16.359:  80 04 BF 11 00 2A
    12/06/2010 11:40:16.359:  IKE  --> GLO : Ignition status: Off
    12/06/2010 11:40:16.375:  E8 06 00 58 FF 7F 00 36
    12/06/2010 11:40:16.375:  RLS  --> GM  : Headlight wipe interval, Data="FF 7F 00"
    12/06/2010 11:40:16.390:  E8 05 D0 59 10 00 74
    12/06/2010 11:40:16.390:  RLS  --> LCM : Low beam/Park, Data="10 00"
    12/06/2010 11:40:16.453:  E8 05 D0 59 50 00 34
    12/06/2010 11:40:16.453:  RLS  --> LCM : Low beam/Park, Data="50 00"
    12/06/2010 11:40:16.468:  44 05 BF 74 04 04 8A
    12/06/2010 11:40:16.468:  EWS  --> GLO : Immobiliser status: Valid_key_detected Key_4
    12/06/2010 11:40:16.515:  80 04 BF 11 01 2B
    12/06/2010 11:40:16.515:  IKE  --> GLO : Ignition status: Pos1_Acc
    12/06/2010 11:40:16.531:  80 09 BF 13 00 00 00 00 00 00 25
    12/06/2010 11:40:16.531:  IKE  --> GLO : IKE sensor status:
    12/06/2010 11:40:16.531:  D0 07 BF 5B 00 00 00 00 33
    12/06/2010 11:40:16.531:  LCM  --> GLO : Lamp status: All_Off  All_OK
    12/06/2010 11:40:16.546:  00 05 BF 7A 51 20 B1
    12/06/2010 11:40:16.546:  GM   --> GLO : Doors/flaps status: Open:  DvrDoorFr Boot   Ctrl_Locking: Unlocked
    12/06/2010 11:40:16.562:  00 04 BF 76 00 CD
    12/06/2010 11:40:16.562:  GM   --> GLO : Crash Alarm: No_Crash
    12/06/2010 11:40:16.578:  00 05 BF 7D 00 10 D7
    12/06/2010 11:40:16.578:  GM   --> GLO : Sunroof control: Unlock DB2=0x10
    12/06/2010 11:40:16.578:  00 04 BF 72 02 CB
    12/06/2010 11:40:16.578:  GM   --> GLO : ChkCtrl Remote Central Locking: No_Button_Pressed
    12/06/2010 11:40:16.609:  80 0C FF 24 01 00 31 31 3A 33 37 41 4D 64
    12/06/2010 11:40:16.609:  IKE  --> LOC : Update Text:  Layout=Time  Flags=  F0="11:37AM"
    12/06/2010 11:40:16.625:  80 0A FF 24 03 00 2B 31 35 2E 35 66
    12/06/2010 11:40:16.625:  IKE  --> LOC : Update Text:  Layout=Outside_Temp  Flags=  F0="+15.5"
    12/06/2010 11:40:16.640:  44 05 BF 74 05 04 8B
    12/06/2010 11:40:16.640:  EWS  --> GLO : Immobiliser status: Immobilisation_deactivated Valid_key_detected Key_4
    12/06/2010 11:40:16.671:  80 0A FF 24 03 00 2B 31 35 2E 35 66
    12/06/2010 11:40:16.671:  IKE  --> LOC : Update Text:  Layout=Outside_Temp  Flags=  F0="+15.5"
    12/06/2010 11:40:16.687:  80 09 FF 24 06 00 20 20 35 34 55
    12/06/2010 11:40:16.687:  IKE  --> LOC : Update Text:  Layout=Range  Flags=  F0="  54"
    12/06/2010 11:40:16.765:  80 09 FF 24 04 00 31 37 2E 34 4A
    12/06/2010 11:40:16.765:  IKE  --> LOC : Update Text:  Layout=Consumption_1  Flags=  F0="17.4"
    12/06/2010 11:40:16.812:  80 04 BF 11 03 29
    12/06/2010 11:40:16.812:  IKE  --> GLO : Ignition status: Pos1_Acc Pos2_On
    12/06/2010 11:40:16.828:  80 09 BF 13 03 00 00 00 00 00 26
    12/06/2010 11:40:16.828:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low 
    12/06/2010 11:40:16.843:  D0 07 BF 5B 00 00 00 00 33
    12/06/2010 11:40:16.843:  LCM  --> GLO : Lamp status: All_Off  All_OK
    12/06/2010 11:40:16.859:  00 04 BF 72 02 CB
    12/06/2010 11:40:16.859:  GM   --> GLO : ChkCtrl Remote Central Locking: No_Button_Pressed
    12/06/2010 11:40:16.875:  80 03 D0 53 00
    12/06/2010 11:40:16.875:  IKE  --> LCM : Vehicle data request
    12/06/2010 11:40:16.890:  D0 10 80 54 41 5A 19 27 80 06 21 41 2C 00 00 24 EC 33
    12/06/2010 11:40:16.890:  LCM  --> IKE : Vehicle data status: VIN XXXXXXX; Total dist 156900 kms; SI-L 3000 litres since last service; ; SI-T 9452 days since last service
    12/06/2010 11:40:16.921:  80 09 BF 13 03 B0 00 00 00 00 96
    12/06/2010 11:40:16.921:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:16.921:  D0 07 BF 5C FF FF 00 00 34
    12/06/2010 11:40:16.921:  LCM  --> GLO : Light dimmer: Data="FF FF 00 00"
    12/06/2010 11:40:16.953:  E8 03 00 75 9E
    12/06/2010 11:40:16.953:  RLS  --> GM  : Wiper status request
    12/06/2010 11:40:16.968:  00 04 E8 77 05 9E
    12/06/2010 11:40:16.968:  GM   --> RLS : Wiper status, Data="05"
    12/06/2010 11:40:16.984:  50 04 FF 3B 00 90
    12/06/2010 11:40:16.984:  MFL  --> LOC : Radio/Telephone control:_pressed
    12/06/2010 11:40:17.000:  E8 06 00 58 FF 7F 00 36
    12/06/2010 11:40:17.000:  RLS  --> GM  : Headlight wipe interval, Data="FF 7F 00"
    12/06/2010 11:40:17.015:  E8 05 D0 59 50 00 34
    12/06/2010 11:40:17.015:  RLS  --> LCM : Low beam/Park, Data="50 00"
    12/06/2010 11:40:17.046:  80 09 FF 24 0A 00 31 39 2E 38 46
    12/06/2010 11:40:17.046:  IKE  --> LOC : Update Text:  Layout=Average_Speed  Flags=  F0="19.8"
    12/06/2010 11:40:17.328:  80 09 BF 13 03 B0 00 04 00 00 92
    12/06/2010 11:40:17.328:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:17.562:  5B 03 00 71 29
    12/06/2010 11:40:17.562:  IHKA --> GM  : Rain sensor status
    12/06/2010 11:40:17.578:  00 04 BF 72 02 CB
    12/06/2010 11:40:17.578:  GM   --> GLO : ChkCtrl Remote Central Locking: No_Button_Pressed
    12/06/2010 11:40:17.796:  50 03 C8 01 9A
    12/06/2010 11:40:17.796:  MFL  --> TEL : Device status request
    12/06/2010 11:40:17.859:  5B 04 BF 02 01 E3
    12/06/2010 11:40:17.859:  IHKA --> GLO : Device status ready after Reset after Reset
    12/06/2010 11:40:17.859:  80 04 BF 11 03 29
    12/06/2010 11:40:17.859:  IKE  --> GLO : Ignition status: Pos1_Acc Pos2_On
    12/06/2010 11:40:17.890:  60 04 BF 02 01 D8
    12/06/2010 11:40:17.890:  PDC  --> GLO : Device status ready after Reset after Reset
    12/06/2010 11:40:17.906:  80 04 BF 11 03 29
    12/06/2010 11:40:17.906:  IKE  --> GLO : Ignition status: Pos1_Acc Pos2_On
    12/06/2010 11:40:18.093:  60 03 80 1D FE
    12/06/2010 11:40:18.093:  PDC  --> IKE : Temperature request
    12/06/2010 11:40:18.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:18.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:18.109:  80 06 BF 19 0F 0F 00 20
    12/06/2010 11:40:18.109:  IKE  --> GLO : Temperature: Outside 15°C, Coolant 15°C
    12/06/2010 11:40:18.187:  5B 03 80 12 CA
    12/06/2010 11:40:18.187:  IHKA --> IKE : IKE sensor status request
    12/06/2010 11:40:18.203:  80 09 BF 13 03 B0 00 04 00 00 92
    12/06/2010 11:40:18.203:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:18.218:  5B 03 D0 5D D5
    12/06/2010 11:40:18.218:  IHKA --> LCM : Light dimmer status request
    12/06/2010 11:40:18.250:  D0 07 BF 5C FF FF 00 00 34
    12/06/2010 11:40:18.250:  LCM  --> GLO : Light dimmer: Data="FF FF 00 00"
    12/06/2010 11:40:18.343:  44 03 80 16 D1
    12/06/2010 11:40:18.343:  EWS  --> IKE : Odometer request
    12/06/2010 11:40:18.359:  80 06 BF 17 00 00 00 2E
    12/06/2010 11:40:18.359:  IKE  --> GLO : Odometer: 0 km
    12/06/2010 11:40:18.859:  80 09 BF 13 03 B0 00 00 00 00 96
    12/06/2010 11:40:18.859:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:19.625:  D0 07 BF 5C FF FF FF 00 CB
    12/06/2010 11:40:19.625:  LCM  --> GLO : Light dimmer: Data="FF FF FF 00"
    12/06/2010 11:40:20.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:20.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:21.562:  50 03 C8 01 9A
    12/06/2010 11:40:21.562:  MFL  --> TEL : Device status request
    12/06/2010 11:40:22.093:  80 05 BF 18 00 00 22
    12/06/2010 11:40:22.093:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:24.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:24.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:26.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:26.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:26.375:  E8 06 00 58 FF 7F 00 36
    12/06/2010 11:40:26.375:  RLS  --> GM  : Headlight wipe interval, Data="FF 7F 00"
    12/06/2010 11:40:26.390:  E8 05 D0 59 50 00 34
    12/06/2010 11:40:26.390:  RLS  --> LCM : Low beam/Park, Data="50 00"
    12/06/2010 11:40:26.640:  50 03 C8 01 9A
    12/06/2010 11:40:26.640:  MFL  --> TEL : Device status request
    12/06/2010 11:40:27.000:  5B 05 80 83 00 08 55
    12/06/2010 11:40:27.000:  IHKA --> IKE : Air conditioning compressor status: 
    12/06/2010 11:40:27.031:  80 09 BF 13 03 B0 00 00 00 00 96
    12/06/2010 11:40:27.031:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:27.531:  3F 03 5B 00 67
    12/06/2010 11:40:27.531:  DIA  --> IHKA: Read identity
    12/06/2010 11:40:27.562:  5B 0F 3F A0 88 38 24 46 10 02 31 00 11 99 03 04 B5
    12/06/2010 11:40:27.562:  IHKA --> DIA : Diagnostic command acknowledged, Data="88 38 24 46 10 02 31 00 11 99 03 04"    [ˆ8$F  1  ™  ]
    12/06/2010 11:40:28.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:28.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:28.109:  80 06 BF 19 0F 0F 00 20
    12/06/2010 11:40:28.109:  IKE  --> GLO : Temperature: Outside 15°C, Coolant 15°C
    12/06/2010 11:40:29.375:  80 0C FF 24 01 00 31 31 3A 33 38 41 4D 6B
    12/06/2010 11:40:29.375:  IKE  --> LOC : Update Text:  Layout=Time  Flags=  F0="11:38AM"
    12/06/2010 11:40:30.093:  80 05 BF 18 00 00 22
    12/06/2010 11:40:30.093:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:31.437:  3F 03 5B 00 67
    Both were recoreded using a Resler Interface that uses Prolific 232 USB/RS232 mit Melexis TH3122 iBus interface.

    Just in case your mods take you in that direction
    Last edited by Joylove; 01-27-2011 at 03:57 AM.

  5. #605
    Join Date
    Jan 2008
    Location
    Solano County, CA
    Posts
    1,988
    My Cars
    '98 Estoril M3/4/5
    Quote Originally Posted by m2pc View Post
    UPDATE: First main board is populated! I need to perform some basic tests to ensure it's all working, then the software development can really begin!

    This actually looks pretty neat, compared to other boards that I've seen. Did you get this custom built by someone else or did you do the soldering job yourself? Design looks very clean! Been following you since you first started!

  6. #606
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by Joylove View Post
    Cool project! Saw it in the E36 area.

    Here are some iBus logs of an E36 with a DICE mediabridge connected. Apperently my Android phone USB Mass storage is "UNSUPPORTED"

    The message is of a format
    Code:
    ODBII packet:     c8 10 a0 89 12 98 51 50 05 21 12 20 06 23 37 7e
                      AD LA [----data-segment--------------------] CS
    
    ibus Packet: C8 0F 3F A0 89 12 98 51 50 05 21 12 20 06 23 37 5E
                 TX LF RX [----data-segment--------------------] CS
    
    
    ODBII packet:    c8 05 40 91 CS
                     AD LA [dat] CS
    
    ibus Packet: 3F 04 C8 40 91 22
                 TX LF RX [dat] CS
    
    
    Ibus Packet:
    TX = sender address
    LF = length of following bytes (packet length - 2)
    RX = receiver address
    ..Data...<max 31/32 bytes I think>
    CS = Checksum <XOR of whole message>
    
    OBDII packet:
    AD = Device address (who is talking to Diagnostics)
    LA = Length all bytes (entire packet)
    ..Data...
    CS = Checksum
    
    With OBDII the Diagnostic source/destination is implicitly implied.
    E36 plus DICE Mediabridge (CDC + TEL replacement)
    Code:
    2010-12-11 16:53:09.078:  ! IGN ON
    2010-12-11 16:53:11.593:  00
    2010-12-11 16:53:11.593:  WARNING: Discarded 1 bytes: [00]
    2010-12-11 16:53:11.609:  68 03 C0 01 AA
    2010-12-11 16:53:11.609:  RAD  --> MID : Device status request
    2010-12-11 16:53:11.718:  68 03 A0 01 CA
    2010-12-11 16:53:11.718:  RAD  --> FID : Device status request
    2010-12-11 16:53:11.828:  68 03 80 01 EA
    2010-12-11 16:53:11.828:  RAD  --> IKE : Device status request
    2010-12-11 16:53:11.906:  76 04 FF 02 01 8E
    2010-12-11 16:53:11.906:  CDCD --> LOC : Device status ready, after Reset after Reset
    2010-12-11 16:53:11.953:  68 03 C0 01 AA
    2010-12-11 16:53:11.953:  RAD  --> MID : Device status request
    2010-12-11 16:53:12.078:  68 03 A0 01 CA
    2010-12-11 16:53:12.078:  RAD  --> FID : Device status request
    2010-12-11 16:53:12.203:  68 03 80 01 EA
    2010-12-11 16:53:12.203:  RAD  --> IKE : Device status request
    2010-12-11 16:53:12.562:  68 04 FF 3B 00 A8
    2010-12-11 16:53:12.562:  RAD  --> LOC : Radio/Telephone control, No_buttons_pressed
    2010-12-11 16:53:12.578:  68 03 D0 5D E6
    2010-12-11 16:53:12.578:  RAD  --> LCM : Light dimmer status request
    2010-12-11 16:53:12.593:  68 04 BF 02 00 D1
    2010-12-11 16:53:12.593:  RAD  --> GLO : Device status ready, 
    2010-12-11 16:53:12.609:  68 03 18 01 72
    2010-12-11 16:53:12.609:  RAD  --> CDC : Device status request
    2010-12-11 16:53:12.625:  18 04 68 02 00 76
    2010-12-11 16:53:12.625:  CDC  --> RAD : Device status ready, 
    2010-12-11 16:53:12.734:  68 05 18 38 01 00 4C
    2010-12-11 16:53:12.734:  RAD  --> CDC : CD_control, Stop
    2010-12-11 16:53:12.781:  68 05 18 38 00 00 4D
    2010-12-11 16:53:12.781:  RAD  --> CDC : CD_control, Status_Request
    2010-12-11 16:53:12.796:  18 0A 68 39 00 02 00 3F 00 01 01 7E
    2010-12-11 16:53:12.796:  CDC  --> RAD : CD_status, Stop  Request=Pause  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:12.828:  68 05 18 38 07 00 4A
    2010-12-11 16:53:12.828:  RAD  --> CDC : CD_control, Mode7_Function_00
    2010-12-11 16:53:12.843:  18 0A 68 39 02 02 00 3F 00 01 01 7C
    2010-12-11 16:53:12.843:  CDC  --> RAD : CD_status, Play  Request=Pause  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:12.859:  68 03 6A 01 00
    2010-12-11 16:53:12.859:  RAD  --> DSP : Device status request
    2010-12-11 16:53:12.875:  68 05 18 38 08 00 45
    2010-12-11 16:53:12.875:  RAD  --> CDC : CD_control, Random_Off
    2010-12-11 16:53:12.890:  18 0A 68 39 02 02 00 3F 00 01 01 7C
    2010-12-11 16:53:12.890:  CDC  --> RAD : CD_status, Play  Request=Pause  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.187:  68 05 18 38 03 00 4E
    2010-12-11 16:53:13.187:  RAD  --> CDC : CD_control, Play
    2010-12-11 16:53:13.203:  18 0A 68 39 02 09 00 3F 00 01 01 77
    2010-12-11 16:53:13.203:  CDC  --> RAD : CD_status, Play  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.218:  68 03 6A 01 00
    2010-12-11 16:53:13.218:  RAD  --> DSP : Device status request
    2010-12-11 16:53:13.937:  18 0A 68 39 08 09 00 3F 00 01 00 7C
    2010-12-11 16:53:13.937:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=0  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.968:  18 0A 68 39 08 09 00 3F 00 01 01 7D
    2010-12-11 16:53:13.968:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:13.984:  18 0A 68 39 07 09 00 3F 00 01 01 72
    2010-12-11 16:53:13.984:  CDC  --> RAD : CD_status, End  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:14.015:  18 0A 68 39 02 09 00 3F 00 01 01 77
    2010-12-11 16:53:14.015:  CDC  --> RAD : CD_status, Play  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:15.703:  C8 11 80 23 42 30 55 53 42 20 20 20 20 20 20 20 20 20 6C
    2010-12-11 16:53:15.703:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="USB         "
    2010-12-11 16:53:18.937:  18 0A 68 39 08 09 00 3F 00 01 00 7C
    2010-12-11 16:53:18.937:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=0  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:18.953:  18 0A 68 39 08 09 00 3F 00 01 01 7D
    2010-12-11 16:53:18.953:  CDC  --> RAD : CD_status, Loading  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:18.984:  18 0A 68 39 07 09 00 3F 00 01 01 72
    2010-12-11 16:53:18.984:  CDC  --> RAD : CD_status, End  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:19.000:  18 0A 68 39 02 09 00 3F 00 01 01 77
    2010-12-11 16:53:19.000:  CDC  --> RAD : CD_status, Play  Request=Play  CD=1  Track=1  CDs_Loaded=P1,P2,P3,P4,P5,P6
    2010-12-11 16:53:19.187:  C8 11 80 23 42 30 55 4E 53 55 50 50 4F 52 54 45 44 20 7D
    2010-12-11 16:53:19.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UNSUPPORTED "
    2010-12-11 16:53:20.687:  C8 11 80 23 42 30 4E 53 55 50 50 4F 52 54 45 44 20 20 08
    2010-12-11 16:53:20.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="NSUPPORTED  "
    2010-12-11 16:53:21.187:  C8 11 80 23 42 30 53 55 50 50 4F 52 54 45 44 20 20 20 66
    2010-12-11 16:53:21.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="SUPPORTED   "
    2010-12-11 16:53:21.687:  C8 11 80 23 42 30 55 50 50 4F 52 54 45 44 20 20 20 20 15
    2010-12-11 16:53:21.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UPPORTED    "
    2010-12-11 16:53:22.187:  C8 11 80 23 42 30 50 50 4F 52 54 45 44 20 20 20 20 20 60
    2010-12-11 16:53:22.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PPORTED     "
    2010-12-11 16:53:22.515:  68 03 18 01 72
    2010-12-11 16:53:22.515:  RAD  --> CDC : Device status request
    2010-12-11 16:53:22.515:  18 04 68 02 00 76
    2010-12-11 16:53:22.515:  CDC  --> RAD : Device status ready, 
    2010-12-11 16:53:22.687:  C8 11 80 23 42 30 50 4F 52 54 45 44 20 20 20 20 20 20 10
    2010-12-11 16:53:22.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PORTED      "
    2010-12-11 16:53:23.187:  C8 11 80 23 42 30 4F 52 54 45 44 20 20 20 20 20 20 20 60
    2010-12-11 16:53:23.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="ORTED       "
    2010-12-11 16:53:23.687:  C8 11 80 23 42 30 52 54 45 44 20 20 20 20 20 20 20 20 0F
    2010-12-11 16:53:23.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="RTED        "
    2010-12-11 16:53:24.187:  C8 11 80 23 42 30 55 4E 53 55 50 50 4F 52 54 45 44 20 7D
    2010-12-11 16:53:24.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UNSUPPORTED "
    2010-12-11 16:53:25.687:  C8 11 80 23 42 30 4E 53 55 50 50 4F 52 54 45 44 20 20 08
    2010-12-11 16:53:25.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="NSUPPORTED  "
    2010-12-11 16:53:26.187:  C8 11 80 23 42 30 53 55 50 50 4F 52 54 45 44 20 20 20 66
    2010-12-11 16:53:26.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="SUPPORTED   "
    2010-12-11 16:53:26.687:  C8 11 80 23 42 30 55 50 50 4F 52 54 45 44 20 20 20 20 15
    2010-12-11 16:53:26.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UPPORTED    "
    2010-12-11 16:53:27.203:  C8 11 80 23 42 30 50 50 4F 52 54 45 44 20 20 20 20 20 60
    2010-12-11 16:53:27.203:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PPORTED     "
    2010-12-11 16:53:27.687:  C8 11 80 23 42 30 50 4F 52 54 45 44 20 20 20 20 20 20 10
    2010-12-11 16:53:27.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PORTED      "
    2010-12-11 16:53:28.187:  C8 11 80 23 42 30 4F 52 54 45 44 20 20 20 20 20 20 20 60
    2010-12-11 16:53:28.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="ORTED       "
    2010-12-11 16:53:28.687:  C8 11 80 23 42 30 52 54 45 44 20 20 20 20 20 20 20 20 0F
    2010-12-11 16:53:28.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="RTED        "
    2010-12-11 16:53:29.187:  C8 11 80 23 42 30 55 4E 53 55 50 50 4F 52 54 45 44 20 7D
    2010-12-11 16:53:29.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UNSUPPORTED "
    2010-12-11 16:53:30.687:  C8 11 80 23 42 30 4E 53 55 50 50 4F 52 54 45 44 20 20 08
    2010-12-11 16:53:30.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="NSUPPORTED  "
    2010-12-11 16:53:31.187:  C8 11 80 23 42 30 53 55 50 50 4F 52 54 45 44 20 20 20 66
    2010-12-11 16:53:31.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="SUPPORTED   "
    2010-12-11 16:53:31.687:  C8 11 80 23 42 30 55 50 50 4F 52 54 45 44 20 20 20 20 15
    2010-12-11 16:53:31.687:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="UPPORTED    "
    2010-12-11 16:53:31.906:  ! IGN OFF
    2010-12-11 16:53:32.187:  C8 11 80 23 42 30 50 50 4F 52 54 45 44 20 20 20 20 20 60
    2010-12-11 16:53:32.187:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="PPORTED     "
    2010-12-11 16:53:32.515:  68 03 18 01 72
    2010-12-11 16:53:32.515:  RAD  --> CDC : Device status request
    2010-12-11 16:53:32.531:  18 04 68 02 00 76
    2010-12-11 16:53:32.531:  CDC  --> RAD : Device status ready
    And E46 is far more chatty. Here's an E46 log of the car being unlocked and the Ignition being turned on. E39 post 09/98 should be much the same.
    Code:
    12/06/2010 11:40:16.359:  IKE  --> GLO : Device status ready
    12/06/2010 11:40:16.359:  80 04 BF 11 00 2A
    12/06/2010 11:40:16.359:  IKE  --> GLO : Ignition status: Off
    12/06/2010 11:40:16.375:  E8 06 00 58 FF 7F 00 36
    12/06/2010 11:40:16.375:  RLS  --> GM  : Headlight wipe interval, Data="FF 7F 00"
    12/06/2010 11:40:16.390:  E8 05 D0 59 10 00 74
    12/06/2010 11:40:16.390:  RLS  --> LCM : Low beam/Park, Data="10 00"
    12/06/2010 11:40:16.453:  E8 05 D0 59 50 00 34
    12/06/2010 11:40:16.453:  RLS  --> LCM : Low beam/Park, Data="50 00"
    12/06/2010 11:40:16.468:  44 05 BF 74 04 04 8A
    12/06/2010 11:40:16.468:  EWS  --> GLO : Immobiliser status: Valid_key_detected Key_4
    12/06/2010 11:40:16.515:  80 04 BF 11 01 2B
    12/06/2010 11:40:16.515:  IKE  --> GLO : Ignition status: Pos1_Acc
    12/06/2010 11:40:16.531:  80 09 BF 13 00 00 00 00 00 00 25
    12/06/2010 11:40:16.531:  IKE  --> GLO : IKE sensor status:
    12/06/2010 11:40:16.531:  D0 07 BF 5B 00 00 00 00 33
    12/06/2010 11:40:16.531:  LCM  --> GLO : Lamp status: All_Off  All_OK
    12/06/2010 11:40:16.546:  00 05 BF 7A 51 20 B1
    12/06/2010 11:40:16.546:  GM   --> GLO : Doors/flaps status: Open:  DvrDoorFr Boot   Ctrl_Locking: Unlocked
    12/06/2010 11:40:16.562:  00 04 BF 76 00 CD
    12/06/2010 11:40:16.562:  GM   --> GLO : Crash Alarm: No_Crash
    12/06/2010 11:40:16.578:  00 05 BF 7D 00 10 D7
    12/06/2010 11:40:16.578:  GM   --> GLO : Sunroof control: Unlock DB2=0x10
    12/06/2010 11:40:16.578:  00 04 BF 72 02 CB
    12/06/2010 11:40:16.578:  GM   --> GLO : ChkCtrl Remote Central Locking: No_Button_Pressed
    12/06/2010 11:40:16.609:  80 0C FF 24 01 00 31 31 3A 33 37 41 4D 64
    12/06/2010 11:40:16.609:  IKE  --> LOC : Update Text:  Layout=Time  Flags=  F0="11:37AM"
    12/06/2010 11:40:16.625:  80 0A FF 24 03 00 2B 31 35 2E 35 66
    12/06/2010 11:40:16.625:  IKE  --> LOC : Update Text:  Layout=Outside_Temp  Flags=  F0="+15.5"
    12/06/2010 11:40:16.640:  44 05 BF 74 05 04 8B
    12/06/2010 11:40:16.640:  EWS  --> GLO : Immobiliser status: Immobilisation_deactivated Valid_key_detected Key_4
    12/06/2010 11:40:16.671:  80 0A FF 24 03 00 2B 31 35 2E 35 66
    12/06/2010 11:40:16.671:  IKE  --> LOC : Update Text:  Layout=Outside_Temp  Flags=  F0="+15.5"
    12/06/2010 11:40:16.687:  80 09 FF 24 06 00 20 20 35 34 55
    12/06/2010 11:40:16.687:  IKE  --> LOC : Update Text:  Layout=Range  Flags=  F0="  54"
    12/06/2010 11:40:16.765:  80 09 FF 24 04 00 31 37 2E 34 4A
    12/06/2010 11:40:16.765:  IKE  --> LOC : Update Text:  Layout=Consumption_1  Flags=  F0="17.4"
    12/06/2010 11:40:16.812:  80 04 BF 11 03 29
    12/06/2010 11:40:16.812:  IKE  --> GLO : Ignition status: Pos1_Acc Pos2_On
    12/06/2010 11:40:16.828:  80 09 BF 13 03 00 00 00 00 00 26
    12/06/2010 11:40:16.828:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low 
    12/06/2010 11:40:16.843:  D0 07 BF 5B 00 00 00 00 33
    12/06/2010 11:40:16.843:  LCM  --> GLO : Lamp status: All_Off  All_OK
    12/06/2010 11:40:16.859:  00 04 BF 72 02 CB
    12/06/2010 11:40:16.859:  GM   --> GLO : ChkCtrl Remote Central Locking: No_Button_Pressed
    12/06/2010 11:40:16.875:  80 03 D0 53 00
    12/06/2010 11:40:16.875:  IKE  --> LCM : Vehicle data request
    12/06/2010 11:40:16.890:  D0 10 80 54 41 5A 19 27 80 06 21 41 2C 00 00 24 EC 33
    12/06/2010 11:40:16.890:  LCM  --> IKE : Vehicle data status: VIN XXXXXXX; Total dist 156900 kms; SI-L 3000 litres since last service; ; SI-T 9452 days since last service
    12/06/2010 11:40:16.921:  80 09 BF 13 03 B0 00 00 00 00 96
    12/06/2010 11:40:16.921:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:16.921:  D0 07 BF 5C FF FF 00 00 34
    12/06/2010 11:40:16.921:  LCM  --> GLO : Light dimmer: Data="FF FF 00 00"
    12/06/2010 11:40:16.953:  E8 03 00 75 9E
    12/06/2010 11:40:16.953:  RLS  --> GM  : Wiper status request
    12/06/2010 11:40:16.968:  00 04 E8 77 05 9E
    12/06/2010 11:40:16.968:  GM   --> RLS : Wiper status, Data="05"
    12/06/2010 11:40:16.984:  50 04 FF 3B 00 90
    12/06/2010 11:40:16.984:  MFL  --> LOC : Radio/Telephone control:_pressed
    12/06/2010 11:40:17.000:  E8 06 00 58 FF 7F 00 36
    12/06/2010 11:40:17.000:  RLS  --> GM  : Headlight wipe interval, Data="FF 7F 00"
    12/06/2010 11:40:17.015:  E8 05 D0 59 50 00 34
    12/06/2010 11:40:17.015:  RLS  --> LCM : Low beam/Park, Data="50 00"
    12/06/2010 11:40:17.046:  80 09 FF 24 0A 00 31 39 2E 38 46
    12/06/2010 11:40:17.046:  IKE  --> LOC : Update Text:  Layout=Average_Speed  Flags=  F0="19.8"
    12/06/2010 11:40:17.328:  80 09 BF 13 03 B0 00 04 00 00 92
    12/06/2010 11:40:17.328:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:17.562:  5B 03 00 71 29
    12/06/2010 11:40:17.562:  IHKA --> GM  : Rain sensor status
    12/06/2010 11:40:17.578:  00 04 BF 72 02 CB
    12/06/2010 11:40:17.578:  GM   --> GLO : ChkCtrl Remote Central Locking: No_Button_Pressed
    12/06/2010 11:40:17.796:  50 03 C8 01 9A
    12/06/2010 11:40:17.796:  MFL  --> TEL : Device status request
    12/06/2010 11:40:17.859:  5B 04 BF 02 01 E3
    12/06/2010 11:40:17.859:  IHKA --> GLO : Device status ready after Reset after Reset
    12/06/2010 11:40:17.859:  80 04 BF 11 03 29
    12/06/2010 11:40:17.859:  IKE  --> GLO : Ignition status: Pos1_Acc Pos2_On
    12/06/2010 11:40:17.890:  60 04 BF 02 01 D8
    12/06/2010 11:40:17.890:  PDC  --> GLO : Device status ready after Reset after Reset
    12/06/2010 11:40:17.906:  80 04 BF 11 03 29
    12/06/2010 11:40:17.906:  IKE  --> GLO : Ignition status: Pos1_Acc Pos2_On
    12/06/2010 11:40:18.093:  60 03 80 1D FE
    12/06/2010 11:40:18.093:  PDC  --> IKE : Temperature request
    12/06/2010 11:40:18.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:18.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:18.109:  80 06 BF 19 0F 0F 00 20
    12/06/2010 11:40:18.109:  IKE  --> GLO : Temperature: Outside 15°C, Coolant 15°C
    12/06/2010 11:40:18.187:  5B 03 80 12 CA
    12/06/2010 11:40:18.187:  IHKA --> IKE : IKE sensor status request
    12/06/2010 11:40:18.203:  80 09 BF 13 03 B0 00 04 00 00 92
    12/06/2010 11:40:18.203:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:18.218:  5B 03 D0 5D D5
    12/06/2010 11:40:18.218:  IHKA --> LCM : Light dimmer status request
    12/06/2010 11:40:18.250:  D0 07 BF 5C FF FF 00 00 34
    12/06/2010 11:40:18.250:  LCM  --> GLO : Light dimmer: Data="FF FF 00 00"
    12/06/2010 11:40:18.343:  44 03 80 16 D1
    12/06/2010 11:40:18.343:  EWS  --> IKE : Odometer request
    12/06/2010 11:40:18.359:  80 06 BF 17 00 00 00 2E
    12/06/2010 11:40:18.359:  IKE  --> GLO : Odometer: 0 km
    12/06/2010 11:40:18.859:  80 09 BF 13 03 B0 00 00 00 00 96
    12/06/2010 11:40:18.859:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:19.625:  D0 07 BF 5C FF FF FF 00 CB
    12/06/2010 11:40:19.625:  LCM  --> GLO : Light dimmer: Data="FF FF FF 00"
    12/06/2010 11:40:20.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:20.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:21.562:  50 03 C8 01 9A
    12/06/2010 11:40:21.562:  MFL  --> TEL : Device status request
    12/06/2010 11:40:22.093:  80 05 BF 18 00 00 22
    12/06/2010 11:40:22.093:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:24.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:24.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:26.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:26.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:26.375:  E8 06 00 58 FF 7F 00 36
    12/06/2010 11:40:26.375:  RLS  --> GM  : Headlight wipe interval, Data="FF 7F 00"
    12/06/2010 11:40:26.390:  E8 05 D0 59 50 00 34
    12/06/2010 11:40:26.390:  RLS  --> LCM : Low beam/Park, Data="50 00"
    12/06/2010 11:40:26.640:  50 03 C8 01 9A
    12/06/2010 11:40:26.640:  MFL  --> TEL : Device status request
    12/06/2010 11:40:27.000:  5B 05 80 83 00 08 55
    12/06/2010 11:40:27.000:  IHKA --> IKE : Air conditioning compressor status: 
    12/06/2010 11:40:27.031:  80 09 BF 13 03 B0 00 00 00 00 96
    12/06/2010 11:40:27.031:  IKE  --> GLO : IKE sensor status: Handbrake_On  Oil_Pressure_Low  Gear_P 
    12/06/2010 11:40:27.531:  3F 03 5B 00 67
    12/06/2010 11:40:27.531:  DIA  --> IHKA: Read identity
    12/06/2010 11:40:27.562:  5B 0F 3F A0 88 38 24 46 10 02 31 00 11 99 03 04 B5
    12/06/2010 11:40:27.562:  IHKA --> DIA : Diagnostic command acknowledged, Data="88 38 24 46 10 02 31 00 11 99 03 04"    [ˆ8$F  1  ™  ]
    12/06/2010 11:40:28.109:  80 05 BF 18 00 00 22
    12/06/2010 11:40:28.109:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:28.109:  80 06 BF 19 0F 0F 00 20
    12/06/2010 11:40:28.109:  IKE  --> GLO : Temperature: Outside 15°C, Coolant 15°C
    12/06/2010 11:40:29.375:  80 0C FF 24 01 00 31 31 3A 33 38 41 4D 6B
    12/06/2010 11:40:29.375:  IKE  --> LOC : Update Text:  Layout=Time  Flags=  F0="11:38AM"
    12/06/2010 11:40:30.093:  80 05 BF 18 00 00 22
    12/06/2010 11:40:30.093:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    12/06/2010 11:40:31.437:  3F 03 5B 00 67
    Both were recoreded using a Resler Interface that uses Prolific 232 USB/RS232 mit Melexis TH3122 iBus interface.

    Just in case your mods take you in that direction
    Wow very useful indeed! I have a few unused gates in the 74HC14 IC I've got onboard that could be used as level shifters to complete an iBus interface. There's a lot of unused pins on the X1071 as well that could be utilized for an iBus connection with a simple jumper lead off the back of the stereo going to the OBC.

    Thanks for the data dumps and OBD-II checksum info; these will definitely come in handy!

    Quote Originally Posted by desynch View Post
    This actually looks pretty neat, compared to other boards that I've seen. Did you get this custom built by someone else or did you do the soldering job yourself? Design looks very clean! Been following you since you first started!

    Thanks. It's all hand soldered by me. I unsoldered the X1070/1071 (black and white connectors) from my spare OBC and soldered them to my board.

    With one of the main goals of this project being offering of the openOBC in kit form, the design is entirely through-hole. It should take the average person with some experience soldering about 45 minutes start to finish to populate a board.
    Last edited by m2pc; 01-27-2011 at 09:57 AM. Reason: Automerged Doublepost

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  7. #607
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible
    Quote Originally Posted by m2pc View Post
    Wow very useful indeed! I have a few unused gates in the 74HC14 IC I've got onboard that could be used as level shifters to complete an iBus interface. There's a lot of unused pins on the X1071 as well that could be utilized for an iBus connection with a simple jumper lead off the back of the stereo going to the OBC.

    Thanks for the data dumps and OBD-II checksum info; these will definitely come in handy!
    No problems

    Additional spare info.

    K line and OBD2 are pretty simple. 1 wire bi-directional with a 12V idle; active low configuration at 10.4kbaud. All iBus modules must wake up after a 00 pulse. They go to sleep (minimum current consumption) after about 30 seconds of inactivity on the iBus. There is no collision detection or line signalling. All iBus modules will respond positively to a correctly decoded message, or the sender will resend again up to three times (if memory serves), or the module will be marked as faulty and ignored. Whilst each module has it's own address, there are some GLO (global) messages and LOC (general update) messages, and other modules tend to be a bit nosey. The LCM for example will listen to messages not addressed to it about the state of the Ignition.


    On E46 (and I guess E39) the Instrument cluster acts as an OBD2/ibus gateway.

    In this log I am logging the iBus and stimulating the car with INPA over OBD2. The cluster is taking the OBD2 messages from the round diagnostic connector and adding the source/destination addresses and recalculating the checksum, before broacasting over the iBus. It then takes the responses from the modules and converts them back to OBD2 and gives them to the 20 pin connector.

    Hence if you wish to use the OBD2 diagnostic socket/line and OBD2 message format on OBD2 cars, you can access all the modules in the car to get live data from the sensors using OBD2 messages, or vice versa.

    IE you have two ways of cracking the same nut, and also can use INPA to reverse engineer the iBus commands for probing the vehicle sensors.
    Code:
    ! Logging RLS sensor light value is 232, 23613/06/2010 14:14:23.750:  DIA  --> RLS : Read memory: Block 02, Offset 54, Length 01
    13/06/2010 14:14:23.765:  E8 04 3F A0 FF 8C
    13/06/2010 14:14:23.765:  RLS  --> DIA : Diagnostic command acknowledged, Data="FF"    [ÿ]
    13/06/2010 14:14:23.828:  3F 06 E8 06 02 55 01 81
    13/06/2010 14:14:23.828:  DIA  --> RLS : Read memory: Block 02, Offset 55, Length 01
    13/06/2010 14:14:23.843:  E8 04 3F A0 EC 9F
    13/06/2010 14:14:23.843:  RLS  --> DIA : Diagnostic command acknowledged, Data="EC"    [ì]
    13/06/2010 14:14:23.890:  3F 06 E8 06 02 56 01 82
    13/06/2010 14:14:23.890:  DIA  --> RLS : Read memory: Block 02, Offset 56, Length 01
    13/06/2010 14:14:23.921:  E8 04 3F A0 FF 8C
    13/06/2010 14:14:23.921:  RLS  --> DIA : Diagnostic command acknowledged, Data="FF"    [ÿ]
    13/06/2010 14:14:23.968:  3F 06 E8 06 02 57 01 83
    13/06/2010 14:14:23.968:  DIA  --> RLS : Read memory: Block 02, Offset 57, Length 01
    13/06/2010 14:14:23.984:  E8 04 3F A0 EC 9F
    13/06/2010 14:14:23.984:  RLS  --> DIA : Diagnostic command acknowledged, Data="EC"    [ì]
    13/06/2010 14:14:24.031:  3F 03 E8 1B CF
    13/06/2010 14:14:24.031:  DIA  --> RLS : Read config data
    
    13/06/2010 14:14:57.187:  ! Logging RLS sensor light value is 0
    13/06/2010 14:14:57.234:  80 05 BF 18 00 00 22
    13/06/2010 14:14:57.234:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    13/06/2010 14:14:57.250:  3F 06 E8 06 02 56 01 82
    13/06/2010 14:14:57.250:  DIA  --> RLS : Read memory: Block 02, Offset 56, Length 01
    13/06/2010 14:14:57.265:  E8 04 3F A0 00 73
    13/06/2010 14:14:57.265:  RLS  --> DIA : Diagnostic command acknowledged, Data="00"    [ ]
    13/06/2010 14:14:57.343:  3F 06 E8 06 02 57 01 83
    13/06/2010 14:14:57.343:  DIA  --> RLS : Read memory: Block 02, Offset 57, Length 01
    13/06/2010 14:14:57.359:  E8 04 3F A0 00 73
    13/06/2010 14:14:57.359:  RLS  --> DIA : Diagnostic command acknowledged, Data="00"    [ ]
    13/06/2010 14:14:57.406:  3F 03 E8 1B CF
    If I were doing this for E39 users I'd add a 3 pin male and female connector to the board to act as a pass through for PWR/GND/iBus at the CD changer.

    The TYCO 3 pin MQS connector at the bottom is the CDC connector and is on a 0.1inch pitch.

  8. #608
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by Joylove View Post
    No problems

    Additional spare info.

    K line and OBD2 are pretty simple. 1 wire bi-directional with a 12V idle; active low configuration at 10.4kbaud. All iBus modules must wake up after a 00 pulse. They go to sleep (minimum current consumption) after about 30 seconds of inactivity on the iBus. There is no collision detection or line signalling. All iBus modules will respond positively to a correctly decoded message, or the sender will resend again up to three times (if memory serves), or the module will be marked as faulty and ignored. Whilst each module has it's own address, there are some GLO (global) messages and LOC (general update) messages, and other modules tend to be a bit nosey. The LCM for example will listen to messages not addressed to it about the state of the Ignition.


    On E46 (and I guess E39) the Instrument cluster acts as an OBD2/ibus gateway.

    In this log I am logging the iBus and stimulating the car with INPA over OBD2. The cluster is taking the OBD2 messages from the round diagnostic connector and adding the source/destination addresses and recalculating the checksum, before broacasting over the iBus. It then takes the responses from the modules and converts them back to OBD2 and gives them to the 20 pin connector.

    Hence if you wish to use the OBD2 diagnostic socket/line and OBD2 message format on OBD2 cars, you can access all the modules in the car to get live data from the sensors using OBD2 messages, or vice versa.

    IE you have two ways of cracking the same nut, and also can use INPA to reverse engineer the iBus commands for probing the vehicle sensors.
    Code:
    ! Logging RLS sensor light value is 232, 23613/06/2010 14:14:23.750:  DIA  --> RLS : Read memory: Block 02, Offset 54, Length 01
    13/06/2010 14:14:23.765:  E8 04 3F A0 FF 8C
    13/06/2010 14:14:23.765:  RLS  --> DIA : Diagnostic command acknowledged, Data="FF"    [ÿ]
    13/06/2010 14:14:23.828:  3F 06 E8 06 02 55 01 81
    13/06/2010 14:14:23.828:  DIA  --> RLS : Read memory: Block 02, Offset 55, Length 01
    13/06/2010 14:14:23.843:  E8 04 3F A0 EC 9F
    13/06/2010 14:14:23.843:  RLS  --> DIA : Diagnostic command acknowledged, Data="EC"    [ì]
    13/06/2010 14:14:23.890:  3F 06 E8 06 02 56 01 82
    13/06/2010 14:14:23.890:  DIA  --> RLS : Read memory: Block 02, Offset 56, Length 01
    13/06/2010 14:14:23.921:  E8 04 3F A0 FF 8C
    13/06/2010 14:14:23.921:  RLS  --> DIA : Diagnostic command acknowledged, Data="FF"    [ÿ]
    13/06/2010 14:14:23.968:  3F 06 E8 06 02 57 01 83
    13/06/2010 14:14:23.968:  DIA  --> RLS : Read memory: Block 02, Offset 57, Length 01
    13/06/2010 14:14:23.984:  E8 04 3F A0 EC 9F
    13/06/2010 14:14:23.984:  RLS  --> DIA : Diagnostic command acknowledged, Data="EC"    [ì]
    13/06/2010 14:14:24.031:  3F 03 E8 1B CF
    13/06/2010 14:14:24.031:  DIA  --> RLS : Read config data
    
    13/06/2010 14:14:57.187:  ! Logging RLS sensor light value is 0
    13/06/2010 14:14:57.234:  80 05 BF 18 00 00 22
    13/06/2010 14:14:57.234:  IKE  --> GLO : Speed/RPM: Speed 0 km/h, 0 RPM
    13/06/2010 14:14:57.250:  3F 06 E8 06 02 56 01 82
    13/06/2010 14:14:57.250:  DIA  --> RLS : Read memory: Block 02, Offset 56, Length 01
    13/06/2010 14:14:57.265:  E8 04 3F A0 00 73
    13/06/2010 14:14:57.265:  RLS  --> DIA : Diagnostic command acknowledged, Data="00"    [ ]
    13/06/2010 14:14:57.343:  3F 06 E8 06 02 57 01 83
    13/06/2010 14:14:57.343:  DIA  --> RLS : Read memory: Block 02, Offset 57, Length 01
    13/06/2010 14:14:57.359:  E8 04 3F A0 00 73
    13/06/2010 14:14:57.359:  RLS  --> DIA : Diagnostic command acknowledged, Data="00"    [ ]
    13/06/2010 14:14:57.406:  3F 03 E8 1B CF
    If I were doing this for E39 users I'd add a 3 pin male and female connector to the board to act as a pass through for PWR/GND/iBus at the CD changer.

    The TYCO 3 pin MQS connector at the bottom is the CDC connector and is on a 0.1inch pitch.
    Sounds good. For the TX and RX diag bus interface (Pins 5 and 7 of X1071 connector), I'm using the transistor-based level shifter developed by Benemorius earlier in this thread. These go directly to the UART on the microcontroller.

    I've heard the modules on the diag bus all wake up and respond immediately at 10.4kbps but to wake up the DME it's a slow process involving 5 baud or so?

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  9. #609
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible
    Quote Originally Posted by m2pc View Post
    Sounds good. For the TX and RX diag bus interface (Pins 5 and 7 of X1071 connector), I'm using the transistor-based level shifter developed by Benemorius earlier in this thread. These go directly to the UART on the microcontroller.

    I've heard the modules on the diag bus all wake up and respond immediately at 10.4kbps but to wake up the DME it's a slow process involving 5 baud or so?
    I agree I'm fairly sure the Tx/Rx pins are 9600baud over a BMW proprietary protocol called DS2 aka OBD1. When I get some time I'll get INPA working over DS2 and see if I can log the RS232 data with a portsniffer.

    Note the DME won't be on the iBus (peripheral bus) it'll be on the can-bus (critical components like ASC and DME) and again the IKE (KOMBI; cluster) will be the gateway. You'll need to turn on the ignition to run diagnostics, I was thinking more about how your unit would go to sleep and wakeup if it was in an E39 with only PWR/GND/iBus available.

    Notes: The RLS is on the k-bus along with things like IKHA, GMIII etc. You are seeing on the iBus courtesy of the IKE.
    Code:
    07/05/2010 18:04:17.296:  DIA  --> GM  : Read identity
    07/05/2010 18:04:17.328:  00 0F 3F A0 88 38 55 38 11 01 40 08 12 99 01 12 8D
    07/05/2010 18:04:17.328:  GM   --> DIA : Diagnostic command acknowledged, Data="88 38 55 38 11 01 40 08 12 99 01 12"    [ˆ8U8  @  ™  ]
    07/05/2010 18:04:17.390:  3F 03 00 00 3C
    07/05/2010 18:04:17.390:  DIA  --> GM  : Read identity
    07/05/2010 18:04:17.406:  00 0F 3F A0 88 38 55 38 11 01 40 08 12 99 01 12 8D
    07/05/2010 18:04:17.406:  GM   --> DIA : Diagnostic command acknowledged, Data="88 38 55 38 11 01 40 08 12 99 01 12"    [ˆ8U8  @  ™  ]
    07/05/2010 18:04:17.468:  3F 03 00 00 3C
    07/05/2010 18:04:17.468:  DIA  --> GM  : Read identity
    07/05/2010 18:04:17.500:  00 0F 3F A0 88 38 55 38 11 01 40 08 12 99 01 12 8D
    07/05/2010 18:04:17.500:  GM   --> DIA : Diagnostic command acknowledged, Data="88 38 55 38 11 01 40 08 12 99 01 12"    [ˆ8U8  @  ™  ]
    07/05/2010 18:04:17.578:  3F 03 00 00 3C
    What I'm not seeing in any of my iBus logs is a peep from the DME, ABS, ASC etc. I believe the cluster is not putting them on the iBus. Ie, there is no CANbus/ibus gateway in the IKE evident in my logs.

    I have a good BMW PDF on the evolving bus systems through the years, but it's 1.2MB and the forum won't let me upload it. PM me an email addy and I'll forward it on if you are interested.
    Attached Files Attached Files

  10. #610
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by Joylove View Post
    I agree I'm fairly sure the Tx/Rx pins are 9600baud over a BMW proprietary protocol called DS2 aka OBD1. When I get some time I'll get INPA working over DS2 and see if I can log the RS232 data with a portsniffer.

    Note the DME won't be on the iBus (peripheral bus) it'll be on the can-bus (critical components like ASC and DME) and again the IKE (KOMBI; cluster) will be the gateway. You'll need to turn on the ignition to run diagnostics, I was thinking more about how your unit would go to sleep and wakeup if it was in an E39 with only PWR/GND/iBus available.

    Notes: The RLS is on the k-bus along with things like IKHA, GMIII etc. You are seeing on the iBus courtesy of the IKE.
    Code:
    07/05/2010 18:04:17.296:  DIA  --> GM  : Read identity
    07/05/2010 18:04:17.328:  00 0F 3F A0 88 38 55 38 11 01 40 08 12 99 01 12 8D
    07/05/2010 18:04:17.328:  GM   --> DIA : Diagnostic command acknowledged, Data="88 38 55 38 11 01 40 08 12 99 01 12"    [ˆ8U8  @  ™  ]
    07/05/2010 18:04:17.390:  3F 03 00 00 3C
    07/05/2010 18:04:17.390:  DIA  --> GM  : Read identity
    07/05/2010 18:04:17.406:  00 0F 3F A0 88 38 55 38 11 01 40 08 12 99 01 12 8D
    07/05/2010 18:04:17.406:  GM   --> DIA : Diagnostic command acknowledged, Data="88 38 55 38 11 01 40 08 12 99 01 12"    [ˆ8U8  @  ™  ]
    07/05/2010 18:04:17.468:  3F 03 00 00 3C
    07/05/2010 18:04:17.468:  DIA  --> GM  : Read identity
    07/05/2010 18:04:17.500:  00 0F 3F A0 88 38 55 38 11 01 40 08 12 99 01 12 8D
    07/05/2010 18:04:17.500:  GM   --> DIA : Diagnostic command acknowledged, Data="88 38 55 38 11 01 40 08 12 99 01 12"    [ˆ8U8  @  ™  ]
    07/05/2010 18:04:17.578:  3F 03 00 00 3C
    What I'm not seeing in any of my iBus logs is a peep from the DME, ABS, ASC etc. I believe the cluster is not putting them on the iBus. Ie, there is no CANbus/ibus gateway in the IKE evident in my logs.

    I have a good BMW PDF on the evolving bus systems through the years, but it's 1.2MB and the forum won't let me upload it. PM me an email addy and I'll forward it on if you are interested.
    In the PDF you posted, it appears the DME is on the D-BUS (Diagnostic Bus?) so theoretically I should be able to talk to it. If you read further up in this thread, Benemorius posted some data captures of his experience talking to the DME. There was a special wake-up procedure before the DME would respond, whereas all other connected modules woke up and responded immediately.

    Also, I've read the only CAN bus connection in the E36 is between the DME and AGS & ABS modules. I'm assuming this is for safety reasons since the CAN bus is a higher data rate and response time is critical for these modules?

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  11. #611
    Join Date
    Jul 2007
    Location
    North Delaware
    Posts
    3,013
    My Cars
    BMWs
    That is mighty impressive man Cannot wait to get my hands on one and see what it can do.

  12. #612
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible
    Quote Originally Posted by m2pc View Post
    In the PDF you posted, it appears the DME is on the D-BUS (Diagnostic Bus?) so theoretically I should be able to talk to it. If you read further up in this thread, Benemorius posted some data captures of his experience talking to the DME. There was a special wake-up procedure before the DME would respond, whereas all other connected modules woke up and responded immediately.
    That PDF is somone else's interpretation, and is pretty old. I take the contents with a pinch of salt. K bus (body bus), P bus (peripheral bus), I Bus (information bus), they are all the same 1 wire 10.4kbaud protocol AFAIK. The gateway is only there to reduce bus crowding and also the separate hierarchically the entertainment from the moderately important GM, HVAC and the critical modules like DME and ASC. And it's all E39 onwards.

    In any case, in this page I believe the chap there is not using OBD2[ISO9141] over TxD2 at 10.4kbaud, but the TxD RxD interface (D bus), to talk to the DME at 9600baud.

    Quote Originally Posted by m2pc View Post
    Also, I've read the only CAN bus connection in the E36 is between the DME and AGS & ABS modules. I'm assuming this is for safety reasons since the CAN bus is a higher data rate and response time is critical for these modules?
    I believe the canbus is as you describe, according to the diagrams in the PDF I can't upload, 500kbps. I think it's for making the car work. If you just want to find out the oil temp every 60 second and don't need to check the timing advance and fuel pressure 500 times a second (!), I would propose the D bus already available at the OBC connector will be ample for this project, with i bus for E39/E31 and CD43 adopters.

    Just gotta figure out how D Bus (TxD RxD) works now. Simple bi directional RS232 at 9600 baud or one wire 10.4kbaud on TxD with a DTR signal on RxD, or something else?
    Last edited by Joylove; 01-27-2011 at 03:00 PM.

  13. #613
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    I believe the D bus is same as K bus (open collector, idles at 12V, pull LOW to talk). IIRC it's standard RS-232 but at 10.4kbaud with a simple crossover connection between host -> bus on the TXd/RXd lines.

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  14. #614
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible
    Quote Originally Posted by m2pc View Post
    I believe the D bus is same as K bus (open collector, idles at 12V, pull LOW to talk). IIRC it's standard RS-232 but at 10.4kbaud with a simple crossover connection between host -> bus on the TXd/RXd lines.
    This is what I don't get. Why does D Bus (OBD1) prove so hard to get adaptors for if it simply uses bi directional 10.4kbaud on TxD?
    What roles does RxD provide?
    Is the packet structure different to ISO9141?

  15. #615
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Here's a nice doc on BMW bus topology I found:
    http://www.e38.org/bussystem.pdf

    It's targeted at the E38 but the D-bus should be the same, correct?

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  16. #616
    Join Date
    Dec 2009
    Location
    Sydney, Australia
    Posts
    839
    My Cars
    2009 E82 125i M Sport
    Why aren't you out there curing cancer or something?

    This shit is amazing. Well done

  17. #617
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible
    Quote Originally Posted by m2pc View Post
    Here's a nice doc on BMW bus topology I found:
    http://www.e38.org/bussystem.pdf

    It's targeted at the E38 but the D-bus should be the same, correct?
    Yes! That's the 1.2MB file I was trying to upload. It has some great topography diagrams showing the KOMBI in it's role as a bridge and some waveform examples of the high speed CAN bus for the running of the car.

    I also used this document to get the info posted in the other thread and copied here.
    Quote Originally Posted by m2pc View Post
    Sure, this project is a perfect match for OBD-I cars as well, which should have a DIAG bus going to the OBC even though there is no OBD-II port in the car. Someone correct me if I'm wrong on this.
    Spot on. Post 1996 added OBD2 for 3 modules but kept the OBD1 DS2 D Bus.

    *Spot the mistakes in this diagram - 1) D bus doesn't go to the DME/EGS but they do in the schematic 2) TxD line doesn't fan out to the rest of the car 3) DIS adaptor only uses TxD and RxD but is shown to connect to TxD2 too. 4) "D2 protocol" should read "DS2 protocol" according to Google.
    Quote Originally Posted by m2pc View Post
    Interesting, so what does the CD43 display being the "MID" in an E36? Mileage and trip functions like the 5 series MIDs? This is very surprising indeed.
    CD43 display is not the MID, it is the IKE. IKE is located in the KOMBI of the E39, and would be a good target iBus address for OpenOBC to listen to or an E36 digital ASCII dash that you were looking at.

    Mediabridge writing the word "SUPPORTED " to the CD43 LCD (IKE 0x80) over iBus.
    Code:
    2010-12-11 16:50:35.281:  C8 11 80 23 42 30 53 55 50 50 4F 52 54 45 44 20 20 20 66
    2010-12-11 16:50:35.281:  TEL  --> IKE : Display Text, Layout=0x42:  Flags=Bit4,CLS  F0="SUPPORTED   "
    Navcoder scanning the MID (0xC0) over OBD2
    Code:
    25/04/2010 18:41:12.875:  C0 04 00 C4
    25/04/2010 18:41:12.875:  DIA  --> MID : Read identity
    CD43 probing for a MID (0xC0) over iBus
    Code:
    2010-12-11 16:50:02.531:  68 03 C0 01 AA
    2010-12-11 16:50:02.531:  RAD  --> MID : Device status request
    Quote Originally Posted by m2pc View Post
    Hmm, I wonder exactly which pins go to the OBC X1071 harness then? D2 bus TXd and RXd? It is labelled "diag" so is that equal to D2?
    Yes indeed. Unfettered access to the D bus, connects directly to the round Diag port and all other modules (INC DME and EGS).

    TxD2 (ISO9141 OBD2) only goes to the DME and EGS according to the schematic. On US cars when the cap is fitted on the round plug, TxD2 goes to the 16 pin socket too.
    Last edited by Joylove; 01-28-2011 at 03:30 AM.

  18. #618
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Update: I finished populating the Expansion "A" board:


    Here's it piggybacked on the main board:


    The header in the upper right corner is for in-circuit programming of the PIC microcontroller. The header to its left is the 8-channel relay driver, and the bottom header is the 4-channel analog input, plus SPI and CAN bus connections.
    Mounted in the center is the GPS receiver (relocatable if no signal can be captured while buried in the dash), and the red PCB is the triple-axis accelerometer.
    Last edited by m2pc; 01-28-2011 at 04:30 PM.

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  19. #619
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible

  20. #620
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    The main board passed the "smoke test" today!

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  21. #621
    Join Date
    Jul 2007
    Location
    North Delaware
    Posts
    3,013
    My Cars
    BMWs
    And I'm getting more and more excited here

  22. #622
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    The power supply section checked out 100% on the +5V standby and main +5V supply and the +3.3V line. Next is connecting to my lab OBC for some basic keypad & display tests.

    Then I will write C code for accessing all modules, wrapping it all up inside a mini RTOS type environment.

    1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
    DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
    Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
    E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki

  23. #623
    Join Date
    Feb 2006
    Location
    UK
    Posts
    1,699
    My Cars
    1998 328 convertible

  24. #624
    Join Date
    Jan 2011
    Location
    Deutschland
    Posts
    105
    My Cars
    1997 318i Touring
    Subscribing.,.. The is awesome

  25. #625
    Join Date
    Dec 2004
    Location
    Milwaukee, WI
    Posts
    1,336
    My Cars
    '01 525i, 93 MX-5 autox
    Holy crap man that's looking gggoooood!
    KEVIN
    BMW CCA # 416146

    Current 2001 525i-5 / 234,000 Miles
    ///M Weighted Shift knob.
    CD43 with AUX retrofit + Bluebus
    Auto Dimming Mirror upgrade
    H&R Sport / Koni STR.T
    OEM Xenon HID Retrofit


    The Ex- 2000 540i-6 / 82,xxx miles to 186,xxx miles
    CDV Free, 545i Shifter and ///M Weighted Shift knob.
    Member of DSC Module Failure Club $$

Page 25 of 79 FirstFirst ... 1516171819202122232425262728293031323334355075 ... LastLast

Bookmarks

Posting Permissions

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