+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
  1. #1
    VXRed
    Join Date
    16th May 2015
    Posts
    13

    Cool Reversing the CAN bus

    Has anyone done any work reversing the CAN bus on the astra H? I'm interested in reversing it with a view of reading data to make a custom UI to replace the GID. Also, it's a fun challenge.

    Over the weekend i had a first pass at reading some from the midspeed bus using an arduino. Haven't gotten very far but from the buttons this is what i've found:

    CanIDs (Hex):
    206 - Steering controls
    201 - Stereo?

    Button press events are made up of 3 bytes:
    - Byte1 seems to be an action (1 is press, 0 release, 8 roll - like when using steering control roll button things).
    - Byte2 Button ID, so far i've got:
    91 Steering controls right arrow up
    92 Steering controls right arrow down
    93 Steering controls right roll button
    81 Steering controls left top button
    82 Steering controls left bottom button
    83 Steering controls left roll button
    FF Settings (button on radio)
    01 BC Button on radio
    6F OK Button on radio
    31 - 39 1-9 buttons on radio
    6C Right seek button on radio
    6D Left seek button on radio
    - Byte3 seems to be some kind of count. When the button is held in pressed state it counts from 0+. When using the roll button it switches between 0 and FF depending which way you roll (up or down)

    When i next get time i want to take a look at the way screen info is sent, I think that's the most interesting of all. Anyone have any more they can share, or want to help towards working it all out?

  2. #2
    Are you VXR enough?
    Join Date
    17th July 2013
    Posts
    867

    Default

    Gibberish ��

  3. #3
    VXR Nothing comes close w20adm's Avatar
    Join Date
    23rd June 2010
    Posts
    11,814

    Default

    Man, this is something for someone with a lot of time on their hands lol
    W20 ADM's led Lighting shop, see link below for details
    http://www.vxronline.co.uk/forum/sho...-lighting-shop

  4. #4
    VXRed blooded Seanwebb68's Avatar
    Join Date
    31st July 2014
    Posts
    349

    Default Reversing the CAN bus

    Looks interesting mate. What UI would you be putting in if you can work out all of the commands?


    Sent from my iPhone using Tapatalk
    Last edited by Seanwebb68; 16th May 2017 at 10:02 PM.
    Tuned By Rabbid Remaps

  5. #5
    VXR enough
    Join Date
    25th January 2010
    Posts
    1,077

    Default

    Quote Originally Posted by Frostic View Post
    Has anyone done any work reversing the CAN bus on the astra H? I'm interested in reversing it with a view of reading data to make a custom UI to replace the GID. Also, it's a fun challenge.

    Over the weekend i had a first pass at reading some from the midspeed bus using an arduino. Haven't gotten very far but from the buttons this is what i've found:

    CanIDs (Hex):
    206 - Steering controls
    201 - Stereo?

    Button press events are made up of 3 bytes:
    - Byte1 seems to be an action (1 is press, 0 release, 8 roll - like when using steering control roll button things).
    - Byte2 Button ID, so far i've got:
    91 Steering controls right arrow up
    92 Steering controls right arrow down
    93 Steering controls right roll button
    81 Steering controls left top button
    82 Steering controls left bottom button
    83 Steering controls left roll button
    FF Settings (button on radio)
    01 BC Button on radio
    6F OK Button on radio
    31 - 39 1-9 buttons on radio
    6C Right seek button on radio
    6D Left seek button on radio
    - Byte3 seems to be some kind of count. When the button is held in pressed state it counts from 0+. When using the roll button it switches between 0 and FF depending which way you roll (up or down)

    When i next get time i want to take a look at the way screen info is sent, I think that's the most interesting of all. Anyone have any more they can share, or want to help towards working it all out?
    The last time I was involved in something like this was when I was the chief engineer on the Starship Enterprise

  6. #6
    VXRed
    Join Date
    16th May 2015
    Posts
    13

    Default

    Quote Originally Posted by Brother Leo View Post
    The last time I was involved in something like this was when I was the chief engineer on the Starship Enterprise
    I hate how high my hopes were right up until the last two words of that sentence

  7. #7
    VXRed Jonnie_VXR's Avatar
    Join Date
    4th January 2015
    Posts
    235

    Default

    Quote Originally Posted by Frostic View Post
    Has anyone done any work reversing the CAN bus on the astra H? I'm interested in reversing it with a view of reading data to make a custom UI to replace the GID. Also, it's a fun challenge.
    I happen to reverse engineer high speed CANBus data as part of my job. I actually have a full GM database which works on the Astra 'H', however this is the high speed Bus operating at a Baud rate of 500kbit/s. I've just checked my *.DBC file and ID's 201 and 206 don't exist on this Bus.

  8. #8
    VXR "Appreciated" VeXeR's Avatar
    Join Date
    19th January 2014
    Posts
    1,542

    Default

    I can take buses if I follow the timetables.
    OPC ÉIRE
    Drop me a PM for Irish meets, group adds etc.

  9. #9
    VXRed alees19's Avatar
    Join Date
    12th February 2016
    Posts
    89

    Default

    Quote Originally Posted by VeXeR View Post
    I can take buses if I follow the timetables.
    Me too but i have to hold someones hand
    16 Plate Corsa E VXR Flash Blue Carbon Pack

  10. #10
    VXRed
    Join Date
    16th May 2015
    Posts
    13

    Default

    Quote Originally Posted by Jonnie_VXR View Post
    I happen to reverse engineer high speed CANBus data as part of my job. I actually have a full GM database which works on the Astra 'H', however this is the high speed Bus operating at a Baud rate of 500kbit/s. I've just checked my *.DBC file and ID's 201 and 206 don't exist on this Bus.
    Jonnie, that's really interesting. Do you know of any open source software for this sort of thing? Im used to using vector kit but there's no way I can afford that for home use.

    Sent from my Redmi Note 3 using Tapatalk

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

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