Firmware

Description

Issues around flashing livebox firmware HAH or Orange ready for jail breaking.

Forums

Hi,

I have a few 328 chips and would like to flash one with the latest firmware. Is there any instructions on this? I have looked around but can't find anything.

I have an arduino board and an FTDI cable, so could use one of a few approaches. I was thinking of burning the arduino bootloader and then just flashing the "liveboxHAH" code onto the chip.

I think my quiery is around the chip running at 7MHz, do I need to set some fuse bits? Or will I be able to get away without doing that?

Cheers

 

Dan

Forums

Hi!

Since there is a problem with AVR (RF) freezing only solveable with permanent rebooting the livebox running on the old bascom code,
I flashed the new code from brett an now I am on Build 287/3.4.

Since I am on the new AVR firmware, I have the following problem about every 12 hours (e.g. over night):

The CurrenCost device doesn't show any actual Watts on it's display any more, instead only  "--------- W".
The livebox again does not execute RF-changes (via twitter, googlecal or direct) any more.

Just powering off an on the CurrentCost device again and/or cut the serial connection to the livebox doesn't work.

The only way to solve the problem is to reboot/toogle power off an on again on the livebox!

It seens to me as if the CurrentCost device cannot receive Watts-Info from its external device any more, even after cutting off from livebox and rebooting, so maybe the livebox RF disturbes the communication between them? Aditionally I have to say, that I have the external antenna from the shop connected to the livebox.

After livebox rebooting, everything is fine again!

Thanks for your help!

Forums

The script to do a clean firmware update doesn't seem to work, see the output below :-

# /etc/init.d/update clean
Ramdisk initialisation ...
Connecting to hah.dbzoo.com (193.202.110.14:80)
build                100% |*******************************|     4  --:--:-- ETA
Update not necessary
# /etc/init.d/update force clean
Ramdisk initialisation ...
Connecting to hah.dbzoo.com (193.202.110.14:80)
build                100% |*******************************|     4  --:--:-- ETA
Shutdown XAP services
Connecting to hah.dbzoo.com (193.202.110.14:80)
fcp                  100% |*******************************| 46216  --:--:-- ETA
Connecting to hah.dbzoo.com (193.202.110.14:80)
Image.bin            100% |*******************************|  4952k 00:00:00 ETA
Erasing blocks: 78/78 (100%)
Writing data: 4952k/4952k (100%)
Verifying data: 4952k/4952k (100%)
Reboot
login as: root
root@192.168.1.15's password:
# ls /etc/plugboard/
dev            jeenode.lua    pvoutput.lua
hello.lua      plugboard.lua  samples
#

 

You can see that my own scripts still exist in the /etc/plugboard folder.  I also checked the HAH configuration setting in the web GUI and they were also the same.

Forums

Hi...

I'm a noob, so please be gentle....

I've got Filezilla running (bog standard install).... I've downloaded etc.tar and renamed it to 'u' and put copies in what I think are the right places (home dir for anonymous user, root, HAH subdir....) but I keep getting...

(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> 257 "/" is current directory.
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> TYPE I
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> 200 Type set to I
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> PORT 10,0,0,1,12,1
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> 200 Port command successful
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> RETR u
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> 550 File not found !!!!!

What am I doing wrong?

Thanks in advance....EJ
Forums

Hi,

after Derek gave the link to the liveboxHAH.pde Ardurino Sketch to me l tried to compile and burn it via the ardurino environment to the 328.

Unfortunately there is an error during compilation of the Sketch:

Is there anything to include before compilation?

Thanks for your help/manual for compilaton!

Markus

Forums

I answer to questions raised in the "/content/persistent-gcal-issues" post. I have seen the following.

was running 283 and 3.3avr with no issues.

To test google cal items i updated to 283.1 and noticed 1wire temp not registering and no RF.

this persisted after a reboot also so I updated AVR to 3.4 thinking the changes Brett had made regarding xon/xoff might need the new avr firware also. However this didnt fix it.

I reverted back to 283 still with 3.4 and all is good again.

 

Thanks,

Garry.

Forums

A couple of users, Garry and Dan, have been asking about the AVR firmware and Brett "suggested" I might give an update, so here goes....

Background:

There are some issues around the current BASCOM compiled version that are leading to problems with RF control.  I believe Garry and Brett have found a workaround that reboots the AVR giving back control of the RF equipment, see this post for more info :- /content/avr-reboot

 

Moving forward:

Brett has been rewriting this code "blind" over the last few weeks, by this I mean that he's been coding, but unable to actually test the code he's been writing.  However, we have now managed to complete some initial testing and have got some basic functionallity working, this includes relay control, 1wire temperature sensors and inputs. 

The RF component is currently being tested, but is proving difficult to debug.  I don't belive Brett has started on the I2C code yet.

Another advantage of this new code is that it will allow in-place firmware updates, as discussed here, /content/arduino-boot-loader.  This will greatly increase the flexibility of the HAH allowing easier expansion in the future.

The development of this code has been done using the Arduino IDE, hopefully this might make it more accessible to others, encouraging them to help with the development.

 Despite both Brett and Derek being extreamly busy at the moment, they are still able to look at future developments, the JeeNode being one, http://www.dbzoo.com/livebox/hah_jeenode.

I hope this give you an idea of what Brett and Derek have been doing recently and I'm sure they will add/correct anything that I may have got wrong,

 

Karl

Forums

Hi,

I have messed up! 

I have fiddled with the livebox IP settings and now cannot access it. How do I do a reset please?...

 

Dan

Forums

Hi,

ive been using hah for a wile now, and before i ask my question, i'd just like to add my thanks for not only providing the firmware, and the schema for me to design my own hah hardware, but for giving me the inspiration to take it to the next level (a thin client running debian [headless] with 4" touch screen).

Now that ive moved onto my thin client, i didnt just want to retire the livebox, so i considered putting OpenWrt onto it. Ive never tried OpenWrt, so i read up on the "how tos" for flashing the livebox, and of course they all assume you are running stock firmware, and havent already broken the redboot stuff.

What would be the easiest way for me to flash from hah to OpenWrt?

Has anyone done this?

Once again, very many thanks,

 

hsiboy  (long time lurker - first time poster).

 

Forums

Hi Chaps,

Has something changed since the Google Calendar wiki was written?

I have been trying to schedule some events and the box is not finding any calendar items. There are definately some present.

From the debug log I just get this

 

[dbg][parse.c:33:xapGetValueF] section=event key=start

[dbg][filter.c:136:xapCompareFilters] match=0

[dbg][googlecal.c:196:googlePeriodEventCheck] Google query params: start-min=2011-07-10T17:46:00Z&start-max=2011-07-10T17:47:00Z&singleevents=true

[dbg][googlecal.c:200:googlePeriodEventCheck] Google returns no events

[inf][tx.c:19:xapSend] send

 

I used to have a scheduled item for reboot that worked, but it not longer does. I have also tried to do the examples out of the wiki.

I am wondering if the BST / UTC time thing is an issue?

Any ideas?

Thanks in Advance.

 

Dan