Fred's firmware development diary

Official FreeEMS vanilla firmware development, the heart and soul of the system!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

Video from the event, just the intro (taken from QA) so far: viewtopic.php?f=41&t=2299
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

The main presentation video is now available: viewtopic.php?f=41&t=2299

Entitled: "Fred Cooke's Life Journey: From Homelessness To Car Engine Management Freedom with FreeEMS"

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

You can massage my swollen ego by liking this :-p

https://www.facebook.com/FredCookeNZ

It's a page about the man, as opposed to the project. Time to separate things a little better.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

Now also available on twitter! There is a FreeEMS account as well, and I plan to start using it eventually. But not yet.

https://twitter.com/FredCookeNZ
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

Great news everyone! Sean fired up the LT1 on master code from the server last night! WOO HOO! Only needs to finish wiring it up, and load the dev branch. If this was a tease, and it was on the lathe, I expect multiple public apologies in every medium in which I've written about this.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

I do believe Sean ran the LT1 on vanilla tonight! I am awaiting logs and video that correlate with what I heard over skype ( <3 ) before making more noise but it's promising. Here's a screeny of the first failed attempt showing the dev branch firmware working nicely to protect his engine:

Image



IAT was super high, BRV was wrong/disconnected, and some other connections were dodgy too. He wiggled them and away it went, apparently.

In other unrelated news, a certain FreeEMSer gave me a very pleasant surprise a day or two ago. They hacked on some firmware and fixed something that I had briefly tried to fix and failed. GO THEM!!! You know who you are! <3 :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

I'm pleased to announce that I have received both a video and a log that match and mostly prove that Sean did indeed run his LT1 on vanilla. Albeit badly with no BRV, and 185C IAT, and no TPS. Before I push any more code, I want that car setup properly with all inputs working correctly. I did however just push dev to master and one new trivial commit to dev! Thank you Sean! Now, keep it up and get that setup completed with IAT/BRV/TPS (I'll forgive EGO for now, but you need to review this thread and buy another unit for the car sometime soon! :-p), and get me a new log so we can progress further!

Things coming soon once I get a new log:
  • Injection timing for end of injection (no "start of" timing, yet)
  • Open loop PWM idle control, 8 bit variant first
Things coming later once they're cleaned up and worthy:

Config:
  • Sim's new EFI config (dependent on more tuning)
  • Jeff's config (dependent on tune and config tweaks)
  • Daniel's config (dependent on tune and config tweaks)
  • Mike's config (dependent on tune and config tweaks)
  • Sean's R1 config (dependent on separation from XG, MAF, staging, and clean up)
Code:
  • Even tooth fix (once I do some further research on it)
  • Simple transient enrichment code (needs clean up)
  • Two new decoders (ready to roll)
  • Paddle shift gearbox control (may need clean up)
  • Simple two step launch control (needs data structure changes)
  • Gear detect (requires validation/use first)
  • Speed recording based on gear+RPM (Bench tested OK, needs use)
  • New RPM calculations with excellent accuracy (needs wizard from mike, first, too)
  • Cross compile unit test setup (target: < 4 weeks)
Things I'll be writing soon that are not yet authored:
  • Major refactoring of LT1 decoder and addition of Nissan CAS patterns (3 or 4 or more of them) (requires properly setup LT1 for testing)
  • COP reset functionality (when ever I get a chance, no rush)
  • PID controlled closed loop idle (target: available < 3 weeks)
  • PID drive-by-wire control (target: available < 7 weeks)
  • One new decoder (target: available < 7 weeks)
  • Special strategy for dual cycle engine (target: available < 7 weeks, maybe, maybe later)
  • Chained GPIO (target: any time after typedef/unit test additions)
  • Complete re-write of "algorithm" code (and major data structure changes) (depends new OLV with help from gufi <3 )
Why did I just fuck up my wrist writing the above? Because some CHEEKY LITTLE MOTHERFUCKER told me that I had been bluffing with respect to code ready to go. Eat that! :-p

So to be crystal clear, order of events is this:
  1. Sean finishes his LT1 re-install with ALL sensors (cept EGO) working
  2. I do and push open loop idle and injection timing tunability
  3. Sean buys a second wideband and installs it on LT1
  4. ALL of the other things, in which ever order makes sense
So Sean isn't off the hook yet! I honoured my end of the deal and pushed new (ancient) code to dev and pushed old dev to master (endorsing it for general use), let's get that thing tidied up and working 100% so we can do some serious work with it.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

Just watching an inspirational video from Rockford Illinois while I wait for TPS, IAT, and BRV, and heard this quote, it reminded me of the previous post:

"It doesn't matter how smart you are, but how hard you work!"

https://vimeo.com/76926707
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

If your name is NOT Andy/DeuceEFI, please help Mike test his changes to EMStudio:
malcom2073 wrote:New Builds to try:
32 Bit
64 Bit

These are ultra-unstable, new builds from my new memory management changes. Should increase stability overall once I get all the testing done. Don't use these if it HAS to work for you, but please test them for me. I'm a bit busy lately, so I've not really had time to run through testing on this build.

Offline editing is gone/unstable, so I don't recommend trying it. You can save "offline" data while connected, then later load "offline" data while connected to save and load tunes, but they will likely not work while not connected to the ECU.
This is REALLY important to me, as I will be needing it in bulk soon. So if you have hardware, even if only on the bench, grab one of these, or build one from the right branch, and try to break it!

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary

Post by Fred »

Anyone done any testing for Mike yet? Pretty please, test away!

In other news, I am a bit sore this evening after writing about half of a key document that will play a huge part in the future of this project. When it's finished, and when the time is right, I'll release the document for others to review. As much as while waiting for Sean to wire up three sensors, don't hold your breath. :-)

In still more other news, check out the video of engine number 24 in Galicia, Spain: viewtopic.php?f=55&t=2321

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Locked