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

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Thu Aug 7 18:18:24 PDT 2008


Hi!

On Fri, 8 Aug 2008, Gaurav Chandwani wrote:

> Hi Razvan,
>
> I'm surprised but glad that it works, i have tried many times after my mail
> and it doesnt work for me ...may be there is problem with my cygwin
> environment ..would try again ..
> can you give the result of rqm -qa on your cygwin envi and other
> configuration  ?

Here is what 'rpm -qa' says:

 	$ rpm -qa
 	avr-binutils-2.15tinyos-3
 	msp430tools-base-0.1-20050607
 	msp430tools-gcc-3.2.3-20050607
 	avr-gcc-3.4.3-1
 	msp430tools-python-tools-1.0-1
 	msp430tools-binutils-2.16-20050607
 	msp430tools-libc-20050308cvs-20050608
 	$

I compiled by hand nesc 1.3 and the tinyos tools.

> I have the latest code from CVS component tinyos-2.x .. and nesC 1.2.8
> seemed sufficient to compile :) there are talks abt tinyos-2.1 but i dun see
> any on the cvs tree ..

The 2.1 is in the CVS. It has the tag release_tinyos_2_1_0_0. An easier 
way to see it is here:
 	http://hinrg.cs.jhu.edu/git/?p=tinyos-2.x.git

> am i missing something ?

I don't see anything missing but I have very-very limited experience with 
TinyOS in Windows.

> thanks anyways for taking the pain of setting the envi and reproducing my
> case ..

You're welcome. :-) I'm sorry I wasn't able to solve the problem. :-(

--
Razvan ME

> On Thu, Aug 7, 2008 at 8:57 PM, Razvan Musaloiu-E. <razvanm at cs.jhu.edu>wrote:
>
>> Hi!
>>
>> On Thu, 7 Aug 2008, Gaurav Chandwani wrote:
>>
>>  Hi Razvan,
>>>
>>> I have nesc-1.2.8b-1 ....
>>> Below you can see all the rpms that i have installed ..
>>> why r u installing avr rpms's ? i m using a telosb mote and not
>>> mica, m sry if i missed mentioning it clearly ..
>>>
>>
>> I tried burn from apps/test/deluge/Blink for telosb and it worked (albeit
>> excruciating slow :|). The command I used for a more on COM11 was this:
>>        ./burn 10 /dev/ttyS10 telosb
>>
>> I'm surprised that you managed to compile the latest CVS tree with the nesc
>> 1.2.8. I though the nesc 1.3 is a must.
>>
>> --
>> Razvan ME
>>
>>
>>  $ rpm -qa
>>> tinyos-tools-1.2.2-1
>>> make-3.80tinyos-1
>>> tinyos-javacomm-1.0.0-1
>>> moteiv-tools-0.1-20060808
>>> msp430tools-base-0.1-20050607
>>> msp430tools-libc-20050308cvs-20050608
>>> msp430tools-gcc-3.2.3-20050607
>>> tinyos-tools-1.2.4-2
>>> msp430tools-libc-20060208cvs-20060208
>>> tinyos-1.1.15Dec2005cvs-1
>>> tinyos-moteiv-2.0.4-1
>>> msp430tools-python-tools-1.0-1
>>> msp430tools-binutils-2.16-20050607
>>> nesc-1.2.8b-1
>>> tinyos-2.0.2-2
>>>
>>> Thanks for your quick response,
>>> Best Regards,
>>> Gaurav
>>>
>>> On Wed, Aug 6, 2008 at 8:57 PM, Razvan Musaloiu-E. <razvanm at cs.jhu.edu
>>> >wrote:
>>>
>>>  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
>>>>
>>>>
>>>>>
>>>>>  has anybody faced a similar problem ? i couldnt find any clue from the
>>>>>> mailing list ..
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>
>>>
>>
>


More information about the Tinyos-help mailing list