After a total of 12 hours of installation, the Golf R headlights and the FLA mirror are installed on my MK7 1.6 TDI RoW (CLHA engine).
The coding for the headlights was applied and they shine OK but...When it was time to code the new unused 7P6 907 357 D AFS ECU

https://drive.google.com/file/d/0B0u...ew?usp=sharing

any attempt to perform any coding on resulted in this window:

https://drive.google.com/file/d/0B0u...ew?usp=sharing

If you press [Cancel] you return back to the previous window. Choosing [Yes] or [No] results in this:

https://drive.google.com/file/d/0B0u...ew?usp=sharing

Therefore I cannot proceed and perform Basic Settings

I saw that the WSC consists of zeroes only and following this link tried to use all WSCs

01357 011 00200
12345 123 12345
40195 333 37120
42697 001 104857
01383 790 50316

found in my VCDS scan without any success

The communication between the headlights and AFS ECU is certainly established:

https://drive.google.com/file/d/0B0u...ew?usp=sharing


From the dealership they informed me that most probably they cannot code the AFS ECU online as the online coding provides the basic info to the ECU according to the type of the car.
Since my car was never supposed to have Golf R headlights there will be no coding suitable for my car

I am thinking of buying a used AFS ECU that might let me change its previous coding. Any used ECU will do? Should I find a Golf R or a Golf 1.6 TDI ECU?

A member of another forum suggested that the problem lies in the AFS modules (3D0 941 329 C) on my headlights. He is pretty sure that they do not support AFS cornering light thus the ECU rejects my coding efforts. Therefore he suggests to change them to the 3D0 941 329 A version

Finally, following DV52's post here, I noticed that my newly applied coding in Byte 2 of the BCM is 0B (0000 1011 for manual + HTDD + Xenon_AFS_and_main_beam_assist) when it should probably be 0D (0000 1101 for manual + HTDD + Bi-xenon_AFS_and_main_beam_assist).
The issue here is that in my BCM this coding cannot be applied through the usual Long Coding screen as the electable options let me code OB instead of OD
My BCM Long Coding screen is similar to this (from Drive2 forum):




Any thoughts/suggestions?



My full VCDS scan is this:

Code:
Monday,05,June,2017,21:45:03:17901
VCDS -- Windows Based VAG/VAS Emulator Running on Windows 10 x64
VCDS Version: 17.1.3.0 (x64)
Data version: 20170320 DS267.7
www.Ross-Tech.com


VIN: WVWZZZAUZDW134474   License Plate: 


Chassis Type: AU (5Q0)
Scan: 01 03 08 09 13 15 16 17 19 20 42 44 52 55 5F

VIN: WVWZZZAUZDW134474   Mileage: 51366km-31917miles

01-Engine -- Status: OK 0000
03-ABS Brakes -- Status: OK 0000
08-Auto HVAC -- Status: OK 0000
09-Cent. Elect. -- Status: OK 0000
13-Auto Dist. Reg -- Status: OK 0000
15-Airbags -- Status: OK 0000
16-Steering wheel -- Status: OK 0000
17-Instruments -- Status: Malfunction 0010
19-CAN Gateway -- Status: OK 0000
20-High Beam Assist. -- Status: OK 0000
42-Door Elect, Driver -- Status: OK 0000
44-Steering Assist -- Status: OK 0000
52-Door Elect, Pass. -- Status: OK 0000
55-Headlight Range -- Status: Malfunction 0010
5F-Information Electr. -- Status: OK 0000
 
-------------------------------------------------------------------------------
Address 01: Engine (J623-CLHA)       Labels: 04L-907-309-V1.clb
   Part No SW: 04L 906 021 M    HW: 04L 907 309 B
   Component: R4 1,6L EDC   H22 5517  
   Revision: 84H22---    
   Coding: 01110012034405092000
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_ECM16TDI01104L906021M 002009
   ROD: EV_ECM16TDI01104L997021.rod
   VCID: 2F677DDC7658A13940-807A

No fault code found.
Readiness: 0 0 0 0 1 

-------------------------------------------------------------------------------
Address 03: ABS Brakes (J104)       Labels: 5Q0-907-379-IPB-V1.clb
   Part No SW: 5Q0 907 379 AC    HW: 5Q0 907 379 D
   Component: ESC           H75 0437  
   Revision: 00000000    Serial number:               
   Coding: 01FA62A120230A70037B060701C72580460450C06080A4F3F448F074C0
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_Brake1UDSContiMK100IPB 008020
   ROD: EV_Brake1UDSContiMK100IPB_008.rod
   VCID: 7DFB9794ECB483A982-8028

