[Tinyos-help] TINY OS PROBLEM

Michael Schippling schip at santafe.edu
Tue Apr 3 12:23:18 PDT 2007


Not sure why this only happens with some of your devices but the
output you sent shows that you are trying to use the "dapa"
programmer:

     uisp -dprog=dapa...

Which is not right. Check out how to set it up to use the MIB-600...
In my case I set this in the MakeXbowLocal file:

     DEFAULT_PROGRAM=mib510
     MIB510=/dev/ttyS5

And there is some indication that this could work for your mib:
     DEFAULT_PROGRAM=eprb
     EPRB=10.1.1.238 ## use your net addr

There may be other env variables or make syntax that you can use
but I do my best to forget everything that I don't need to know...


Also when trying to use the java programs to communicate you need
to set your MOTECOM variable correctly. I'm not sure what that means
for the MIB-600, however it oughta be in the manual or google-able.
What you show is "serial at COM1:19200" which is the wrong device and
the wrong baud rate too boot.


And a little hint...
You don't need to do an image screen capture. When using the bash shell
you can simply redirect text output into a file like this:

whatever-command  >& file.txt

MS

Edward Yip wrote:
> Dear Sir/Madam,
>  I have face some problem with tiny os on developing my sensro netwprk, i hope 
> you can help me to slove the problem, thx.
> 
> My working env are:
> PC: Window XP Pro SP1 with Tiny-OS 1.1 installed
> Program Board: MIB-600
> Sensor: Mica MTS-300
> 
> 1. when i program "some" of my sensor, it will show error as atteched screen 
> cap, i have try to follow the instruction to slove that problem i found in the 
> internet, (http://www.tinyos.net/faq.html#SEC-54), but it seems that it still 
> cannot work, i have a total 3 sensor, 1 work properly but 2 cannot. please 
> help 
> me..
> 
> 2. I try to follow the instruction of the tutorial i found on net 
> (http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson8.html), 
> when i got 
>   % java net.tinyos.tools.BcastInject read_log 2
>   Sending payload: 65 6 0 0 0 2 0 0 0 0 0 
>   serial at COM1:19200: resynchronizing 
>   Waiting for response to read_log...
> i cannot receive any data, can you show me how to connect with my MIB-600?
> 
> 
> Thx!
> ~ Edward Yip ~
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list