This is where the BIN Hackers and definition junkies discuss the inner workings of the EEC code and hardware. General tuning questions do not go here. Only technical/hardware-specific/code questions and discussions belong here.

Moderators: cgrey8, EDS50, Jon 94GT, 2Shaker

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Getting additional parameters added to BE

Post by wizkid1358 » Thu Dec 23, 2021 12:17 pm

What is the best to get additional parameters defined for a certain strategy in Binary Editor? I'm tuning my 2002 Harley Davidson F150 with PCM code EKO1 on strategy OMAE1. I have a new engine setup this year that revs a lot higher than the original. The problem is there seems to be a parameter that limits RPM before the supercharger bypass solenoid is triggered. So every time it went above a certain RPM it would trigger the bypass open and I would lose all boost. I just have it shut off right now which seems to be what most people wind up doing. I would like to keep it on though for when other people are driving the truck (especially when towing) and the temps get out of control. Looking in Tuner Pro for the OMAE2 strategy there is an RPM parameter for the bypass solenoid.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Thu Dec 23, 2021 5:02 pm

You could ask the definition author to add it.

You could add the parameter yourself.

BE has a method for a user to add a parameter to an encrypted def, I believe. Have a dig through the menu's.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Fri Dec 24, 2021 11:03 am

I sent a couple emails to Ben at Core Tuning but I never got a response. I also tried using the info from tuner pro to add the parameters to BE with the user defined parameters. The strategy is different and it looks like OMAE2 doesn't use the same address as my OMAE1. Decompiling my current strategy and finding the correct address is a little beyond my current capabilities. I'm not sure how to even make a bin file to decompile off of what I'm currently running.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Fri Dec 24, 2021 5:10 pm

An OEM bin can be read out of your EEC with QH and BE. Open an empty definition file with BE then use the FORD menu item to do the read. From there on it's a steep learning curve to disassemble and find the limiters in the bin.

Mmmm, nothing positive to be said for that level of after sales service.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Sat Dec 25, 2021 10:22 am

That is a good starting point so thanks for that. Maybe I'll dig into that next week. I don't want to throw Core Tuning or Ben under the bus. They are usually very helpful when I've had licensing issues in the past and after I asked for the adaptive fuel air flow tables to be added he immediately added them for my strategy.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Sat Dec 25, 2021 1:45 pm

Ok, maybe it's a case of needing time to find the parameters.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Wed Dec 29, 2021 11:08 pm

jsa, where do I find a blank definition file to open in BE? If I close out of the current tune and do a read with the database enabled it automatically finds the strategy and only allows me to save a .beb file. If I disable the database it give me an error saying the loaded strategy must have a PCM defined on the config worksheet.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Wed Dec 29, 2021 11:37 pm

Never mind. I was able to make a bin with Tuner Pro. Now the real fun begins.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Thu Dec 30, 2021 9:03 am

Blank def
Attachments
EEC-IV_Blank.xlsx
(20.35 KiB) Downloaded 116 times
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Tue Jan 04, 2022 12:46 am

So I found it in bank 1 at address 3a6e. Same as OMAE2. The issue seems to be with how I'm adding the user defined parameter to BE. I tried using 0x13A6E as the address and BE just displays 0 RPM. Anyone have any information on setting up user defined parameters in BE?
SC Bypass RPM limit 2.png
SC Bypass RPM limit 2.png (230.15 KiB) Viewed 4744 times
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Tue Jan 04, 2022 7:09 am

Give 0x11A6E a go.

BE addresses for S F T start at 0 for ROM ignoring the 0x2000 RAM.

BE payload addresses are actual addresses.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Tue Jan 04, 2022 8:05 pm

No luck there. Is it possible because I'm using an encrypted def?
SC Bypass RPM limit 3.png
SC Bypass RPM limit 3.png (235.77 KiB) Viewed 4685 times
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Tue Jan 04, 2022 9:44 pm

I thought the whole idea of user PID's was to allow user additions to encrypted def's.

Clint would be the best to sort out why it's not working.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

sailorbob
BIN Hacker
Posts: 1733
Joined: Tue Jul 12, 2005 6:10 am

Re: Getting additional parameters added to BE

Post by sailorbob » Wed Jan 05, 2022 4:19 am

If the definition has the 'PCMType' configuration option set to 'EEC_216K' (which it should be for OMAE*) and the 'EEC' configuration option set to 'True' then 0x13A6E is the address to use (assuming it is the correct address for the SCB_N parameter). But if 'EEC' configuration option is set to 'False' or missing then you will need to subtract 0x4000 from the address.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Wed Jan 05, 2022 6:28 am

Every days a school day...0x0fa6e...so bank prefix is irrelevant in BE then?
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

sailorbob
BIN Hacker
Posts: 1733
Joined: Tue Jul 12, 2005 6:10 am

Re: Getting additional parameters added to BE

Post by sailorbob » Wed Jan 05, 2022 6:52 am

It is if the 'EEC' configuration option is set to 'False' or missing from the definition.

User avatar
cgrey8
Administrator
Posts: 10982
Joined: Fri Jun 24, 2005 5:54 am
Location: Acworth, Ga (Metro Atlanta)
Contact:

Re: Getting additional parameters added to BE

Post by cgrey8 » Wed Jan 05, 2022 7:04 am

sailorbob wrote: Wed Jan 05, 2022 4:19 am If the definition has the 'PCMType' configuration option set to 'EEC_216K' (which it should be for OMAE*) and the 'EEC' configuration option set to 'True' then 0x13A6E is the address to use (assuming it is the correct address for the SCB_N parameter). But if 'EEC' configuration option is set to 'False' or missing then you will need to subtract 0x4000 from the address.
I'm not sure I followed a bit of that...mostly because I've not been involved with the multi-bank development efforts within BE at all. So it's most likely additions were made to BE to support different concepts & ways of describing memory offsets in definitions that aided the def-developers in some way that doesn't make sense to me since I have no multi-bank bin/def dev experience.

Can you break this down a bit more with some back-story about these things? For example, the different PCMTypes, what EEC configuration is doing, why 0x4000 when false (if the explanation doesn't make that obvious). The only thing I understood in all of this is the concept of banks.
...Always Somethin'

89 Ranger Supercab, 331 w/GT40p heads, ported Explorer lower, Crane Powermax 2020 cam, FMS Explorer (GT40p) headers, aftermarket T5 'Z-Spec', GUFB, Moates QuarterHorse tuned using BE&EA

Member V8-Ranger.com

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Wed Jan 05, 2022 8:31 am

Well 0x0fa6e looks to be it. Reads as 23200 with no equation set and divided by 4 it is 5800. PCM type looks to be set as 216k as shown below but I do not know what the EEC configuration is set to.
About Binary Editor.png
About Binary Editor.png (132.43 KiB) Viewed 4619 times
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Wed Jan 05, 2022 5:13 pm

The S F & T parameters are in ROM.

Each bank ROM starts 0xb2000. b being the bank number.

For a bank aware situation that would require the bank number less 0x2000.

For a bank unaware situation looking at a ROM address in Bank 1, it's an actual address in the binary. Bank 0 and 1 ROM both start at 0x2000, so thats adds up to 0x4000.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Wed Jan 05, 2022 7:28 pm

So are the addresses in all the banks offset by the same amount (-4000) or is it different for each bank? Example being bank 0 is -2000, bank 8 is -6000, bank 9 is -8000.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Fri Jan 07, 2022 5:29 am

Screenshot_20220107-195941_Xodo Docs.jpg
Screenshot_20220107-195941_Xodo Docs.jpg (127.25 KiB) Viewed 4495 times
4x 56k banks of rom is 224kb, which does not match any PCMtype in the help file.

For 4x 56k banks, yes it would be 0x2000, 0x4000, 0x6000 & 0x8000.

A 4 bank of 216kb type has another 8kb at the end of bank 1(??) that is not in the bin file. So that would be 0x2000, 0x4000, 0x8000 & 0x10000.

I've spent very little time on multibanks and multibank defs, I'm happy to be corrected.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Sat Jan 08, 2022 3:18 pm

The offset seems to be different for banks 8 and 9. 0x83F9D should be the switch to disable transient fuel correction at idle. I pointed BE to both 0x7BF9D and 0x7DF9D and both show as 255 when it should be 0.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Sat Jan 08, 2022 5:53 pm

Can you post the bin?
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Sat Jan 08, 2022 7:34 pm

Here it is.
OMAE1 Read.bin
(256 KiB) Downloaded 99 times
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Sat Jan 08, 2022 8:19 pm

An image in your post above shows that a 224kb file is loaded.
Last edited by jsa on Sat Jan 08, 2022 9:53 pm, edited 2 times in total.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

sc544x4f150
Gear Head
Posts: 1
Joined: Sat Aug 01, 2015 5:14 pm

Re: Getting additional parameters added to BE

Post by sc544x4f150 » Sat Jan 08, 2022 9:50 pm

That is the bin file I created with Tuner Pro using Decipha's instructions for a 256K PCM. I'm guessing this is not correct then? I wasn't able to make one with Binary Editor with the blank definition you supplied. The image you are referring to is "About Binary Editor" screenshot that shows the PCM type as EEC 216k 4 banks right?

jsa
Tuning Addict
Posts: 920
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Getting additional parameters added to BE

Post by jsa » Sat Jan 08, 2022 10:02 pm

The 256kb bin looks ok.

Yep it show EEC 216k and a file size of 0x38000 which is 224k.

Do a wildcard search on the bin for

Code: Select all

f9*
I don't see an 0xff at any matching address.

Makes me wonder what's in the BEB at the *f9d addresses you tried.
Cheers

John

95 Escort RS Cosworth - CARD QUIK COSY ANTI / GHAJ0
Moates QH & BE
ForDiag

sailorbob
BIN Hacker
Posts: 1733
Joined: Tue Jul 12, 2005 6:10 am

Re: Getting additional parameters added to BE

Post by sailorbob » Sun Jan 09, 2022 3:47 am

You need to ensure you are using the same calibration file size as that given by the 'PCMType' configuration option as otherwise you are most likely going to end up corrupting the file because values will get written to the wrong address.

wizkid1358
Gear Head
Posts: 36
Joined: Sun May 01, 2016 9:40 am

Re: Getting additional parameters added to BE

Post by wizkid1358 » Sun Jan 09, 2022 1:27 pm

Here is the instructions I used to create the bin file. It states that all 96-04 PCMs are 256K.
bin file creation.png
bin file creation.png (219.23 KiB) Viewed 4316 times
If that isn't right for 224K does someone have the right settings I could use to get another bin file?

In TunerPro with Decipha's OMAE2 XDF the variables in bank 8 and 9 in my bin file load correctly so it again seems like the issue is pointing BE to the correct addresses for whatever format the BEB file has the addresses stored in. So far everything in bank 0 and 1 matches between BE and TunerPro using the 0x2000 and 0x4000 offset for the addresses but bank 8 and 9 seem to use something different in the BEB file than 0x8000 and 0x10000 offsets.

After typing all of that, it seems the banks in the BEB file are numbered 0,1,2,3 instead of 0,1,8,9. I just used address 0x2BF9D and now it shows correctly.
2002 F150 Harley Davidson, Supercharged 5.4L, EKO1/OMAE1, 11:1 compression, Comp XE274H cams, ID1050 injectors, DW100 and DW400 pumps, BA2600, Jokerz ported blower, FI Interchiller, Trick Turbo intercooler, Circle D 2800 Stall, too much more.

sailorbob
BIN Hacker
Posts: 1733
Joined: Tue Jul 12, 2005 6:10 am

Re: Getting additional parameters added to BE

Post by sailorbob » Mon Jan 10, 2022 6:48 am

The guide you have posted is just a 'catch all' way of reading an eec-v and does not take into account the various ROM sizes found in the the eec-v. Once you have read the ECU using that method you need to then alter the binary file to match the actual ROM size. There is no 'bank' in a binary file but you must ensure the data in the binary file is in the same order as the banks when using the Binary Editor software.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests