[Tinyos-help] ERROR: Timeout. Is the node a Deluge T2 base station?

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Wed Aug 6 11:57:09 PDT 2008


Hi!

On Wed, 6 Aug 2008, Razvan Musaloiu-E. wrote:

> Hi!
>
> On Wed, 6 Aug 2008, Gaurav Chandwani wrote:
>
>> Hi,
>> 
>> I am trying to work with deluge/Blink/ ...
>> To run the ./burn script, had to change the port variables(found on mailing list) ..
>> $(PPORT) to 4  (mote connected to COM5)
>> and
>> $(CPORT) to /dev/tty$4 ..
>> are these changes planned to be incorporated in the CVS ?
>> 
>> I face a problem with ./burn script. It runs fine until
>> echo  ============================= Compile a new Blink ==============================
>> CFLAGS=-DBLINK_REVERSE\ -DDELUGE_BASESTATION make ${PLATFORM}
>> 
>> after this ...
>> echo =============================== Upload the image  ===============================
>> ${TOS_DELUGE} /dev/tty$4 ${PLATFORM} -i 1 build/${PLATFORM}/tos_image.xml
>> 
>> gives me *"ERROR: Timeout. Is the node a Deluge T2 base station?"* , cygwin 
>> hangs,
>> Ctrl + C etc nothing works ..i have to close the window and open another 
>> one.
>> 
>> $ tos-deluge /dev/tty$4 telosb -i 1 build/${PLATFORM}/tos_image.xml
>> Flushing the serial port..
>> Checking if node is a Deluge T2 base station ...
>> ~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺  ??  ♠ S♠ vo~
>> ~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺  ??  ♠ S♠ vo~
>> ~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺  ??  ♠ S♠ vo~
>> ~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺  ??  ♠ S♠ vo~
>> ~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺  ??  ♠ S♠ vo~
>> ~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺ ??  ♠ S♠     vo~~D☺  ??  ♠ S♠ vo~
>> ~D☺ ??  ♠ S♠     vo~ERROR: Timeout. Is the node a Deluge T2 base  station?
>> 
>> i am using latest cygwin, cvs code, have python 2.4.4 and also pyserial,
>> have done the "Tools Installation" part of "Deluge T2 - Programming maual".
>
> I'm not a regular windows/cygwin user and I need some help to recreate your 
> setup in order to reproduce the problem. Can you please tell which version of 
> nesc are you using?
>

I compiled by hand the nesc-1.3.0 (the version David Gay just announced) 
and then I installed the avr rpms indicated here:
 	http://docs.tinyos.net/index.php/Installing_TinyOS_2.0.2#Manual_installation_on_your_host_OS_with_RPMs

When I compiled the Blink I get a funky error about missing inttytes.h (I 
have it in /usr/include/) and then a long list of errors related to 
__nesc_ntoh_*. :-( Do you know how to solve this?

--
Razvan ME

> --
> Razvan ME
>
>> has anybody faced a similar problem ? i couldnt find any clue from the
>> mailing list ..
>> 
>> Thanks
>> 
>> --
>> 
>> ---------------------------------------------------------------------------------------------------------------------
>> To accomplish great things, we must not only act, but also dream; not only
>> plan, but also believe.
>> - Anatole France


More information about the Tinyos-help mailing list