Looks like you have a space between the comma and the n - remove that
and it should work: make telosb install,1

HTH,

Michiel

 

From: [email protected]
[mailto:[email protected]] On Behalf Of
Siddharth Dagar
Sent: vrijdag 13 april 2012 12:21
To: [email protected]
Subject: [Tinyos-help] make telosb install, n not allotting id n to Mote

 


make telosb install, n should allot the id n to the mote. In my case,
irrespective of what n is, the id allocated is always 1. 
I wrote a very simple application where I set the Leds according to the
TOS_NODE_ID. The output shown is always the led0 (001 i.e. 1)
What could be the problem? 

I am using Tinyos-2.1.0 on Ubuntu 10.04
I've noticed in the tutorials, the output that the compiler throws on
the screen when the command make telsob install, n is issued, is
generally of the format - beginning, the nesc compiler output is shown,
then writing TOS image appears and after that there is a line that
starts with tos-set-symbols

tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump
--target ihex build/telosb/main.ihex 
build/telosb/main.ihex.out-1 TOS_NODE_ID=1 ActiveMessageAddressC$addr=1

In my case, this line does not appear when I compile and install my
application. It is in the this line that the TOS_NODE_ID is specified. 
I would be highly thankful if someone could help me out here.


Thanks,
Siddharth Dagar
Undergraduate Student, Dept. of Electrical  Engineering
IIT Kharagpur

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to