Hi All,

I try to get Deluge T2 working on my Iris motes but with no success so 
far. Starting with only one mote connected to the PC with a mib520, I 
tried the following steps:

1. compile and install apps/test/deluge/Basestation
2. tos-deluge serial@/dev/ttyUSB1:57600 -p 0 ==> I can read the flash 
content, everything seems OK

3. compile and install apps/test/deluge/Blink ==> led0 is blinking
4. tos-deluge serial@/dev/ttyUSB1:57600 -p 0 ==> "ERROR: Timeout. Is the 
node a Deluge T2 base station?"

My PC is running Ubuntu 11.10 with avr-gcc 4.63, avr binutils 2.22, 
nescc 1.3.3 and tinyOS tree from CVS. CFLAGS always contains 
-DDELUGE_BASE_STATION or -DDELUGE_LIGHT_BASE_STATION.


After a lot of trials and errors, it appears that I can make 
deluge/Blink answer to the "tos-deluge -p"  if I change the 
-DIDENT_APPNAME flag. Actually, what seems to matter is the length of 
the application name. For example -DIDENT_APPNAME=\"BlinkAppC\" will not 
work while -DIDENT_APPNAME=\"BlinkAppC______\" does work.

I know it sounds weird. It makes me think about alignment issues in the 
FLASH...


Then, I tried to run the demo further. I checked that I can run the 
blink and reverse-blink demos and that I can ping them with "tos-deluge 
-p". Injecting an application with "tos-deluge -i" seems to be working. 
But the mote never reboots and executes the injected application (i.e., 
the "burn" script does not work).


Is Deluge T2 supposed to be working on iris motes ? Does somebody 
already bumped into similar issues ?


Thanks,

Regards,

yann

-- 
Yann Le Corre
Laboratory of Algorithmics, Cryptology and Security (LACS)
FSTC/CSC

UNIVERSITE DU LUXEMBOURG

CAMPUS KIRCHBERG, E206
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
T: +352 46 66 44 5795
[email protected] www.uni.lu www.uni.lu

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

Reply via email to