05-17-2023, 12:28 AM | #23 |
Banned
578
Rep 2,047
Posts |
The flm data for right and left is always the same. It might be the wiring that differentiates them.
For the sweeping right to left, does coding using ECE typecode do anything? |
Appreciate
0
|
05-17-2023, 01:36 AM | #24 |
New Member
10
Rep 29
Posts |
Coding US headlights with ECE typekey results in the DRLs no longer working, so no animation at all. The only thing that lights up are the light strips under the main beam.
__________________
2023 M340i / 2016 X6 M / 2010 M5
|
Appreciate
0
|
05-17-2023, 02:49 AM | #26 |
New Member
10
Rep 29
Posts |
No, the US welcome animation just briefly pulses brighter then back to normal brightness.
__________________
2023 M340i / 2016 X6 M / 2010 M5
|
Appreciate
0
|
05-17-2023, 04:53 AM | #28 | |
B58 Power
492
Rep 628
Posts
Drives: 05/2022 M340i xDrive Touring
Join Date: Feb 2018
Location: Germany
|
Quote:
Can someone provide me a G20 LCI US ncd via PM? I´ll compare it to the files i got.
__________________
05/2022: BMW G21 ///M340i xDrive Touring - Individual Verde Ermes
|
|
Appreciate
0
|
05-24-2023, 01:17 PM | #29 |
New Member
36
Rep 17
Posts
Drives: f30 320i
Join Date: Feb 2023
Location: Los Angeles
|
|
Appreciate
0
|
05-26-2023, 11:42 AM | #30 |
B58 Power
492
Rep 628
Posts
Drives: 05/2022 M340i xDrive Touring
Join Date: Feb 2018
Location: Germany
|
__________________
05/2022: BMW G21 ///M340i xDrive Touring - Individual Verde Ermes
|
Appreciate
0
|
05-26-2023, 09:31 PM | #31 |
New Member
36
Rep 17
Posts
Drives: f30 320i
Join Date: Feb 2023
Location: Los Angeles
|
|
Appreciate
0
|
05-27-2023, 03:32 AM | #32 | |
B58 Power
492
Rep 628
Posts
Drives: 05/2022 M340i xDrive Touring
Join Date: Feb 2018
Location: Germany
|
Quote:
XYZ represent the version of the software on your FLM2 ECU.
__________________
05/2022: BMW G21 ///M340i xDrive Touring - Individual Verde Ermes
|
|
Appreciate
0
|
05-27-2023, 05:11 PM | #33 | |
New Member
36
Rep 17
Posts
Drives: f30 320i
Join Date: Feb 2023
Location: Los Angeles
|
Quote:
https://mega.nz/file/fEEHzbzS#1AAt0S...3IgGRXv6M5GhrY |
|
Appreciate
1
MichaelNRW491.50 |
05-29-2023, 04:10 PM | #34 |
Lieutenant
181
Rep 593
Posts
Drives: 2018 F48 X1 xDrive 18D
Join Date: Nov 2022
Location: Norway
|
Just chiming in with a suggestion, did anyone take a look what the data contains?
I have been looking at a older FLM / FLE module and I found the following matrix. Maybe it is kind of the same matrix? LedChannel follows a sequence with intensities for a period of time LedChannel Intensity TimeDelta RampType??? I have a older vehicle but it might be something that gives some understanding for the data in the staging arrays |
07-09-2023, 02:36 PM | #35 |
New Member
11
Rep 6
Posts |
I am also trying to make sense of the data, but am stuck. For example, the pre LCI G20 data seems to have 5 individual transitions, while in the video I can only see 4 different ones:
1. HB and LB onat low brightness 2. DRL on 3. HB and LB high brightness 4. HB and LB to medium brightness Can someone identify a 5. transition? @Michael, for the videos that you posted, did you only change the Staging1 amd Staging2 values to the other models, or the entier data of the ecu? I am wondering where the mapping in the data to the modules are... |
Appreciate
0
|
07-10-2023, 03:20 AM | #36 | |
B58 Power
492
Rep 628
Posts
Drives: 05/2022 M340i xDrive Touring
Join Date: Feb 2018
Location: Germany
|
Quote:
The rest of the data isn´t compatible to the PreLCI because the LCI and G8x have more controllable parts of the headlights. e.g. the tubes can be controlled independently while the PreLCI can only control them together.
__________________
05/2022: BMW G21 ///M340i xDrive Touring - Individual Verde Ermes
|
|
Appreciate
0
|
07-11-2023, 11:43 AM | #37 |
New Member
11
Rep 6
Posts |
I want to share my findings, not because they are a particularly breakthrough in decoding the data, but to maybe get someone else to think along with me, and because no one else posted anything in this direction.
To start with something easy/small, I looked at the Pre-LCI G20 data first. Here is the data structure I could come up with to parse the entire staging data (1 and 2 combined): Code:
struct data { u8 a; u8 b; }; struct section { u8 id; be u16 num_data_entries; data entries[num_data_entries]; }; section data[while(std::mem::read_unsigned($, 1))] @ 0x00; Going back to G20 Pre-LCI then to look at the data. There are 5 sections in total, the first section has 15 entries. The first 6 entries are as follows: Code:
[50, 0], [50, 0] ,[25, 0], [25, 0], [25, 0], [63, 100], ... Furthermore, in all data that has been posted here the first section for all of them has 15 entries - roughly matching the number of LM mappings Michael posted. Looking at the number of entries for all sections, we see for the G20 Pre-LCI: 1: 15, 2: 5, 3: 3, 4: 3, 5: 6 With that I believe the mapping to the light module is actually the index into the entries array. The first section initializes all 15 channels, while the other sections might only specify data for the channels that changed. Looking then at the first 6 entries of each section we see the following: Code:
1: [50, 0], [50, 0] ,[25, 0], [25, 0], [25, 0], [63, 100], ... 2: [50, 0], [50, 0], [25, 0], [12, 20], [60, 67] 3: [60, 43], [59, 20], [12, 0] 4: [50, 0], [12, 20], [60, 46] 5: [50, 46], [50, 46], [50, 46], [60, 43], [59, 20], [12, 0] If someone wants to contribute, it would help to create annotations for Michaels videos: Which parts of the lights change, for how long do they change, and when do they start changing. With that we could try to make more sense of the data. |
Appreciate
2
MichaelNRW491.50 BLK.G20209.50 |
07-11-2023, 01:20 PM | #38 |
B58 Power
492
Rep 628
Posts
Drives: 05/2022 M340i xDrive Touring
Join Date: Feb 2018
Location: Germany
|
Awesome work!
__________________
05/2022: BMW G21 ///M340i xDrive Touring - Individual Verde Ermes
|
Appreciate
0
|
07-11-2023, 03:26 PM | #39 |
Lieutenant
181
Rep 593
Posts
Drives: 2018 F48 X1 xDrive 18D
Join Date: Nov 2022
Location: Norway
|
Cool! Would be also nice to time every module so we know atleast roughly the milliseconds each module is on. Would someone be able to do a 120fps video then we can calculate the timedelta more exactly.
Edit: LWR movement could also be part of the staging data because in older modules the stepper motors in the lights can also be controlled, with the WELL_LWR_SEQ values. In the older FLE module you have the following LWR_SEQ_DIR - Move up(1) or down (0) for SEQ_T if no HOLD is associated LWR_SEQ_HOLD - duration of no movement LWR_SEQ_SPEED - Speed V1 or V0 defined in LWR_SEQ_Vx LWR_SEQ_T - duration of sequence step Last edited by mrpingu; 07-11-2023 at 03:43 PM.. |
Appreciate
0
|
07-11-2023, 03:54 PM | #40 |
Lieutenant
181
Rep 593
Posts
Drives: 2018 F48 X1 xDrive 18D
Join Date: Nov 2022
Location: Norway
|
In older FLE modules this is addressed through different WELL_SEQ values, there is a WELL_SEQ_LE and WELL_SEQ_RE both headlights contain both values but this makes it makes it possible to have separate sequences for right and left headlight
|
Appreciate
0
|
07-12-2023, 11:56 AM | #41 |
B58 Power
492
Rep 628
Posts
Drives: 05/2022 M340i xDrive Touring
Join Date: Feb 2018
Location: Germany
|
I could try that on the weekend.
__________________
05/2022: BMW G21 ///M340i xDrive Touring - Individual Verde Ermes
|
Appreciate
0
|
08-20-2023, 06:28 PM | #43 |
New Member
14
Rep 17
Posts
Drives: 2021 BMW G20 318d
Join Date: Sep 2022
Location: Casablanca
|
I'm following the thread. You guys are doing an amazing job here.
|
Appreciate
0
|
08-22-2023, 10:59 AM | #44 |
B58 Power
492
Rep 628
Posts
Drives: 05/2022 M340i xDrive Touring
Join Date: Feb 2018
Location: Germany
|
I´m sorry... my time is very limited currently.
I´ll try to do a recording soon.
__________________
05/2022: BMW G21 ///M340i xDrive Touring - Individual Verde Ermes
|
Appreciate
0
|
Post Reply |
Bookmarks |
|
|