Hi all!

I am trying to use deluge to load and run a modified version of Senselighttolog 
app which is capable of sending and storing sensor values on a mica2 
deployment. Everything works fine with deluge. The app when loaded executes 
commands to sense and send data as well as other commands in the app except 
reading from the eeprom and sending it over the radio. I noticed that when the 
program starts sensing it starts writing onto the golden image space and the 
golden image is lost as shown by the ping command. 

So I modified the following line in EEPROM.h 

EEPROM_LOGGER_APPEND_START = 16

to

EEPROM_LOGGER_APPEND_START = TOS_EEPROM_MAX_LINES >> 1

Now the golden image is safe except that the mote still doesn't respond to my 
read commands (I did modify the offset for the read functions in LoggerM to 
accomodate the shift). Is there a way around this? Or am I making a blunder 
somewhere?  Or is there anyway I can modify the senseLighttoLog app to use the 
new memory management format used by Deluge? Please help.

Phaneeth

ps: am using tinyos ver 1.1.15.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to