No fault code found.

-------------------------------------------------------------------------------
Address 08: Auto HVAC (J255)       Labels: 5G0-907-044.clb
   Part No SW: 5G0 907 044 Q    HW: 5G0 907 044 Q
   Component: Climatronic   H02 0503  
   Revision: 00001K06    
   Coding: 00020104200100011005004012101000
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_ACClimaBHBVW37X 002017
   ROD: EV_ACClimaBHBVW37X_002.rod
   VCID: 356B4FB494049BE90A-8060

   Fresh Air Blower Front: 

   Refrigerant Pressure And Temperature Sender: 

   Air quality sensor: 

No fault code found.

-------------------------------------------------------------------------------
Address 09: Cent. Elect. (J519)       Labels: 5Q0-937-08X-HV1.clb
   Part No SW: 5Q0 937 084 AE    HW: 5Q0 937 084 AE
   Component: BCM MQBAB H   H16 0124  
   Serial number: 00011400203090
   Coding: 00040B42C24122FB4BE44000000403081000000000000000000000000000
   Shop #: WSC 12345 123 12345
   ASAM Dataset: EV_BCMCONTI 012001
   ROD: EV_BCMBOSCH_012.rod
   VCID: 7BFF998CF2A08D99BC-802E

   Control Unit For Wiper Motor: 
   Subsystem 1 - Part No SW: 5G1 955 119 A    HW: 5G1 955 119 A  Labels: 5QX-955-119-V1.CLB
   Component: WWS    130320  042 0551 
   Serial number:         130326115456
   Coding: 0E4DD5

   Rain Light Recognition Sensor: 
   Subsystem 2 - Part No SW: 8U0 955 559 B    HW: 8U0 955 559 B  Labels: 8U0-955-559.CLB
   Component: G397_RLFS  H06 0002 
   Serial number: 21272692            
   Coding: 07006C

No fault code found.

-------------------------------------------------------------------------------
Address 13: Auto Dist. Reg (J428)       Labels: 5Q0-907-567.clb
   Part No SW: 5Q0 907 567 G    HW: 5Q0 907 567 G
   Component: ACC3          H08 0390  
   Serial number: 18031375030286
   Coding: 00000100FE0309
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_ACCBoschMQB 001021
   ROD: EV_ACCBoschMQB_VW37.rod
   VCID: 3F872D9CA63851B9D0-806A

No fault code found.

-------------------------------------------------------------------------------
Address 15: Airbags (J234)       Labels: 5Q0-959-655.clb
   Part No SW: 5Q0 959 655 M    HW: 5Q0 959 655 M
   Component: AirbagVW20    011 0361  
   Serial number: 003M1R02APJN
   Coding: 98FCC0C0000000005C5400CF004800000065
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_AirbaVW20SMEVW37X 002126
   ROD: EV_AirbaVW20SMEVW37X_VW37.rod
   VCID: 4A910C48EDFAE41177-801E

   Belt Pretensioner left: 
   Subsystem 1 - Part No SW: 5G0 980 945 B    HW: 5G0 980 945 B
   Component: BeltPretRevFL  H35 0340 
   Serial number: 34169667A28031340872
   Coding: 333135

   Belt Pretensioner right: 
   Subsystem 2 - Part No SW: 5G0 980 946 B    HW: 5G0 980 946 B
   Component: BeltPretRevFR  H35 0340 
   Serial number: 34169668A26031340691
   Coding: 333135

   Side Sensor Driver Front: 
   Subsystem 3 - Part No SW: -----------    HW: 480 002 203 13
   Component: SideSensor_Df  001 0887 
   Serial number: 357670000000D1993C0W
   Coding: 2D2D2D

   Side Sensor Passenger Front: 
   Subsystem 4 - Part No SW: -----------    HW: 480 001 903 13
   Component: SideSensor_Pf  001 0887 
   Serial number: 35867000000D09FC3C07
   Coding: 2D2D2D

   Side Sensor Driver Rear: 
   Subsystem 5 - Part No SW: -----------    HW: 480 401 903 13
   Component: SideSensor_Dr  001 6149 
   Serial number: 3516502B70FAE8A381CZ
   Coding: 2D2D2D

   Side Sensor Passenger Rear: 
   Subsystem 6 - Part No SW: -----------    HW: 480 401 903 13
   Component: SideSensor_Pr  001 6149 
   Serial number: 3526502A30FBDE45736S
   Coding: 2D2D2D

   Front Sensor Driver: 
   Subsystem 7 - Part No SW: -----------    HW: 480 401 903 13
   Component: FrontSensor_D  001 6149 
   Serial number: 3556502990FBDE44031N
   Coding: 2D2D2D

