Accessing microcontroller

4 replies [Last post]
BodgeIT
Offline
London, United Kingdom
Joined: 10 Jun 2010

Hi, I'm trying to get access to the eeprom dump of microcontroller using this command:

microcom -s 115200 /dev/ttyS0

When I enter this, my system becomes unresponsive to keyboard and starts displaying all the 1wire outputs.
I can't even CTRL C, but have to close the session.

My plan was to add a few more RF sockets.
Any suggestions
Cheers
Gary
brett
Offline
Providence, United States
Joined: 9 Jan 2010
The command you need is

The command you need is Ctrl-X to exit from the microcom (not Ctrl-c).

You can add new sockets by modifying the /etc/xap-livebox.ini file and adjusting the [rf] section, these will be sent to the livebox with the xap-livebox adapter restarts.  You can restart XAP components with

/etc/init.d/xap restart <component>

I think in the last revision of the M8 firmware to get the 1-wire temperate device to report decimal fractions of a degree we needed some additional code space so the debug and interactive capabilties where not compiled in.  Checking the source I see this is true.

Unfortunate my wiki notes still reflect that you can interact with the M8.  I suspect it is actually talking to you its just not echoing anything you type.

Brett

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
More RF codes

Brett is right when he says that the current build of code on the AVR doesn't have the EEPROM dump command. That said, you don't actually need it. This was put in place as a debug aid when the PCB was being tested without the Livebox. 

I have a little program that can generate BBSB/Home Easy codes to go into the 'extra slots' in the xap-livebox.ini file. Do drop me a line if you would like a copy of this.

Clearly, [RF] positions 1-4 are already specified in the default .ini file. If you specify more here, you can definately send xAP commands that will transmit these. However, I'm not so sure if the UI can drive more than the first four entries.

Derek.

BodgeIT
Offline
London, United Kingdom
Joined: 10 Jun 2010
Hi Derek,Would love that

Hi Derek,

Would love that little programme please.  Just to about to expand system to 6 RF nodes.

Already tested the GUI, just by adding in an entry to the ini, the UI reflects it.  Brilliant!

Can you send it to my gmail account?

 

Thanks

Gary

brett
Offline
Providence, United States
Joined: 9 Jan 2010
There is a WEB UI bug that

There is a WEB UI bug that will be fixed in build 251 that will prevent you from using the UI to toggle relays > 4.  Sending xAP messasge to explicity turn them on/off will work, and the correct state will be reflected in the webserver page on a refresh.  Its just that you can't control it from the web page.

See http://code.google.com/p/livebox-hah/issues/detail?id=8

Hardware Info