ICE Tube Clock Firmware Comparison

by bastard on Fri Nov 13, 2009 6:37 am

Hi,

as I'm not sure which firmware I want to use or modify I've done a comparison between them. I hope I got all features. If not, please give me some input - I'll put it in asap.
firmware comparison (Medium).png
firmware comparison (Medium).png (127.62 KiB) Viewed 8631 times


The firmware can be downloaded here: Adafriut / caitsith2 / jsgf / DigiSage

Stefan

last edit: added GPS timekeeping.
Last edited by bastard on Mon Nov 01, 2010 10:23 am, edited 7 times in total.
bastard
 
Posts: 54
Joined: Tue Aug 25, 2009 6:10 am
Location: Germany, Bavaria

Re: Firmware Comparison

by adafruit on Fri Nov 13, 2009 11:20 am

bastard wrote:Hi,as I'm not sure which firmware I want to use or modify I've done a comparison between them. I hope I got all features. If not, please give me some input - I'll put it in asap.


stefan, thank you so much for this - very helpful! we've made this a sticky and we also made this a blog post on adafruit, thanks again!

http://www.adafruit.com/blog/2009/11/13 ... clock-kit/

:D
User avatar
adafruit
 
Posts: 11645
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Firmware Comparison

by jsgf on Fri Nov 13, 2009 11:44 am

Fantastic, thanks a lot for doing this! It really helps to be able to see them side-by-side.

And you scooped me on drift correction! I only *just* committed that, and haven't announced it at all yet!

One thing I'd mention - and admittedly because I'm biased from having spent some time implementing it - is display transitions. Aside from looking pretty, I find they do actually help give a cue as to what just happened when you pressed the button without having to read the display... And if the shape of '9' is worth mentioning, then this is ;)

Maybe its worth having a "notes" or "other" field for things like that.
Advanced IceTubeClock Firmware download Source Git Wiki
jsgf
 
Posts: 61
Joined: Mon Oct 26, 2009 12:21 am

Re: Firmware Comparison

by bastard on Fri Nov 13, 2009 12:04 pm

It's a bit difficult for me, not to misunderstand you. I'm not sooo good in english ...

jsgf wrote:And you scooped me on drift correction! I only *just* committed that, and haven't announced it at all yet!


Sorry ... :D I just downloaded the last firmware paket from git ... and it was already in, so why not mention it.

jsgf wrote:One thing I'd mention - and admittedly because I'm biased from having spent some time implementing it - is display transitions. Aside from looking pretty, I find they do actually help give a cue as to what just happened when you pressed the button without having to read the display... And if the shape of '9' is worth mentioning, then this is ;)


I agree, but do not fully understand. So I make you a "notes" field. What would you have to be in there? Please give me your words.

Stefan
bastard
 
Posts: 54
Joined: Tue Aug 25, 2009 6:10 am
Location: Germany, Bavaria

Re: Firmware Comparison

by jsgf on Fri Nov 13, 2009 12:16 pm

bastard wrote:I agree, but do not fully understand. So I make you a "notes" field. What would you have to be in there? Please give me your words.


OK, rather than having separate lines for relatively minor things like "shape of 9" and "test mode", add a notes field with:

Caitsith2: (#) Adjustable shape of 9. (#/tick) Test mode.
Jsgf: animated display transitions

Though "shape of 9" is so simple to implement I may as well do it...
Advanced IceTubeClock Firmware download Source Git Wiki
jsgf
 
Posts: 61
Joined: Mon Oct 26, 2009 12:21 am

Re: Firmware Comparison

by DigiSage on Sat Nov 14, 2009 4:55 am

I have no trouble building / flashing my firmware with the MacOS X avr packages. However, there are definitely things I can do to make the file smaller. Also, I believe I discovered a bug in the "No" seconds display mode, which hopefully I will fix soon.
User avatar
DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 5:11 pm
Location: San Diego, CA

Re: Firmware Comparison

by bastard on Sat Nov 14, 2009 6:59 am

Hi,

I just installed all the needed pakets on my debian lenny server - it also isn't able to upload the .hex file, sorry.

DigiSage wrote:I have no trouble building / flashing my firmware with the MacOS X avr packages.


Sorry, I've no Mac around me. :wink:

Stefan
bastard
 
Posts: 54
Joined: Tue Aug 25, 2009 6:10 am
Location: Germany, Bavaria

Re: Firmware Comparison

by jone on Sat Nov 14, 2009 8:26 am

Hi,

I believe gcc 4.3.2 ( WinAVR 20090313) has more aggressive function inlining optimisations.
Adding "--param inline-call-cost=2" to the compiler options reduces the size of DigiSage firmware as follows --

From:
Program: 16648 bytes (101.6% Full)

To:
Program: 15488 bytes (94.5% Full)

Hope this helps someone out.
Jon
jone
 
Posts: 2
Joined: Sat Nov 14, 2009 8:12 am

Re: Firmware Comparison

by bastard on Sat Nov 14, 2009 9:38 am

Hi,

jone wrote:Adding "--param inline-call-cost=2" to the compiler options reduces the size of DigiSage firmware


yes! It worked! Updating the sheet ...

Stefan
bastard
 
Posts: 54
Joined: Tue Aug 25, 2009 6:10 am
Location: Germany, Bavaria

Re: Firmware Comparison

by jsgf on Sat Nov 14, 2009 10:38 am

jone wrote:Adding "--param inline-call-cost=2" to the compiler options reduces the size of DigiSage firmware as follows --
...
Hope this helps someone out.


Thanks for the tip! That reduces my code size from 9516 to 8642 which is a nice saving!
Advanced IceTubeClock Firmware download Source Git Wiki
jsgf
 
Posts: 61
Joined: Mon Oct 26, 2009 12:21 am

Re: Firmware Comparison

by DigiSage on Sat Nov 14, 2009 3:15 pm

FYI, I posted a new build of my firmware, just bugfixes at this point, but I thought I'd mention it here.
User avatar
DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 5:11 pm
Location: San Diego, CA

Re: Firmware Comparison

by dataman on Mon Nov 16, 2009 2:57 pm

Might I suggest posting URLs to the project homepages in the chart?
Would simply finding this stuff for newbies...
User avatar
dataman
 
Posts: 98
Joined: Wed May 20, 2009 6:03 pm

Re: Firmware Comparison

by Eggplant! on Mon Nov 16, 2009 3:17 pm

I'm not sure if the board software allows this, but I'd prefer an HTML table over an embedded image if possible. That way you can add things like links to the forum topics or web sites, be able to copy/paste information, etc.
Eggplant!
 
Posts: 23
Joined: Sat Nov 07, 2009 6:55 pm

Re: Firmware Comparison

by bastard on Tue Nov 17, 2009 5:04 am

Hi,

Eggplant! wrote:I'm not sure if the board software allows this, but I'd prefer an HTML table over an embedded image if possible. That way you can add things like links to the forum topics or web sites, be able to copy/paste information, etc.


unfortunately html-tables are not possible in this forum. If they were, I would have done it that way. I added the URLs beneath the table for easy clicking.

Stefan
bastard
 
Posts: 54
Joined: Tue Aug 25, 2009 6:10 am
Location: Germany, Bavaria

Re: ICE Tube Clock Firmware Comparison

by joerg.daehn on Thu Apr 01, 2010 1:12 am

For those of you, who haven't yet noticed: jsgf left a little easter egg in his firmware: just look at today's date . . .

Best Regards,

J. Dähn
joerg.daehn
 
Posts: 30
Joined: Tue Oct 13, 2009 5:39 pm
Location: Hannover, Germany