No fault code found.

-------------------------------------------------------------------------------
Address 16: Steering wheel (J527)       Labels: 5Q0-953-549.clb
   Part No SW: 5Q0 953 507 AG    HW: 5Q0 953 549 A
   Component: Lenks. Modul  007 0070  
   Revision: --------    Serial number: 21031304221771
   Coding: 0D00
   Shop #: WSC 40195 333 37120
   ASAM Dataset: EV_SMLSKLOMQB 009001
   ROD: EV_SMLSKLOMQB_VW37.rod
   VCID: 7BFF998CF2A08D99BC-802E

No fault code found.

-------------------------------------------------------------------------------
Address 17: Instruments (J285)       Labels: 5G0-920-XXX-17.clb
   Part No SW: 5G0 920 860 A    HW: 5G0 920 860 A
   Component: KOMBI         236 0580  
   Coding: 07A502002F80000800882A01040000
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_DashBoardVDDMQBAB 008026
   ROD: EV_DashBoardVDDMQBAB_008_VW37.rod
   VCID: 264998F859A2E071B3-8072

1 Fault Found:
9603840 - Incorrect Key Programming for Remote Control 
          B128B 00 [009] -  - 
          Confirmed - Tested Since Memory Clear
             Freeze Frame:
                    Fault Status: 00000001
                    Fault Priority: 2
                    Fault Frequency: 1
                    Reset counter: 18
                    Mileage: 50248 km
                    Date: 2017.05.09
                    Time: 12:38:59


-------------------------------------------------------------------------------
Address 19: CAN Gateway (J533)       Labels: 5Q0-907-530-V1.clb
   Part No SW: 5Q0 907 530 F    HW: 5Q0 907 530 F
   Component: GW MQB High   125 1109  
   Revision: --------    Serial number: 0000424788
   Coding: 030100040B087300FF00025E080F00010001000000000000000000000000
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_GatewLear 006010
   ROD: EV_GatewLear_006.rod
   VCID: 346D72B09F7E82E13D-8060

   Alternator: 

   Multi Function Steering Wheel Control Module: 
   Subsystem 2 - Part No SW: 5G0 959 442 K    HW: 5G0 959 442 K  Labels: 3C8-959-537.CLB
   Component: E221__MFL-DC1  H14 0035 
   Serial number: 02130000937280120291
   Coding: 2CFFFF

   Battery Monitoring Control Module: 
   Subsystem 3 - Part No SW: 5Q0 915 181 C    HW: 5Q0 915 181 C
   Component: J367-BDMHella  H03 8042 
   Serial number: 7277030203          

No fault code found.

-------------------------------------------------------------------------------
Address 20: High Beam Assist. (J844)       Labels: 8X0-857-511.clb
   Part No SW: 5G0 857 511 D    HW: 5G0 857 511 
   Component: FLA           H04 0002  
   Revision: AA001001    
   Coding: 02018F6B76765D525220343E00
   Shop #: WSC 01383 790 50316
   ASAM Dataset: EV_HighBeamAssisAU37X 001009
   ROD: EV_HighBeamAssisAU37X.rod
   VCID: 2B5F69CC4240DD196C-807E

No fault code found.

-------------------------------------------------------------------------------
Address 42: Door Elect, Driver (J386)       Labels: 5QX-959-X93-42.clb
   Part No SW: 5Q0 959 593 A    HW: 5Q0 959 593 
   Component: TSG FS        012 0006  
   Serial number: 29031306070273
   Coding: 001503205000048000001000
   Shop #: WSC 42697 001 104857
   ASAM Dataset: EV_DCUDriveSideEWMAXKLO 006003
   ROD: EV_DCUDriveSideEWMAXCONT.rod
   VCID: 3F872D9CA63851B9D0-806A

   Drivers Door Rear Control Module: 
   Subsystem 1 - Part No SW: 5Q4 959 811 A    HW: 5Q4 959 811 A  Labels: 5QX-959-81X-V1.CLB
   Component: Fond FHSG DRV  007 0002 
   Serial number: 00000000000001067537
   Coding: 010000

No fault code found.

