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 »

No longer slightly broken! Now perfectly fine :-)
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 »

viewtopic.php?f=41&t=1422&p=30070#p30070

3am, time to snooze!

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 »

Couldn't snooze, so finished the job by gluing it together and testing it:

viewtopic.php?f=41&t=1422&start=10

23 seconds for a verified load! My productivity just went up :-)

Good night! 5:31am :-p

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 just added a top-level make file and updated the readme to refer to it. Special builds are available with a simple "make MYBUILD" syntax. Simply running "make" presents the following output:

Code: Select all

fred@cheetah:~/workspaces/eclipse/freeems-vanilla$ make

######################## Welcome to FreeEMS! ########################

To build, choose a target from the below list and type 'make target'!
For example, to build blank unconfigured firmware type 'make DEFAULT'
Note: For BenchTest to work you MUST build using the DEFAULT target!
Advanced users will find more options available in the src directory!

Options:

SNOTROCKET
SEANKLT1
SLATER
Makefile
PETERTRUCK
Help
TRUCK
DEUCECOUPE
TEST_AND_SAVE_ALL
PRESTO
PETERJSERIES
DEFAULT
HOTEL
SPUDMN
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 »

More OLV hacking today. Trying to get various things checked off ready for release and make my life easier too. Great success with yet another library created and a utility based off of it. Tested and used already. About to use an older version to view Andy's log.
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 »

Did a bunch of testing on EMStudio earlier for Mike. Before that I finalised the last few days packaging work, and figured out a few tricky things that were stumping me. Decided that I'm not going to attempt to implement the feature upgrade for Andy until I have a unit testing setup for the firmware. Cut open my finger a little (but disproportional amount of blood) tonight. Figured out why something I ordered was wrong. Did some SMD work this evening, etc. Typically full day. More stuff completed than usual, though. Tomorrow feels as though it's going to be productive. Fingers crossed. And not just to stem the flow of blood :-p
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 »

Wrote a utility to help with logging duties and make life more certain. Added some sophistication to OLV with the help of Andy's latest log. Did some design work on a future problem. Diagnosed some issues I had a few weeks ago and have some hope for more positive progress tomorrow on that front. Tomorrow will be a software free day, mostly, by the looks. Likely Friday the same, for a different reason. More news as it comes to hand.
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 »

7am, hard at work unit testing. Should have complete coverage of my S19 library by bed time tomorrow. Which means that I can release it and write permanent client code around it. Good times!

Also, re testing, NO contributions, of any type, to the firmware, from anyone, without thorough unit testing, from now on. I don't have room for flaky shitty fragile software in my life. If it's not up to par, it's nothing around here. This project is founded on the principal of no-compromise quality. Products developed without that attitude and methodology have no place here and won't be tolerated by me anymore. That goes for HW, SW, FW, research, testing, you name it. Do it right or don't bother. If you're not doing it right, you won't be receiving my assistance, help or testing as it indicates to me that you haven't put in the effort and care yourself up front and are just wasting my time.

Finally, I'm unavailable tomorrow, and for the rest of the week. No PMs, no nothing. If I answer you, feel special.

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 got half of what I needed done today, which is good. And cleaned up the tests/lib some more, which is good. And tonight, which is very good, I spent just 30 mins and created a basic framework for OTW unit testing the FW. Stoked with that. May try it for fun if I finish my chores tomorrow. Needs lots of sophistication adding to it, but as a proof of concept, stubbed out, I ran it tonight, and it worked great!

I failed on the no PMs thing. I will try harder to tell people to fuck off tomorrow.

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 »

Less than an hour's work, so sweet! Needs a day spent on it to be productive, though. Proof of concept complete, automated unit testing now available! Take that!

Image

Fred.

PS, if you know how to write a Hello World! app, and this doesn't excite you, please request account deletion immediately, you do not belong here.
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