F30POST
F30POST
2012-2015 BMW 3-Series and 4-Series Forum
BMW Garage BMW Meets Register Today's Posts
BMW 3-Series and 4-Series Forum (F30 / F32) | F30POST > Technical Forums > F30 DIYs and Coding Discussions > MY17 HKFM2 F36 Tailgate Closing via cabin button coding
Studio RSR
Post Reply
 
Thread Tools Search this Thread
      03-02-2017, 09:31 AM   #1
irishandrew
New Member
11
Rep
14
Posts

Drives: BMW F30 Sport
Join Date: Oct 2015
Location: UK

iTrader: (0)

MY17 HKFM2 F36 Tailgate Closing via cabin button coding

Just a quick note for anyone with the newer builds that have changed some of the ECU names and CAFD files;

I have a new 4-GC (F36) UK spec, whereby the tailgate button only opens, not closes it. Mine was pre-enabled to close via the keyfob, but wanted the button to work too.

Looking around the forums, I could only find details for SCH_FBD on HKFM 3010. The newer cars have HKFM2 (mine had a [d] extension to the end also), and was the only one not allowing me to read the coding data. Given I have the latest e-sys and pszdata, I needed to find another way.

Thanks to previous posts by Shawnsheridan and roxxor I was able to create a working cafd file, find the entry that would work and successfully change it, so I thought I would do a step-by-step for anyone interested.

