Hi!
On Thu, 3 Sep 2009, [email protected] wrote:
> Hi Folks!
>
> I'm new to deluge and having some trouble with it. I did read several
> posts on this list on similar problems but unfortunately that didn't
> help me. According to the guide [1] I installed pySerial
The [1] is deprecated. The latest version is here:
http://docs.tinyos.net/index.php/Deluge_T2
> (pyserial-2.5-rc1) as well as the tools from cvs.
Beside the tools please also make sure you have the latest version
of the tinyos.
> Next thing to do is
>
> cd $path/tinyos-2.x/tos/lib/TOSBoot
> make micaz
>
> Here I'm wondering why I'm not installing it directly on the mote (make
> micaz install.0 mib510,/dev/ttyS2) but I proceed according to the
> tutorial.
When the 'BOOTLOADER=tosboot' is in application's Makefile the TOSBoot
will be automatically uploaded to the mote. If you watch what happens when
you do 'make ... install' you will see the two phases. :-)
> Now is Blink's turn:
>
> cd $path/tinyos-2.x/apps/tests/deluge/Blink
> ./burn /dev/ttyS2 micaz
>
> I've seen posts using another format (./burn 2 /dev/ttyS2 micaz) - is there a
> difference?
Please take a look at the manual from the wiki. The syntax for the burn
script is different now.
> Anyways, blinks gets compiled with one warning:
>
> /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
> "*** LOW POWER COMMUNICATIONS DISABLED ***"
>
> Then it gets flashed on the mote and the LED starts blinking as it should.
> When it's finally time to inject the DBLINK_REVERSE Blink to the mote I get:
>
> writing TOS image
> =============================== Upload the image
> ===============================
>
> Flushing the serial port..
> Checking if node is a Deluge T2 base station ...
> ERROR: Timeout. Is the node a Deluge T2 base station?
>
> The following base-station-reboot has the same problem.
> Since I'm sharing my work-environment upgrading anything (that works) is
> strongly discouraged. Therefore I'd like to refrain from upgrading
> everything blindly. New versions usually bring new grief ...
I'm not sure to what extend the sharing goes in your case. I'm running
different versions of tinyos in different accounts by installing the
nesc and msp430/avr tools globally and then checkout the tinyos sources in
~/local/src. Then I compile and install the tool by running the
./Bootstrap script followed by:
./configure --prefix=$HOME/local/bin
make
make install
The environment (PATH, TOSROOT, TOSDIR, MAKERULES) needs to also be
properly set.
--
Razvan ME
> Also the guide did not mention specific versions to be avoided or being
> necessary.
> So is there hope still - I'd really be grateful for your advice on this.
>
>
>> rpm -qa
> avr-gcc-4.1.2-1
> nesc-1.3.0-1
> deputy-1.1-1
> avr-binutils-2.17tinyos-3
> avr-libc-1.4.7-1
> tinyos-tools-1.3.0-1
> tinyos-2.1.0-2
>
> and
>
> pyserial-2.5-rc1
>
> [1] http://www.tinyos.net/tinyos-2.x/doc/html/deluge-t2-manual.html
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help