BMW Forum - BimmerFest BMW Forums banner

Retrofitting Lane Change Warning 5AG

1 reading
86K views 194 replies 35 participants last post by  rogerkiu  
#1 · (Edited)
Hi all,

i retrofiited both Sensors for 5AG behind the rear bumper. Both sensors are from 2012, my car was build in 02/2014.
Before flahing both are visible and codable with Esys.
During flashing HC2 my ESys quit flashing procedure with the following error message:

Service RD returned a negative response with response code requestOutOfRange; ECU: HC2_08_ETHERNET

After that failure HC2 is not responsive anymore. In Esys no SWFL is visible anymore, instead of SWFL now UNKW is visible. ISTA/D reporting that one ECU is unresponsive and needs to programmed (the HC2) .
What can i do do get HC2 back to normal ?

Here the E-Sys Error log:

15-07-18 15:43:27,575 [INFO] [] com.bmw.prodias.io.tcp.HsfzTcpCommunicationLink: got data from host 169.254.98.2 on port 6801, SA= 0xF4, TA= 0x08, control= 2, link ****** 0x00 0x00 0x00 0x04 0x00 0x02 0xF4 0x08 0x10 0x03 [xNbcPool-1-thread-1]
15-07-18 15:43:27,575 [WARN] [] com.bmw.esys.commons.exception.EsysExceptionHandler: PSdZ Error -- Exception in executeAsync. [C046] --- [Ljava.lang.String;@1060893 [com.bmw.psdz.uc.event.ExternalSynchronizedHandler$AsynchronousNotificationThread]
com.bmw.esys.domain.psdz.PsdzException: Exception in executeAsync. [C046]
at com.bmw.esys.domain.psdz.PsdzEventExceptionListener.onException(PsdzEventExceptionListener.java:170)
at com.bmw.esys.domain.psdz.PsdzEventExceptionListener.eventReceived(PsdzEventExceptionListener.java:83)
at com.bmw.psdz.uc.event.RegisteredEventListener.eventReceived(RegisteredEventListener.java:59)
at com.bmw.psdz.uc.event.ExternalSynchronizedHandler$AsynchronousNotificationThread.notifyListeners(ExternalSynchronizedHandler.java:140)
at com.bmw.psdz.uc.event.ExternalSynchronizedHandler$AsynchronousNotificationThread.run(ExternalSynchronizedHandler.java:126)
Caused by: job failed with negative response error:
code: repeat job
description: Service RD returned a negative response with response code requestOutOfRange; ECU: HC2_08_ETHERNET
severity: ERROR

Timestamp: Sat Jul 18 15:43:27 CEST 2015
ErrorCategory: VEHICLE_ERROR ID: 433
Class: com.bmw.psdz.vehicle.connection.util.ResultUtil
ExecutionContext={category=TAL, ecuid=(HC2,0x8), TA_CATEGORY=blFlash, SGBMID=btld_00000309-004_000_001, PROGRAMMING_STATUS=performECUBLUpdate,PSdZEvent={message=MCDDiagService<id=28649, job=com.bmw.psdz.jobs.uds.MCD3_PerformECUFlashBL, service=RD - RequestDownload, description=error: negative response : requestOutOfRange, link=HC2_08_ETHERNET>, timestamp=Sat Jul 18 15:43:27 CEST 2015, package name=com.bmw.prodias.execution.primitives.mcd, class name=SingleEcuJob, text id=MCD_EVENT_ID__JOB__SERVICE__DESCRIPTION__LINK__, event id=default, event type=DiagService error, ECUId:HC2_0x08}}
at com.bmw.psdz.vehicle.connection.util.ResultUtil.failJob(ResultUtil.java:134)
at com.bmw.psdz.vehicle.connection.util.ResultUtil.checkResponsePositive(ResultUtil.java:92)
at com.bmw.psdz.vehicle.connection.util.ResultUtil.getPositiveResponseOrTerminateOnError(ResultUtil.java:179)
at com.bmw.psdz.vehicle.connection.wrapper.LegacyJobWrapper.getJobResult(LegacyJobWrapper.java:367)
at com.bmw.psdz.vehicle.connection.wrapper.JobWrapperFactory$JobWrapper.execute(JobWrapperFactory.java:151)
at com.bmw.psdz.vehicle.connection.wrapper.JobWrapperFactory$JobWrapper.execute(JobWrapperFactory.java:135)
at com.bmw.psdz.tasks.flash.jobs.BootloaderFlashJobs.performECUFlashBL(BootloaderFlashJobs.java:168)
at com.bmw.psdz.tasks.flash.BLFlashTask$BLFlashTaskStep.performBootloaderUpdateUds(BLFlashTask.java:450)
at com.bmw.psdz.tasks.flash.BLFlashTask$BLFlashTaskStep.doExecute(BLFlashTask.java:393)
at com.bmw.psdz.tasks.base.TaskStep.execute(TaskStep.java:99)
at com.bmw.psdz.tasks.base.SingleEcuTask.processTAs(SingleEcuTask.java:910)
at com.bmw.psdz.tasks.base.SingleEcuTask.execute(SingleEcuTask.java:487)
at com.bmw.psdz.tasks.base.scheduler.RunnableTask.run(RunnableTask.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

The current status of HC2 is the following:
 

Attachments

#2 ·
Do you flash with ENET and Connection via VIN?

When you generated SVT_Soll, and you positive HC2 was Blakc for HWEL and not Red / Blue?
 
#3 ·
Hi Shawn,

i did the flash with ENET and Connection over Gateway URL, not via VIN.

After regular calculation HWEL was red. After that i tried to read "HW from SVT_IST"
then i it turned to black.
 
#5 ·
I have tried to flash the HC2 vie VIN Connection with the same result .

The Message

Service RD returned a negative response with response code requestOutOfRange; ECU: HC2_08_ETHERNET

appears three times during flashing.
 
#6 ·
Hi..

I retrofitted 5AG as well but got some issues..

Here is what I installed:

Mirrors with warnings triangles,
Steering Wheel with Vibrator,
Driver assistent control panel,
Master and slave HC2 modules,
Wiring..

Coding:
Added 5AG to FA and coded SZL, ICM, FRM, HU_CIC and DKOMBI..

Problem:
HC2 ECU does not appear in SVT list?? so I checked the Flexray bus from LCW Master
to ZGW pin 29 & 30 and there is no data from ZGW to the HC2 master!!

I even comfermed via ISTA D that Vibrator works, And if i push the LCW button on driver assistent control panel the LED turns on and msg appear on DKOMBI that LGW is aktivated and will run at speed of 50kmh..
But when I drive and as soon as I reach 50kmh I get error that LCW is not functioning and should be checked by dealer..

Tried to initiate Flexray but got error on ICM that there is no response from SWW.

Q1: because ZGW does not send any data to HC2 via flexray.. do I need another ZGW?
the existing is ZGW-1 High.

Q2: depends LCW (5AG) on something else e.g. 5AD or something else

Any other advices?
 
#7 ·
A1: I assume you are trying retrofit on a pre-LCI model since you are using ZGW ports 29&30 . I got the same Problem during retrofit of 5DP and 5AG. No response from both at all. ZGW Port 29&30 belongs to Flexray Port 4 and those port is dedicated to N63 or N74 engines. PMA and HC2 are usually connected to ports 1&2 ZGW. I know ISTA says something different. Have a look to ZGW in ISTA for the PIN allocations.
Try to connect HC2 to ZGW Port 1&2 and conduct flexray init.

A2: on LCI Models you have to consider that two versions of ZGW are built in the car depending on your equippment. 5AG has the only one dependency of S430A. (Mirror high)
 
#11 ·
After checking your Configuration i would say you have got the same problem than me.
All 8 Flexray Ports are separated in 2 groups. All ports belongs to exactly on or more addtitional equippment. In case of missing all supposed equipmment for all ports in a group these group will not be installed in your car.

Group2 has the following ports:

0x04 DME for N74 or N63TU
0x05 EDC left
0x06 EDC right
0x07 PMA and Lane Change Warning

I guess you dont have the second group installed since you dont have any of the above Features. You could check my theory with TOOL32. Open ZGW01.prg run Job "status_Flexray_pfad". You probably will see only 4 Ports.

In my case i used Flexray Port 0x03 for communicating with PMA and HC2. It's on PIN 11&12 ZGW. But you have to activate those port with TOOL32 Job "Steuern_Flexray_pfad before.
After that procedure my PMA and HC2 were both visible in ISTA.
 
#195 ·
After checking your Configuration i would say you have got the same problem than me.
All 8 Flexray Ports are separated in 2 groups. All ports belongs to exactly on or more addtitional equippment. In case of missing all supposed equipmment for all ports in a group these group will not be installed in your car.

Group2 has the following ports:

0x04 DME for N74 or N63TU
0x05 EDC left
0x06 EDC right
0x07 PMA and Lane Change Warning

I guess you dont have the second group installed since you dont have any of the above Features. You could check my theory with TOOL32. Open ZGW01.prg run Job "status_Flexray_pfad". You probably will see only 4 Ports.

In my case i used Flexray Port 0x03 for communicating with PMA and HC2. It's on PIN 11&12 ZGW. But you have to activate those port with TOOL32 Job "Steuern_Flexray_pfad before.
After that procedure my PMA and HC2 were both visible in ISTA.
Hi 1aBimmer! In your case, is your car an F10LCI or preLCI? After connecting to pin 11 and 12 flexray port 003, does it work well? Any fault in cluster or ISTA? Thanks!
 
#15 ·
#14 ·
Yes you right. From factory PMA is connected to PIN 1&2, but i guess your port 7 (PIN1&2) is probably unavailable. Therefore you have to go to freee Flexray Port on the first Group.
At the first group port 4 (0x03) should be available. Port 4 is used from factory by active steering.

TOOL32:

just start the program ans open ZGW_01. During open the connection will be established.
If not check C:\EDIABAS\BIN\EDIABAS.INI.
There must be "Interface = ENET" inside.

The "loop" means no connection to the car.
 
#17 ·
Yes you right. From factory PMA is connected to PIN 1&2, but i guess your port 7 (PIN1&2) is probably unavailable. Therefore you have to go to freee Flexray Port on the first Group.

At the first group port 4 (0x03) should be available. Port 4 is used from factory by active steering.

TOOL32:

just start the program ans open ZGW_01. During open the connection will be established.

If not check C:\EDIABAS\BIN\EDIABAS.INI.

There must be "Interface = ENET" inside.

The "loop" means no connection to the car.
So you mean both, the original specified pins 29&30 for LCW and The 1&2 belong to flexray group 2.. Therefore I should use 11&12 which belong to flexray group 1 which should be already active??

Regards
 
#18 ·
Flexray Port 4 (0x03) with PIN11&12 belongs to the first Star connector inside ZGW.

Those port should be inactive when not connected to any ECU (usually active steering wich you you dont have ). Therefore i guess that port is available to use. That means you have to activate that port with TOOL32.
 
#21 · (Edited)
Now I tried TOOLS32..

Opened ZGW_01.prg

under Job, first I selected 'status_flexray_pfad'..

stat_fr_pfad_0 to stat_fr_pfad_2 have status: EIN
stat_fr_pfad_3 to stat_fr_pfad_7 have status: AUS

And that´s Exactly what 'CoolerLutz' told me!!!



Now I tried to activate port 3 with job steuern_flexray_pfad
but I did not really know how to write the argument??

I tried 0x03; EIN and got OKEY but when I checked status again it still was AUS on 3!



I even noticed at the lower right corner 'read only'

How should I Wright the argument?
 
#22 ·
Try to pass 0x03;0x01 to the job "steuern_flexray_pfad".
As far i can see your ZGW is equipped for all 8 Fleyray Ports. lucky man. So you should use port 8 (0x07) for communication to HC2, because if you using port 0x03 then ZGW will always report an error that flexrax bus needs to be initialized.
To beon the safe site connect HC2 back to PIN 1&2 ZGW. Than add 5AG to VO and run "Flexray init" in ISTA. If it not works try TOOL32 as mentioned before with port 0x07.
 
#23 ·
Hi

I'll already figured out the argument and it works (SWW) showed up in ISTA!! :D

And yes! Because I have ZGW1 high then I have all 8 channels..

And yes!! You are right about flexray init error while having hc2 connected to channel 0x03!!!

But I was thinking to move the pins back 'NOT' to 1&2 but to 29&30 then activate that channel!!

A huge thanks man!!!
 
#24 ·
Now I putted the pins back to 29&30 (as ISTA showed in wiring diagram) which also shows that they are flexray channel 4..

So I activated channel 4 (0x04) via tool32 and read the status 0,1,2,4 EIN and 3,5,6 and 7 AUS

ISTA showed SWW correct but needed coding..

Via e-sys tried to code HC2 but it was missing cafd and I got error when I detected CAF for SWE, but when I flash it successfully it got cafd!!

Now I got 2 problems!!

The first one is what CoolerLutz mentioned about ZGW forgot activated channel ASA I flexray initialized.. What to do??

2. After a complete and successful coding I started my car with no error but ASA activate LCW bottom I got error (LCW not functioning)

Any advice???
 
#28 ·
yes, i purchased a brand new 8sk ZGW from the BMW dealer :) . Now everything is fine in my car. ZGW and PMA, HC2 are green. I put my old ZGWout of the car for inspection. After opening i could verfiy that only 4 Flexray ports physical installed in my ZGW.
Thats the reason for replacing my ZGW.
 
#29 ·
yes, i purchased a brand new 8sk ZGW from the BMW dealer :) . Now everything is fine in my car. ZGW and PMA, HC2 are green. I put my old ZGWout of the car for inspection. After opening i could verfiy that only 4 Flexray ports physical installed in my ZGW.

Thats the reason for replacing my ZGW.
Ok! But mine is already 8 ports from factory!!
Shouldn't be able to made the port opening permanent and initialize flex ray to green status?

Best regards!
 
#30 ·
yes, during Flexray initialization the process follows the equippment list stored in the VO. After coding 5AG in the VO and writing back to the cars VCM it should be working fine and all needed ports are online.
 
#32 ·
Open ESYS and goto "expert mode". below in the file tab open the target FA from a file and load that. After loading right klich on the VO above and press calculate FP. Then goto to Master tab next to the file tab and click on VO write. Now the VO is stored in VCM. Now you can start ISTA and start flexray init.
 
#33 ·
Huge thanks man!!
Should I do that for the other ECUs that I retrofitted?
Even those which require later date to function? Example 6WB which require 0911 or 0712?

Or should I avoid writing another date to vcm!!

For the specific LCW it works fine with my original date but most for me to understand what's the write and the wrong with e-sys?!

Thanks again! I really appreciate your support!!
 
#40 ·
ok, for further investigation i need some answers:

- What PINs you use for the HC2 ECU on the ZGW ?
- After ISTA/D Flexray-Init whats the status of each Port ON or OFF ?
- 5AG is in the VO and VCM ?
 
#41 ·
ok, for further investigation i need some answers:

- What PINs you use for the HC2 ECU on the ZGW ?

- After ISTA/D Flexray-Init whats the status of each Port ON or OFF ?

- 5AG is in the VO and VCM ?
Pins 29 & 30 (as ISTA showed in wiring diagram) which also shows that they are flexray channel 4..

Originally I have:
https://www.dropbox.com/s/j5mbrrvpdg33osx/skärmklipp 2015-08-08 21.46.50.png?dl=0

Then I passed the following parameter:
https://www.dropbox.com/s/c60s730w66ac6ux/skärmklipp 2015-08-08 21.51.41.png?dl=0

Then when I run flexray initialization it tern back to original state!

Regards
 
#44 ·
What wiring did you guys use to connect the master and slave HC2? I bought a set from Audi to connect them both as they use the same HC2's..

Do you need to run a FlexRay cable from the trunk to the ZGW? Our car doesn't have park assist or EDC..

When do you have a ZGW 'high'? We have navi professional, looks like this makes the difference when I check ETK.

Thanks!
 
#45 ·
What wiring did you guys use to connect the master and slave HC2? I bought a set from Audi to connect them both as they use the same HC2's..

Do you need to run a FlexRay cable from the trunk to the ZGW? Our car doesn't have park assist or EDC..

When do you have a ZGW 'high'? We have navi professional, looks like this makes the difference when I check ETK.

Thanks!
+1 i also use from Audi, but need change wiring pins position.