Get 12% off, TODAY ONLY 12/12 – use the code TWELVE on check out! Some restrictions apply!

ICE Tube Clock Firmware Comparison
Moderators: adafruit_support_bill, adafruit

Re: Firmware Comparison

by bastard on Tue Nov 17, 2009 6: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 7:10 am
Location: Germany, Bavaria

Re: ICE Tube Clock Firmware Comparison

by joerg.daehn on Thu Apr 01, 2010 2: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 6:39 pm
Location: Hannover, Germany

Re: ICE Tube Clock Firmware Comparison

by jsgf on Thu Apr 01, 2010 2:59 pm

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


Sure, I, er, um, meant to do that, whatever it is. (Note to self: check date on clock.)
Advanced IceTubeClock Firmware download Source Git Wiki
jsgf
 
Posts: 61
Joined: Mon Oct 26, 2009 1:21 am

Re: ICE Tube Clock Firmware Comparison

by joerg.daehn on Sat Apr 03, 2010 12:01 pm

Sure, I, er, um, meant to do that, whatever it is. (Note to self: check date on clock.)


Well here on April 1st it was April 0, 2010. I thought that was a nice easter egg. If it happened by chance, never mind.

J.
joerg.daehn
 
Posts: 30
Joined: Tue Oct 13, 2009 6:39 pm
Location: Hannover, Germany

Re: Firmware Comparison

by DarrenG on Tue Apr 13, 2010 5:43 pm

bastard wrote:I added the URLs beneath the table for easy clicking.

I can only see the table in the blog post which doesn't have URLs of all the various firmware homepages. Are they posted in one place somewhere?
Darren Griffin
User avatar
DarrenG
 
Posts: 33
Joined: Sun Mar 07, 2010 2:46 pm
Location: Hampshire, UK

Re: Firmware Comparison

by bastard on Mon Nov 01, 2010 11:26 am

Hi,

I just uploaded a new comparison sheet. All firmware modders please let me know, if all your features are correct.

Bye

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

Re: ICE Tube Clock Firmware Comparison

by ortsac on Thu Jul 21, 2011 3:08 pm

I am a novice here and have no way of updating the firmware nor the programming skills to do so. I am willing to buy an MCU that has all the latest firmware mods to the ITC (Ice Tube Clock) already burnt and certifiably verified working unit.
ortsac
 
Posts: 31
Joined: Tue Jul 19, 2011 5:32 pm

Re: ICE Tube Clock Firmware Comparison

by wbp on Tue Nov 08, 2011 1:55 pm

ortsac - are you in the USA? If so, send me a chip and I'll program it for you. Probably best to take this to email: wm (at) usa (dot) net.

William
User avatar
wbp
 
Posts: 226
Joined: Mon Mar 07, 2011 1:18 pm

Re: ICE Tube Clock Firmware Comparison

by jyohe on Sat Dec 31, 2011 2:12 pm

Say, William (wbp),

Have you considering putting your latest revision (mentioned here: viewtopic.php?f=41&t=21144&p=128768&hilit=ice+tube+firmware#p128768 ) up to the Firmware Comparison chart?

-Jim
jyohe
 
Posts: 10
Joined: Thu Dec 29, 2011 4:53 pm

Re: ICE Tube Clock Firmware Comparison

by crites on Tue May 01, 2012 12:57 pm

Can anyone point me to a link that will give me info on compiling these firmware packages the ICE Tube Clock?

Got my GPS running, now I think I need the dimmer function.

Thanks,

-TAC
crites
 
Posts: 11
Joined: Tue Dec 15, 2009 9:55 pm

Re: ICE Tube Clock Firmware Comparison

by markneub on Sun Dec 09, 2012 10:41 pm

I've decided to make a clock with custom firmware as a gift for someone special, but after downloading the firmware mods from the board I was unable to compile on my platform. After some digging I realized that none of the firmware mods available here are updated for use with avr-libc 1.8.0. I decided to use DigiSage's firmware as my starting point and present here new version of DigiSage's code that is unchanged in functionality but will compile with avr-libc 1.8.0. Actually, all I can really say for sure is that it compiles with some warnings (didn't bother to correct those) on my Mac running 10.6.8 with Objective Development's AVR Crosspack 2012-12-07. I have also sent the firmware to my ice tube clock with avrdude and confirmed that it starts up and runs fine.

Like I said, it's a little ugly but it compiles on my machine now and I'm only uploading it because someone else might find it useful.
Attachments
firmware09-30-09-multipack-digisage-update.zip
DigiSafe ice tube firmware updated for avr-libc 1.8.0
(285 KiB) Downloaded 216 times
markneub
 
Posts: 1
Joined: Sun Dec 09, 2012 10:35 pm

Re: ICE Tube Clock Firmware Comparison

by jarchie on Tue Mar 12, 2013 7:17 pm

Can anyone point me to a link that will give me info on compiling these firmware packages the ICE Tube Clock?


I am not aware of any such resource. If you have an ATMEGA328P-PU, I would recommend playing with my firmware. It has installation instructions, compiles cleanly, and the code is clearly written.

Some of the older firmware projects no longer compile on recent versions of GCC, so the code will need to be modified in order for them to compile. This is the procedure I used to get the Adafruit code to compile and run on my clock. The procedure for older firmware projects based on the Adafruit code should be similar.

EDIT: The version of GCC that comes with WinAVR is quite old, and these firmwares probably do compile just fine in that environment.

First, the original Adafruit Ice Tube Clock code defines several pointers in program memory which are not declared as constants. These pointers are alphatable_p and numbertable_p in fonttable.h as well as digittable_p and segmenttable_p in iv.c. Recent versions of GCC do not allow nonconstant program memory pointers, so each of these pointers must be declared constant. For example, the definition of alphatable_p should be changed to

Code: Select all | TOGGLE FULL SIZE
PGM_P const alphatable_p PROGMEM = alphatable;


Second, interrupt names in the original firmware have been deprecated and should be changed to their nondeprecated counterparts. Current and deprecated interrupt names are listed in the avr-libc documentation. Different firmwares may use different interrupts, but the following interrupt name changes were required for the Adafruit GPS firmware:

  • SIG_OVERFLOW0 -> TIMER0_OVF_vect
  • SIG_PIN_CHANGE2 -> PCINT2_vect
  • SIG_PIN_CHANGE0 -> PCINT0_vect
  • SIG_INTERRUPT0 -> INT0_vect
  • SIG_COMPARATOR -> ANALOG_COMP_vect

After these changes, the firmware should compile with the "make" command. The next step is to program the chip, so open the Makefile and make sure the avrdude programmer variables are set correctly. The following settings worked for me with with the Adafruit USBtinyISP:

Code: Select all | TOGGLE FULL SIZE
AVRDUDE_PROGRAMMER = usbtiny
AVRDUDE_PORT = usb


On the Ice Tube Clock, set the brightness to minimum. Unplug the clock and disassemble the case. Remove the side PCB and VFD tube. If using a USBtinyISP, disconnect the power jumper. Reconnect the clock's power adapter and connect your AVR ISP programmer, ensuring PIN 1 on the ISP cable and PIN 1 on the Ice Tube Clock ISP header match. Install the new firmware to the Ice Tube Clock's ATMEGA168V chip by executing the "make full" command.

Porting a firmware to the ATMEGA328P-PU is described in another thread.

Hope that helps. Happy hacking!
--John <www.jarchie.com/email>
jarchie
 
Posts: 423
Joined: Sun Jun 24, 2012 2:16 pm
Location: Santa Cruz, California, United States