1. Connect to your (running) car with your ODB cable and load up E-Sys
2. Read the FA and SVT
3. Navigate down the list of modules until you find the HKFM2 entry, as I said, mine was actually called HKFM2_[d]
4. Check to see if you can read the coding data in the normal way - you might be lucky, however I kept getting C012 errors (CAFD not found) - if this is the case follow the next steps 5-13 too. If it works straight away for you, skip to step 14.
---
5. Under 'Expert' mode, choose the VCM screen.
6. Click 'VCM Master' tab on the bottom section of the screen.
7. In the I-Steps section, select 'Read'. Provided you have not altered the I-Step for previous coding the values produced will be the same as each other. For example mine was F020-16-07-503. Make a note of this number as you will need it in a minute.
8. Under 'Expert' mode, now choose the Coding screen.
9. Click 'Read (ECU)' on the right.
10. Highlight the HKFM2 module and choose 'Detect CAF for SWE' - also over to the right of the screen.
11. A pop-up window will launch with a number of CAFD options - choose the one that MATCHES your I-Step version from above and click OK (the name of the new CAFD might be slightly different from the existing one that wasn't allowing you to read it).
12. You will now have a new CAFD entry with a green dot beside it.
13. I found that I needed to disconnect and close e-sys, then relaunch and re-read SVT before I could read the coding data from the new CAFD - but doing this worked fine.
---
14. When you open up the coding data you will notice that there are tonnes of options, a lot relating to button timings. I just wanted a simple close on single press of the interior button, so only needed to make one change:

3008 USER_LOG_HKL_ROCKERSWITCHPOS1, 06
-> HKL_ROCKERSWITCHPOS1_BUTTON_TYPE

Right click on Werte=02 (second entry under "Ausgelesen")
Choose edit and in the entry box at the bottom of the screen change "02" to "05", then click on the little page with the yellow arrow to the very right of the editing box.

15. Click the 'Save' icon in E-sys.
16. If you try to edit the first entry (wert02) there are no options to choose from, and if you do this after editing the Werte=02 to Werte=05 entry as described, the change will revert back to 02!
17. Go back to your modules, click the altered CAFD file and write it to your car.

My alteration worked immediately, so you can test it right away. I have included a screenshot below of the single change needed for this option. Like I said, there are loads of options around timings etc. in this section, but doing it this way makes it an instant response to pressing the button.

Hope this is helpful to some!

Cheers,
Andrew.

Appreciate 2
Speed-NYC138.00
fpm79w0.00
      03-02-2017, 10:22 AM   #2
FaRKle!
Brigadier General
4017
Rep
3,540
Posts

Drives: 328d Wagon, M2 Comp, i4 eD35
Join Date: Sep 2016
Location: Bay Area, CA

iTrader: (4)

Garage List
Awesome thanks! I was looking for this function but didn't try the rocker switch since the other option names (CA and keyfob) names were quite clear/obvious while this one wasn't.
Appreciate 1
      06-09-2017, 11:02 AM   #3
Steve_M_Sport
Lieutenant Colonel
Steve_M_Sport's Avatar
614
Rep
1,799
Posts

Drives: U06 230e Active Tourer
Join Date: Feb 2013
Location: Leicestershire

iTrader: (0)

This definitely works to enable the boot button above the OBD port to close the boot as well as open it on an F31 with iDrive5. I have coded mine and it works.

This is in the HKFM2 CAFD module

3008 USER_LOG_HKL_ROCKERSWITCHPOS1, 06
-> HKL_ROCKERSWITCHPOS1_BUTTON_TYPE

Right click on Werte=02 (second entry under "Ausgelesen")
Choose edit and in the entry box at the bottom of the screen change "02" to "05"

Also to enable the key fob button to open & close the boot on an F31 with 1 press rather than keeping the button depressed to close the boot you need to code this

300B ...REMOTECONTROLLIFTGATEBUTTON...section...
I went to ...REMOTECONTROLLIFTGATEBUTTON_LONGPRESS_CLOSE..

I changed the Werte value from '01' to '00'

This is logical as the ...._LONGPRESS_OPEN Werte value = '00' as the boot opens with 1 press of the key fob button.

Both tested & work perfectly
__________________
U06 230e Active Tourer |

Previous : 2019 F31 340i : 2017 F31 335D M-Sport
Appreciate 1
Speed-NYC138.00
      07-09-2017, 06:41 PM   #4
Asturias
Registered
United_States
0
Rep
1
Posts

Drives: 2014 X5 50i
Join Date: Feb 2016
Location: Miami, FL

iTrader: (0)

Hi all. I'm fairly new at the coding community. I cannot click on the "Detect CAF for SWE" section described in Irishandrew's post Item No. 10 (...choose 'Detect CAF for SWE'...) It is grayed out in the software I'm using and consequently I cannot click it. Any ideas that can help me out?
I'm using E-Sys 3.28.1, TokenMaster's Premium V2.7.1.135, PSdZData V.61.5
Thanks!
Appreciate 0
      10-18-2017, 03:43 PM   #5
Speed-NYC
First Lieutenant
Speed-NYC's Avatar
United_States
138
Rep
324
Posts

Drives: 2018 440ix Gran Coupé
Join Date: Jun 2011
Location: Westchester County NY

iTrader: (0)

Garage List
Does anyone know how to do this on a 2018 F36 ?

The HKFM2 CAFD file doesnt have the same parameters as in this post.
__________________
Speed-NYC_________________________________________________
Current: 2018 BMW F36 440ix Gran Coupe AT, Tanzanite, 2002 BMW E46 M3 Coupe 6MT, Titanium Silver
Previous:1998 BMW E36 328i Coupe AT, Blue; 1996 BMW E36 323i MT, Orient Blue; 1992 BMW E36 318i MT, Slate Grey; 1973 Ford Cortina XL, Copper
Appreciate 0
      10-20-2017, 12:37 AM   #6
Speed-NYC
First Lieutenant
Speed-NYC's Avatar
United_States
138
Rep
324
Posts

Drives: 2018 440ix Gran Coupé
Join Date: Jun 2011
Location: Westchester County NY

iTrader: (0)

Garage List
Quote:
Originally Posted by Speed-NYC View Post
Does anyone know how to do this on a 2018 F36 ?

The HKFM2 CAFD file doesnt have the same parameters as in this post.
Answering my own post. The unmapped values to code are:
Module Section Function Value Default Description
HKFM2 3008 3008_1_1_255 werte 05 werte 02 FOB hatch button will also close the hatch
HKFM2 300B 300B_1_1_255 werte 05 werte 02 Drivers hatch button will also close the hatch
__________________
Speed-NYC_________________________________________________
Current: 2018 BMW F36 440ix Gran Coupe AT, Tanzanite, 2002 BMW E46 M3 Coupe 6MT, Titanium Silver
Previous:1998 BMW E36 328i Coupe AT, Blue; 1996 BMW E36 323i MT, Orient Blue; 1992 BMW E36 318i MT, Slate Grey; 1973 Ford Cortina XL, Copper
Appreciate 2
      12-09-2017, 11:58 PM   #7
moltenfire
Private First Class
moltenfire's Avatar
Canada
43
Rep
147
Posts

Drives: 2015 M235i EBII Coral Red
Join Date: Mar 2008
Location: Toronto, Canada

iTrader: (0)

Garage List
2015 M235i  [0.00]
Unhappy

Quote:
Originally Posted by Asturias View Post
Hi all. I'm fairly new at the coding community. I cannot click on the "Detect CAF for SWE" section described in Irishandrew's post Item No. 10 (...choose 'Detect CAF for SWE'...) It is grayed out in the software I'm using and consequently I cannot click it. Any ideas that can help me out?
I'm using E-Sys 3.28.1, TokenMaster's Premium V2.7.1.135, PSdZData V.61.5
Thanks!
I'm trying to code a 2017 440xi GC and I'm also enchanting the same problem as Asturias. My 'Detect CAF for SWE' is greyed out as well. I'm using E-Sys 3.27.1 and PSdZData Lite v.63.1. Does anyone have any ideas or can help me too?
Appreciate 0
      12-10-2017, 02:02 AM   #8
Almaretto
Major General
Almaretto's Avatar
2374
Rep
8,364
Posts

Drives: Test Vehicles
Join Date: Dec 2015
Location: Mountain View, CA

iTrader: (0)

Quote:
Originally Posted by moltenfire View Post
I'm trying to code a 2017 440xi GC and I'm also enchanting the same problem as Asturias. My 'Detect CAF for SWE' is greyed out as well. I'm using E-Sys 3.27.1 and PSdZData Lite v.63.1. Does anyone have any ideas or can help me too?
Is your ECU CAFD missing or corrupt? Why are you injecting?
Appreciate 0
      12-10-2017, 12:10 PM   #9
moltenfire
Private First Class
moltenfire's Avatar
Canada
43
Rep
147
Posts

Drives: 2015 M235i EBII Coral Red
Join Date: Mar 2008
Location: Toronto, Canada

iTrader: (0)

Garage List
2015 M235i  [0.00]
Unhappy

I'm trying to code my Gran Coupe's tailgate so that when I press the trunk button or my fob button, it closes.

I can code everything else with the usual method. But when I go to HKFM2, I get the following error when I try to 'read coding data':

Code:
Transaktions-Report:       Aktion: Codierdaten lesen

HKFM2 [d] [VIN Here]
readCPS o.k.
CAFD_00002098_004_011_010 Fehler:
File for "cafd_00002098-004_011_010" not found! [C012]
That's the same error that the OP got. He devised a workaround to create the CAFD and code it that way. Apparently his method doesn't work for me. My iStep is F020-16-11-502 if that makes any difference.

All I'm trying to code is the following but I need to generate the CAFD in HKFM2 in order for it to work:
Code:
HKFM2	3008	HKL_ROCKERSWITCHPOS1_BUTTON_TYPE
HKFM2	300B	REMOTECONTROLLIFTGATEBUTTON_LONGPRESS_CLOSE
If you can help that'd be great
Appreciate 0
      12-10-2017, 01:24 PM   #10
Almaretto
Major General
Almaretto's Avatar
2374
Rep
8,364
Posts

Drives: Test Vehicles
Join Date: Dec 2015
Location: Mountain View, CA

iTrader: (0)

Quote:
Originally Posted by moltenfire View Post
I'm trying to code my Gran Coupe's tailgate so that when I press the trunk button or my fob button, it closes.

I can code everything else with the usual method. But when I go to HKFM2, I get the following error when I try to 'read coding data':

Code:
Transaktions-Report:       Aktion: Codierdaten lesen

HKFM2 [d] [VIN Here]
readCPS o.k.
CAFD_00002098_004_011_010 Fehler:
File for "cafd_00002098-004_011_010" not found! [C012]
That's the same error that the OP got. He devised a workaround to create the CAFD and code it that way. Apparently his method doesn't work for me. My iStep is F020-16-11-502 if that makes any difference.

All I'm trying to code is the following but I need to generate the CAFD in HKFM2 in order for it to work:
Code:
HKFM2	3008	HKL_ROCKERSWITCHPOS1_BUTTON_TYPE
HKFM2	300B	REMOTECONTROLLIFTGATEBUTTON_LONGPRESS_CLOSE
If you can help that'd be great
not found [C012] means you do not have matching CAFD present in C:\Data\psdzdata\swe\cafd.

You would likely need PSdZ around P3.60.1-3.
Appreciate 0
      12-10-2017, 02:16 PM   #11
moltenfire
Private First Class
moltenfire's Avatar
Canada
43
Rep
147
Posts

Drives: 2015 M235i EBII Coral Red
Join Date: Mar 2008
Location: Toronto, Canada

iTrader: (0)

Garage List
2015 M235i  [0.00]
Quote:
Originally Posted by Almaretto View Post
not found [C012] means you do not have matching CAFD present in C:\Data\psdzdata\swe\cafd.

You would likely need PSdZ around P3.60.1-3.
I have E-Sys 3.27.1 & PSdZData Lite v.63.1. Let me try downloading the full PSdZData and see what happens.
Appreciate 0
      12-10-2017, 03:50 PM   #12
Almaretto
Major General
Almaretto's Avatar
2374
Rep
8,364
Posts

Drives: Test Vehicles
Join Date: Dec 2015
Location: Mountain View, CA

iTrader: (0)

Quote:
Originally Posted by moltenfire View Post
I have E-Sys 3.27.1 & PSdZData Lite v.63.1. Let me try downloading the full PSdZData and see what happens.
Do not waste your time downloading full. It will have the same CAFD's with an extra 80GB of firmware only needed for flash programming.

Here. Download and place in directory (C:\Data\psdzdata\swe\cafd).
Appreciate 1
      12-10-2017, 03:56 PM   #13
moltenfire
Private First Class
moltenfire's Avatar
Canada
43
Rep
147
Posts

Drives: 2015 M235i EBII Coral Red
Join Date: Mar 2008
Location: Toronto, Canada

iTrader: (0)

Garage List
2015 M235i  [0.00]
Quote:
Originally Posted by Almaretto View Post
Do not waste your time downloading full. It will have the same CAFD's with an extra 80GB of firmware only needed for flash programming.

Here. Download and place in directory (C:\Data\psdzdata\swe\cafd).
Thanks! I'll try and see if it works!
Appreciate 0
      12-10-2017, 07:06 PM   #14
moltenfire
Private First Class
moltenfire's Avatar
Canada
43
Rep
147
Posts

Drives: 2015 M235i EBII Coral Red
Join Date: Mar 2008
Location: Toronto, Canada

iTrader: (0)

Garage List
2015 M235i  [0.00]
Smile

Quote:
Originally Posted by Almaretto View Post
Do not waste your time downloading full. It will have the same CAFD's with an extra 80GB of firmware only needed for flash programming.

Here. Download and place in directory (C:\Data\psdzdata\swe\cafd).
Thank you so much Almaretto! Your CAFD worked and I was able to 'read coding data' and code my hatch to open and close with the press of the driver's side button and the fob as well. Thank you very much!

For future readers: I had to code these (I got these values from Speed-NYC in an earlier post in this thread):
HKFM2 3008 3008_1_1_255 werte 05 werte 02 FOB hatch button will also close the hatch
HKFM2 300B 300B_1_1_255 werte 05 werte 02 Drivers hatch button will also close the hatch
Appreciate 0
      12-10-2017, 09:25 PM   #15
Almaretto
Major General
Almaretto's Avatar
2374
Rep
8,364
Posts

Drives: Test Vehicles
Join Date: Dec 2015
Location: Mountain View, CA

iTrader: (0)

Quote:
Originally Posted by moltenfire View Post
Thank you so much Almaretto! Your CAFD worked and I was able to 'read coding data' and code my hatch to open and close with the press of the driver's side button and the fob as well. Thank you very much!
Appreciate 0
      09-26-2018, 07:17 AM   #16
klerk
Private First Class
38
Rep
198
Posts

Drives: 2014 F32
Join Date: Oct 2009
Location: austin

iTrader: (0)

F36 coding help in austin

apologies if this is not the correct place to ask....but does anyone know of a coding guru in austin to help with this exact function? carpooling in my F36 wold be made infinitely easier! TIA.
Appreciate 0
      02-17-2024, 08:39 AM   #17
spclark90
Registered
0
Rep
4
Posts

Drives: 2018 430XI grand coupe
Join Date: Jan 2024
Location: Canton, Ohio

iTrader: (0)

Garage List
2016 BMW 428XI   [0.00]
2018 BMW 430 XI  [0.00]
I am looking for links to download the programming files for my BmW 430, and hear you are the coding guru. I bought a wrecked 2018 430XI and rebuilding currently. Need to code new headlight module to the car as driver side is not working. I am going to try to recode the light module and reset a lot of codes before replacing a lot of expensive hardware components. Any help as to what I need to download for this. Beginner on programming/coding on vehicles but ready to learn. See I need e-sys, pszdata, launcher. Anything else you recommend.
Appreciate 0
Post Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 05:43 AM.




f30post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST