Welcome to Ford XR6 Turbo.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.



Ralph Wiggum

Diy Tuning

589 posts in this topic

@rollex I'm incredibly interested, I never dreamt I would live in a world with falcon live tuning, that would be the dream. If you need anymore prototype cars let me know.

Share this post


Link to post
Share on other sites

Anything is possible, you just need enough time and money! HP Tuners said live tuning would not be economical and when they did it for GM the profit from it was a fraction of what they get elsewhere and hence dropped it.

 

As they only offered it for one strategy I can see why it was not economical, however if I can write an automated routine to patch any strategy automatically, then suddenly it does become profitable so hopefully it is something we can implement down the road.

3 people like this

Share this post


Link to post
Share on other sites

Im very curious to see how you're able to access the routine needed for the PCM to be writeable and still have it operate.

Share this post


Link to post
Share on other sites

You can't so you do something tricky instead.

 

Basically the code references the flash ROM to read the tables and determine the output values. What you do is change the ROM references to RAM. You then insert an init routine that copies the old ROM tables to the RAM at startup.

 

Then when the engine is running your write to the RAM, the changes won't be persistent though so you then need to do a full write afterwards when you are happy.

 

edit: You could also write random values and possibly crash the PCM, so there would need to be lots of thought put into it.

Edited by rollex
1 person likes this

Share this post


Link to post
Share on other sites

as a programmer, I'd never want to be multi-threading with randomly accessible memory and read-only memory simultaneously (which is essentially what you're saying there) as you're almost guaranteed to have issues unless the OS you're working within keenly controls the RAM allocation/de-allocation/re-allocation...

Share this post


Link to post
Share on other sites

There's no "allocation" as such, it's all stored on the heap well out of range of typical usage. Eg you set it at startup and it doesn't change.

 

Also its entirely single threaded.

Edited by rollex

Share this post


Link to post
Share on other sites

I think you're going to have extreme difficulty in live tuning, if you're using single threads :)

Share this post


Link to post
Share on other sites

Of course the desktop application isn't single threaded. The MPC565 however is single core, hence there will be no common deadlock issues. Eg everything happens synchronously, eg they get time splices, its not possible for two things to access the same piece of RAM at the same time, hence there will be no issues.

 

Eg the PCM reads a table, then the UDS command handler routine comes in with new data and updates the RAM, then PCM then reads the updated RAM.

 

This isn't like programming for a PC, it is embedded programming. The issues you are talking about do not exist.

 

Share this post


Link to post
Share on other sites

yeah, that makes sense... good luck with the live tuning component - it will make you a ton of money if you can get it to work (as tuners will love to say they can't live tune, but then live tune it and charge the same amount and do 5-10x as many tunes :P ), so it'll be worth any time you spend on it (as long as that time leads to success, of course)

Share this post


Link to post
Share on other sites

That all went over my head but I'm still excited 

I wonder how ecutek can be profitable having access to live tuning with subarus and such

Share this post


Link to post
Share on other sites
Just now, MattyP said:

I wonder how ecutek can be profitable having access to live tuning with subarus and such

 

Why is that?

Share this post


Link to post
Share on other sites

Well as you were saying that it's incredibly expensive. 

 

I also thought a piggy back controller would make it easier to program.

Share this post


Link to post
Share on other sites

A bit of an update for the Rolls software.

 

As some of you know I am the one helping Rolls in the background hunting through the assembler and finding new parameters and have just completed initial testing on a new feature for this software. I have been able to track down the independent control of the exhaust cam for the XR6 turbo and yes we have control :dancing:

 

There is a bunch of tables missing from the other products that I have found and have them in for the first release (TBA). An interesting one based on vehicle speed but currently a constant.

 

So now the fun will begin. IH8TOADS pointed out we could do ghost cams and we have someone testing this as well. So higher overlap cams may be controllable at idle as well as removing the stuff Ford put in to reduce back pressure in the higher rev range due to the factory exhaust. 

 

I believe this is a first for us. We have been told it is not in other products.

13 people like this

Share this post


Link to post
Share on other sites

Ok we have ghost cam working!

 

Ghost cam on demand!

 

Super lumpy idle 35 degrees overlap on exhaust cam

 

Car is completely undriveable with that much overlap but it sounds super cool. 

 

Currently I can only get the lumpy cam when you have your foot on the throttle, as soon as idle mode kicks in it goes smooth again. So basically have the reverse of a ghost cam, lumpy as hell when trying to drive, smooth at idle. Will need to find the maps that control the idle exhaust cam timing to get a true ghost cam working.

 

Anyway, progress is progress!

Edited by rollex
9 people like this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Donation Box

    Please donate to support the community.
    We appreciate all donations!