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 »

I just wrote this after a session with a noob on IRC that left my wrists sore, about time, really:

viewtopic.php?f=54&t=1241

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 »

OK, from now to the end of the month my goals are as follows:
  • Assist Dan with whatever he needs to knock out a RavAGEing RavAGEr in his time frame.
  • Do testing on the SM pin state situation for PORTA as per FreeEMS issue 186
  • Assign pins for always on power control as per FreeEMS issue 190
  • Complete the ADC filtering circuit fine tuning
  • Analyse the opto situation to determine if it will theoretically work
  • Look at FET driver continuous rating stats to ensure that they will work for ignitor drivers
  • Do SM work as per this thread
The first week of the coming month is assigned to FreeEMS issue 130 such that Sean can get stuck into the XGATE BB code in style.

Along with that, I'm continuing research and development on Cheetah, updating various websites, doing infrastructure work, keeping the team informed, etc. I've also got some extremely urgent personal things to deal with during the next 3.5 weeks, so my availability could be sporadic as I do paper work and move around this strange old country.

I feel like I'm going to have a productive day.

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 »

A new development tonight (last night, forgot to finish the post...)!

A man just around the corner has an underground workshop full of Aprilia bikes and races them. He wants to win. Winning = more bikes sold. He wants to put FreeEMS on his star bike in order to win. I saw his latest dyno curve and it was beautiful, flat torque to rev cut at 11k, if he can push the RPM up a bit higher, and have it not explode, he can make more power almost for free. OEM ecu is hand controller tuned and you cant touch the limiter.

450cc 76 bore 49.5 stroke - 13:1 compression with decompression mechanism
77* v twin, shared journal, big bang OR screamer cam config - odd fire
normal tps and iat/cht sensors
no wideband, will stuff one up it for dyno tuning
map + aap on ecu - dual map could be good
aap correction required, dyno cell has pressurisation feature for tuning this.
twin throttles - will require alpha n and/or blend
itsy bitsy injectors
kick start - priming pulse will be key, and possibly long dwell and fire on absolute first opportunity, or fire CDI if its going to be CDI first igntion while cranking could be hacked in.
no battery, just generator may need to be smarter about batt readings or just reduce corrections to negligible.
30-2 (28) wheel on crank
4 stroke - no cam sensor = hack to determine firing order, i have two ideas about this.
coil per plug, normal dwell/fire ignition.

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 »

Researching wakeup stuff today and searched out this article, worth a read:

http://www.ganssle.com/articles/anmi.htm

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 »

Major update of issue 190 tonight:

http://issues.freeems.org/view.php?id=190

This is a solid start to the hardware interface documentation. I'll expand upon it more later with particular attention to detailed clock and special pins and protection requirements etc.
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 »

Designing the always on input wake up circuit:

viewtopic.php?f=8&t=1266 - pin choice/software stuff
viewtopic.php?f=9&t=1267 - circuit design stuff

If you're familiar with this type of stuff, chime in, because I'm not. We'll get it right in the end, but your assistance could reduce the time frame.

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 worked on FreeTherm today and closed the associated issue on the tracker once I was done. This resulted in a new release of the old tool, 0.6 with functionality to record the parameters used in the file as a comment along with the license and data etc. Nice. I'll use that later today to generate a set of default curves for different bias resistor and sensor combinations!

Release thread: viewtopic.php?f=31&t=1280

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 »

Marcos just ran an engine in Argentina! :-) I think it's his 4 cylinder Fiat Palio, unsure about the configuration he used or what hardware. Probably a Puma spin 1, though, I guess! Congratulations mate! :-)

First in South America!
First without my supervision!
Second on a Puma!
Perhaps other special achievements too?

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 »

http://www.youtube.com/watch?v=U9OEEOmsVHk

Great work, Sean! :-) I look forward to integrating it when it's finished and well tested! :-)

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 »

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