Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: MQB Light Configuration Case Study

  1. #1
    Verified VCDS User
    Join Date
    Feb 2018
    Location
    USA
    Posts
    40
    Post Thanks / Like

    MQB Light Configuration Case Study

    NOTE: Once again, take this with a grain of salt, this information is for educational purposes only and most likely only useful to people much smarter than myself

    So I was curious how the "Light Configuration" that exists as a single Channel on the newer BCMs and consists of a really big *expletive* number, like this:

    Code:
    IDE05145-Light configuration, 0C 34 00 14 02 00 64 00 00 00 00 00 00 00 00 00 0C 3E 00 15 04 00 64 00 00 00 00 00 00 00 00 00 08 00 00 45 08 00 64 00 00 00 00 00 00 00 00 00 08 00 00 46 08 00 64 00 00 00 00 00 00 00 00 00 09 48 00 43 14 00 64 06 00 80 08 00 1F 00 00 00 09 4C 00 44 14 00 64 07 00 80 08 00 1F 00 00 00 0B 36 00 1A 0B 00 64 00 00 00 00 00 00 00 00 00 0B 40 00 1B 0C 00 64 00 00 00 00 00 00 00 00 00 0A 37 00 1C 0D 0F 64 00 00 00 00 00 00 00 00 00 0A 41 00 1D 0E 0F 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 38 00 22 12 00 7F 00 00 00 00 00 00 00 00 00 06 42 00 23 13 00 7F 00 00 00 00 00 00 00 00 00
    differs from the older style of having multiple adaptation channels



    One thing I noticed is that some of the "Bytes" (for lack of a better term) repeat.
    Out of curiosity, I split that large string up into chunks every time it repeated and ended up with 14 rows of 16 Byte "Chunks"

    Code:
    IDE05145-Light configuration
    0C 34 00 14 02 00 64 00 00 00 00 00 00 00 00 00
    0C 3E 00 15 04 00 64 00 00 00 00 00 00 00 00 00
    08 00 00 45 08 00 64 00 00 00 00 00 00 00 00 00
    08 00 00 46 08 00 64 00 00 00 00 00 00 00 00 00
    09 48 00 43 14 00 64 06 00 80 08 00 1F 00 00 00
    09 4C 00 44 14 00 64 07 00 80 08 00 1F 00 00 00
    0B 36 00 1A 0B 00 64 00 00 00 00 00 00 00 00 00
    0B 40 00 1B 0C 00 64 00 00 00 00 00 00 00 00 00
    0A 37 00 1C 0D 0F 64 00 00 00 00 00 00 00 00 00
    0A 41 00 1D 0E 0F 64 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    06 38 00 22 12 00 7F 00 00 00 00 00 00 00 00 00
    06 42 00 23 13 00 7F 00 00 00 00 00 00 00 00 00


    Now, with a little more digging, it seems that each "Chunk" corresponds to one of the "leuchte" channels, starting from Leuchte0 and ending on leuchte13, which is also conveniently all the channels for the front of the vehicle

    For example, lets take the first chunk and it's matching channel, Leuchte0.

    Byte 0, 1 and 3 match with the Lasttyp, Defektbitposition and Error Location Byte of a specific Leuchte channel respectively


    Code:
    0C 34 00 14 02 00 64 00 00 00 00 00 00 00 00 00

    0C - converted from hex to decimal gives us 12, which matches up with the number assignment for Blinkleuchten
    Code:
    ENG116936-ENG115873-Leuchte 0 BLK VL B36-Lasttyp 0, 12 - Blinkleuchten

    34 - matches up perfectly with the Lampendefektbit for Leuchte0
    Code:
    ENG116936-ENG116547-Leuchte 0 BLK VL B36-Lampendefektbit Position 0, 34

    14 - Matches the Fehlerort Byte for leuchte0
    Code:
    ENG116936-ENG115875-Leuchte 0 BLK VL B36-Fehlerort mittleres Byte DTC-DFCC 0,14

    Byte 4 and 5 of the chunk
    Code:
    0C 34 00 14 02 00 64 00 00 00 00 00 00 00 00 00
    seems to correlate to the "Light Function A" and "Light Function B" channel of the Leuchte set

    Code:
    ENG116936-ENG115876-Leuchte 0 BLK VL B36-Lichtfunktion A 0, Blinken links Hellphase
    ENG116936-ENG115877-Leuchte 0 BLK VL B36-Lichtfunktion B 0, not active
    in this example 02 would be for "Blinken links Hellphase" and 00 would be "not active". here is a list that shows all of the functions that I have been able to correlate

    Code:
    02	Blinken links Hellphase
    03	Blinken links Dunkelphase
    04	Blinken rechts Hellphase
    05	Blinken rechts Dunkelphase
    06	Blinken links aktiv (beide Phasen)
    07	Blinken rechts aktiv (beide Phasen)
    08	Standlicht allgemein (Schlusslicht: Positionslicht: Begrenzungslicht)
    09	Parklicht links (beidseitiges Parklicht aktiviert li & re)
    0A	Parking light right
    0B	Abblendlicht links
    0C	Abblendlicht rechts
    0D	Left high beam
    0E	Right high beam
    0F	Lichthupe generell
    12	Nebellicht links
    13	Nebellicht rechts
    14	Daytime running lights
    18	Brake light
    19	Rueckfahrlicht
    31	Ambience lighting

    Byte 6 matches with the Dimmwert AB channel
    Code:
    0C 34 00 14 02 00 64 00 00 00 00 00 00 00 00 00
    64 - converted from HEX to decimal is 100
    Code:
    ENG116936-ENG115878-Leuchte 0 BLK VL B36-Dimmwert AB 0, 100
    this pattern seems to repeat for channels C, D, E, F, G, and H as well

    byte 7 - Light Function C
    byte 8 - Light Function D
    byte 9 - Dimmwert CD
    byte 10 - Light Function E
    byte 11 - Light Function F
    byte 12 - Dimmwert EF
    byte 13 - Light Function G
    byte 14 - Light Function H
    byte 15 - Dimmwert GH

    I still have yet to figure out how the Dimming DIrection channels factor into the above information.


    Edit (originally posted by TBAx): Dimming Direction (maximize/minimize) is encoded in the brightness byte, as far as I see. Everyting below $80 is "maximize" (0-127 [$00-$7F]). Everything from this value on is "minimize" (0-127 [$80-$FF]). At least this is what I consider when looking at Somnus posted configuration for the DRLs - I suspect they turn while signal indicator is active on that specific side...?
    Last edited by Uwe; 08-26-2019 at 11:52 AM.
    If my car isn't broken yet, I will find a coding string that will break it eventually

  2. Likes Uwe, PetrolDave, NEtech, TBAx liked this post
  3. #2
    Verified VCDS User
    Join Date
    May 2014
    Location
    Melbourne, Australia
    Posts
    2,739
    Post Thanks / Like
    ^^^ hmm..........in the current version BCM s, the 665 x Lighting configuration channels in the older hex09 modules has been reduce to just one very long hex-string - IDE05145-Light configuration

    Not sure if it helps, or hinders - but here's an extract from an early primer that I wrote many years ago about these mystical channels.

    "Of the 35 x channel-sets in the BCM of my 103TSI, 10 x channels-sets are not active. Of the 25 channel-sets that are active, 6 x channels-sets appear to have a close correlation between the Leuchte channels and the Light configuration channels. The remaining 19 x "active" channel-sets do not appear to have this correlation.
    The close correlation channels are: Low Beam Headlamp, Front Turn Indicator and Daytime Running Lamp (left and Right lamps in each case). The only linking aspect for these lights is that they are all part of the front headlight assembly albeit the High beam lamp is missing from the list. Whenever a stored valued of a Leutche channel is changed for these lamps, the corresponding stored value of the Lighting configuration channel automatically changes to the altered value.
    At the time of writing, the purpose of the Lighting configuration channels is not known. However, my initial suspicion is that each Lighting Configuration channel-set records the set-up parameters for the power supply circuits of the exterior light that is defined in its twin Leuchte channel-set. "

    Don
    VW Golf MkVII (MY13) - A3 8V hatch (MY17)

  4. Likes Uwe, TBAx, Somnus liked this post
  5. #3
    Verified VCDS User
    Join Date
    Feb 2018
    Location
    USA
    Posts
    40
    Post Thanks / Like
    Don,

    Your primer is actually what made me interested in how the configuration was handled in the newer BCMs.

    It looks loke there are actually THREE configuration channels in the BCM
    Code:
    IDE05145-Light configuration
    ENG141661-Leuchtenkonfiguration_Aussenlich_Heck
    ENG141662-Leuchtenkonfiguration_Sonstiges
    that handle Front (Leuchte 0-13), Rear (Leuchte 18-29), and Miscellaneous (Leuchte 16, 17, 30-35) respectively


    (WARNING: completely hypothetical comment ahead!)

    It makes sense to condense the configuration into three channels however, as it may be used by ODIS to adapt the lighting section of the BCM rather rapidly, since it only has to write three channels to populate the data in many more.
    Last edited by Somnus; 08-24-2019 at 05:55 PM.
    If my car isn't broken yet, I will find a coding string that will break it eventually

  6. Likes Uwe, PetrolDave liked this post
  7. #4
    Verified VCDS User
    Join Date
    May 2014
    Location
    Melbourne, Australia
    Posts
    2,739
    Post Thanks / Like
    ^^^ hmm...................... perhaps your hypothesis is correct, but the other possible explanation is that at about the same time the already high channel count in this module started to increase dramatically (particularly with the incorporation of the software switches in the BCM's long-code string).

    The length of IDE05145-Light configuration the is about 169 Bytes (my rough count)- which means that 469 Bytes (i.e. (35 x 19) -169)) in the old module are missing. Which means that 469 settings were superfluous in the old BCM. Which means that 664 adaptation channels (i.e. (35 x 19) -1) were not needed - at all!

    So- perhaps the change was due to the boffins in Germany simply applying an age-old engineering principal to generational improvement to this module - that is, they were attempting to make this massive module more efficient - maybe?

    Don
    Last edited by DV52; 08-24-2019 at 06:09 PM.
    VW Golf MkVII (MY13) - A3 8V hatch (MY17)

  8. Likes Uwe, NEtech, Somnus liked this post
  9. #5
    Verified VCDS User
    Join Date
    Feb 2018
    Location
    USA
    Posts
    40
    Post Thanks / Like
    Don,

    I believe you are most likely correct in your assumption that they were trying to optimize the BCM.
    What makes that more evident is the fact that in the MK7.5 vehicles, most of the headlight control is handed off to the 4B: Multifunction Module and the related leuchte channels are completely zeroed out (with the exception of the dipped beam and the rear lighting)
    If my car isn't broken yet, I will find a coding string that will break it eventually

  10. Likes DV52, Uwe liked this post
  11. #6
    Verified VCDS User TBAx's Avatar
    Join Date
    Dec 2016
    Location
    DE
    Posts
    467
    Post Thanks / Like
    Thanks for your research, Somnus.

    I also belive that modifications to the front lights in cars with LCMs (or with module 4B) is hidden somewhere in these channels. However since I don't own such a car, I never got the chance to experiment with this. When your original research is correct there is an easy test; find the byte string "02 00 64" which roughly translates left turn signal on full brightness and replace it with "02 14 64". This should - if there is any correlation to the actual lighting functions - add the left turn signal as a daytime running light (DRL).

    Maybe it will work, maybe it won't. If you don't see a change, please cycle ignition.

    @DV52: I see your point with the probably missing configuration values when compared to the old/classic MQB BCMs. However I belive, that they existed for the same reason we now can't modify front lights. It was planned to use them in combination with LCMs; however there was either a problem with the method used there, or it was deemed to simple to be modified, as they know, people here in europe love to add so called US lights to their cars.

    These light configuration channels appear to be, in a way, seem related to the BCM light configuration in PQ35 cars ("beware of Byte 18"). Also Somnus research fits pretty good to what an adphex of my Octavia 3 RS looks like (reordered for numeric correctness in the channel positions starting at $0550):

    Code:
    Leuchte 0 BLK VL B36,0550,16,0C 34 00 14 02 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte1BLK VRB20,0551,16,0C 3E 00 15 04 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte2SL VLB10,0552,16,04 48 00 4A 08 09 23 1E 00 23 14 00 64 00 00 00 
    Leuchte3SL VRB21,0553,16,04 4C 00 4C 08 0A 23 1E 00 23 14 00 64 00 00 00 
    Leuchte4TFL LB4,0554,16,01 3A 00 49 08 09 7F 1E 00 7F 14 00 7F 00 00 00 
    Leuchte5 TFL RB32,0555,16,01 44 00 4B 08 0A 7F 1E 00 7F 14 00 7F 00 00 00 
    Leuchte6ABL LC5,0556,16,03 36 00 1A 0B 0F 7F 1E 00 80 00 00 00 00 00 00 
    Leuchte7ABL RB1,0557,16,03 40 00 1B 0C 0F 7F 1E 00 80 00 00 00 00 00 00 
    Leuchte8FL LB39,0558,16,0A 4E 00 24 12 16 64 00 00 00 00 00 00 00 00 00 
    Leuchte9FL RB2,0559,16,0A 4F 00 25 13 17 64 00 00 00 00 00 00 00 00 00 
    Leuchte10SHUTTER LB23,055A,16,02 37 00 1E 0D 0F 7F 00 00 00 00 00 00 00 00 00 
    Leuchte11SHUTTER RB22,055B,16,02 41 00 1F 0E 0F 7F 00 00 00 00 00 00 00 00 00 
    Leuchte12NL LB45,055C,16,0A 38 00 22 12 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte13NL RB5,055D,16,0A 42 00 23 13 00 64 00 00 00 00 00 00 00 00 00 
    Leuchten14AL LB6,055E,16,00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    Leuchte15AL RB44,055F,16,00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    Leuchte16BLK SLB35BLK SL KC9,0560,16,25 35 00 17 08 09 64 1E 00 64 00 00 00 00 00 00 
    Leuchte17TFL R BLK SRB3TFL R BLK SR KC3,0561,16,25 3F 00 19 08 0A 64 1E 00 64 00 00 00 00 00 00 
    Leuchte18BLK HLA60,0562,16,0C 08 00 16 02 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte19BLK HRC31,0563,16,0C 18 00 18 04 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte20BR LA71,0564,16,22 09 00 2B 18 00 64 00 00 00 1E 00 00 00 00 00 
    Leuchte21BR RC8,0565,16,22 19 00 2D 18 00 64 00 00 00 1E 00 00 00 00 00 
    Leuchte22BR MA57,0566,16,22 29 00 2C 18 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte23SL HLC10,0567,16,20 0A 00 29 08 09 64 1E 14 64 00 00 00 00 00 00 
    Leuchte24SL HRA65,0568,16,20 1A 00 2A 08 0A 64 1E 14 64 00 00 00 00 00 00 
    Leuchte25KZL HA59,0569,16,2B 28 00 30 08 1E 7F 00 00 00 00 00 00 00 00 00 
    Leuchte26NSL LA72,056A,16,09 0C 00 2E 1A 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte27NSL RC6,056B,16,09 1C 00 2F 1A 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte28RFL LC11,056C,16,09 0B 00 31 19 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte29RFL RA64,056D,16,09 1B 00 32 19 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte30FR LC72,056E,16,2B 00 00 02 2B 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte31AMBL 1C61,056F,16,00 00 00 03 2D 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte32AMBL 2C35,0570,16,00 00 00 04 2E 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte33AMBL 3C36,0571,16,00 00 00 05 2F 00 64 00 00 00 00 00 00 00 00 00 
    Leuchte34AMBL 4C37,0572,16,00 00 00 06 30 00 64 00 00 00 00 00 00 00 00 00
    ...or maybe, there is an ENG141660-Leuchtenkonfiguration_Aussenlicht_Front that is simply not documented in the ASAM/ROD data as of today, but who knows.

    Edit: Dimming Direction (maximize/minimize) is encoded in the brightness byte, as far as I see. Everyting below $80 is "maximize" (0-127 [$00-$7F]). Everything from this value on is "minimize" (0-127 [$80-$FF]). At least this is what I consider when looking at Somnus posted configuration for the DRLs - I suspect they turn while signal indicator is active on that specific side...?
    Last edited by TBAx; 08-26-2019 at 02:25 AM.

  12. Likes PetrolDave, DV52, Uwe, Somnus liked this post
  13. #7
    Verified VCDS User
    Join Date
    May 2014
    Location
    Melbourne, Australia
    Posts
    2,739
    Post Thanks / Like
    TBAx :my mental meanderings in my extract above were just musings at a time when I was desperately trying to understand how Leuchte-sets operated (my learnings were greatly enhance by your writings on the motor-talk de. forum - for which I thank you).

    More than happy to adopt your hypothesis as a working assumption -until we have more definitive information. And you are probably better placed to get better data - alas for me the tyranny of distance and language are problematic!!

    Don
    VW Golf MkVII (MY13) - A3 8V hatch (MY17)

  14. Likes Uwe, Somnus liked this post
  15. #8
    Verified VCDS User
    Join Date
    Feb 2018
    Location
    USA
    Posts
    40
    Post Thanks / Like
    TBAx,

    You are correct on changing a byte in the light config does cause an immediate change to the Leuchte channel it is assigned to.

    As a test, I changed the Light Function A byte for the left fog light from 12 to 18 and, after checking the related Light Function A channel it now displays Brake Light

    EDIT: The information you provided related to the Dimming direction makes perfect sense. Thank you for sharing it.

    ANOTHER EDIT: Uwe, If TBAx doesnt mind, would you quote his Dimming Direction information in the first post?
    Last edited by Somnus; 08-26-2019 at 11:28 AM.
    If my car isn't broken yet, I will find a coding string that will break it eventually

  16. #9
    Benevolent Dictator Uwe's Avatar
    Join Date
    Jan 2014
    Location
    Earth
    Posts
    24,234
    Post Thanks / Like
    Blog Entries
    1
    Quote Originally Posted by Somnus View Post
    ANOTHER EDIT: Uwe, If TBAx doesnt mind, would you quote his Dimming Direction information in the first post?
    I'm not sure I understand this request.

    -Uwe-
    The engineering problems are likely insurmountable. It would be like proposing to land a rocket booster section on a barge floating in the middle of the ocean.

  17. #10
    Verified VCDS User TBAx's Avatar
    Join Date
    Dec 2016
    Location
    DE
    Posts
    467
    Post Thanks / Like
    Oh, wait, so that was all? We now know, how to modify front lights in newer gen BCMs?
    (Yes, I don't mind adding the information to the first post)

Posting Permissions

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