-------------------------------------------------------------------------------
Address 44: Steering Assist (J500)       Labels: 5Q0-909-144.clb
   Part No SW: 5Q0 909 144 L    HW: 5Q0 909 144 L
   Component: EPS_MQB_ZFLS  119 1021  
   Coding: 81
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_SteerAssisMQB 008022
   ROD: EV_SteerAssisMQB_008.rod
   VCID: 3D7B5794AC3443A9C2-8068

No fault code found.

-------------------------------------------------------------------------------
Address 52: Door Elect, Pass. (J387)       Labels: 5QX-959-X92-52.clb
   Part No SW: 5Q0 959 592 A    HW: 5Q0 959 592 
   Component: TSG BFS       012 0006  
   Serial number: 28031302090682
   Coding: 00150120DE00048000801000
   Shop #: WSC 42697 001 104857
   ASAM Dataset: EV_DCUPasseSideEWMAXKLO 006003
   ROD: EV_DCUPasseSideEWMAXCONT.rod
   VCID: 3E795098A13258B1DB-806A

   Passengers Rear Door Control Module: 
   Subsystem 1 - Part No SW: 5Q4 959 812 A    HW: 5Q4 959 812 A  Labels: 5QX-959-81X-V1.CLB
   Component: Fond FHSG PSG  007 0002 
   Serial number: 00000000000001079262
   Coding: 090000

No fault code found.

-------------------------------------------------------------------------------
Address 55: Headlight Range (J745)       Labels: 7P6-907-357.clb
   Part No SW: 7P6 907 357 D    HW: 7P6 907 357 A
   Component: AFS-ECU       H07 0090  
   Revision: --------    Serial number: --------------
   Coding: 0000000000000000
   Shop #: WSC 00000 000 00000
   ASAM Dataset: EV_HeadlRegulVWAFSMQB 001120
   ROD: EV_HeadlRegulVWAFSMQB.rod
   VCID: 40852E60DBC62E41A9-8014

   Left Headlamp Power Output Stage: 
   Subsystem 1 - Part No SW: 3D0 941 329 C    HW: 3D0 941 329 C  Labels: 3D0-941-329.CLB
   Component: LeiMo links  H05 0012 
   Coding: 900000

   Right Headlamp Power Output Stage: 
   Subsystem 2 - Part No SW: 3D0 941 329 C    HW: 3D0 941 329 C  Labels: 3D0-941-329.CLB
   Component: LeiMo rechts  H05 0012 
   Coding: 900000

3 Faults Found:
10490624 - No End-of-Line Programming 
          B2013 00 [137] -  - 
          MIL ON - Confirmed - Tested Since Memory Clear
             Freeze Frame:
                    Fault Status: 00000001
                    Fault Priority: 1
                    Fault Frequency: 1
                    Reset counter: 54
                    Mileage: 51366 km
                    Date: 2017.06.05
                    Time: 00:07:41

13636352 - Control module not coded 
          U1013 00 [137] - -
          MIL ON - Confirmed - Tested Since Memory Clear
             Freeze Frame:
                    Fault Status: 00000001
                    Fault Priority: 1
                    Fault Frequency: 1
                    Reset counter: 54
                    Mileage: 51366 km
                    Date: 2017.06.05
                    Time: 00:07:41

5275220 - Headlight 
          C107E 54 [137] - Missing Calibration / Basic Setting
          MIL ON - Confirmed - Tested Since Memory Clear
             Freeze Frame:
                    Fault Status: 00000001
                    Fault Priority: 1
                    Fault Frequency: 1
                    Reset counter: 54
                    Mileage: 51366 km
                    Date: 2017.06.05
                    Time: 00:07:41


-------------------------------------------------------------------------------
Address 5F: Information Electr. (J794)       Labels: 5G0-035-MIB-STD1.clb
   Part No SW: 5G0 035 819 A    HW: 5G0 035 819 
   Component: MU-S--ER      039 0421  
   Serial number: V1C02103130723
   Coding: 02730000FF00000011110001000800001F0100840100010001
   Shop #: WSC 01357 011 00200
   ASAM Dataset: EV_MUStd4CPASE 002039
   ROD: EV_MUStd4CPASE_VW37.rod
   VCID: 275795FC5EA8F97988-8072

   Operating And Display Unit 1: 
   Subsystem 1 - Part No SW: 5G0 919 605     HW: 5G0 919 605 
   Component: ABT_Std_Radio  H44 0022 
   Serial number: VWZ8Z9N2402BRW      

No fault code found.

End-------------------------(Elapsed Time: 03:25)--------------------------