[Tinyos-help] (Bug?) Cannot get Serial and Radio to work together!

Oliver Frietsch da-mailing-listen at friets.ch
Thu Jun 19 08:50:07 PDT 2008


Hello list,

please, help me! I urgently need to include both serial and radio active 
messaging (especially collection) into a single application. I'm using 
nescc 1.29 in XubunTOS with the latest TinyOS from CVS (Yes, I need to, 
as I want to use TOSSIM serial simulation...).

Even though I have running samples with collection OR serial, I got 
absolutely nowhere with both together so far. My small application is 
attached. Plase have a look at it, I can't see the problem at all :-(

The situation is: It does not compile for micaz or mica2. The message is:

/usr/bin/../lib/gcc/avr/4.1.2/../../../../avr/lib/avr5/crtm128.o: In 
function `__bad_interrupt':
../../../../crt1/gcrt1.S:124: undefined reference to `main'
make: *** [exe0] Error 1

It compiles for TOSSIM, but when I try to use it, all I get is:

Traceback (most recent call last):
   File "./RunTOSSIM.py", line 5, in <module>
     from TOSSIM import *
   File 
"/home/of/Workspace/nesC/FirstSteps/CollectionToSerial/TOSSIM.py", line 
7, in <module>
     import _TOSSIM
ImportError: 
/home/of/Workspace/nesC/FirstSteps/CollectionToSerial/_TOSSIMmodule.so: 
undefined symbol: sim_mote_set_start_time

Both messages look as if there was a problem outside my code, so maybe 
this is a general bug?!

Thank you,
Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CollToSerial.zip
Type: application/octet-stream
Size: 3679 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080619/f001b5bc/attachment-0001.obj 


More information about the Tinyos-help mailing list