[Tinyos-help] Tiny os 2.0 set-mote-id

David Gay dgay42 at gmail.com
Fri Dec 1 15:07:54 PST 2006


dgay at barnowl:~/motes/2.x/apps/Blink$ make -n mica2 install.11
...
cmd () { echo "$@"; $@; }; if [ x = x11 ]; then cmd cp
build/mica2/main.srec build/mica2/main.srec.out-11; else cmd
tos-set-symbols build/mica2/main.srec build/mica2/main.srec.out-11
TOS_NODE_ID=11 ActiveMessageAddressC\$addr=11 ; fi
...

Embedded in there, you'll see the 2.x incantation for change a mote's id:
tos-set-symbols build/mica2/main.srec build/mica2/main.srec.out-11
TOS_NODE_ID=11 ActiveMessageAddressC\$addr=11

The relevant symbol names have changed from 1.x

On 12/1/06, KURT PETERS <peterskurt at msn.com> wrote:
> Despite all that, I've tried:
> kurt at loki:/opt/tinyos-2.x/apps/Blink> tos-set-symbols build/micaz/main.srec
> build/micaz/main.srec.out 1
> Could not find symbol TOS_LOCAL_ADDRESS in build/micaz/main.exe, ignoring
> symbol.
> AND
> kurt at loki:/opt/tinyos-2.x/apps/Blink> tos-set-symbols --srec
> build/micaz/main.srec build/micaz/main.srec.out 1
> Could not find symbol TOS_LOCAL_ADDRESS in build/micaz/main.exe, ignoring
> symbol.
>
> after making the basic Blink program.
> Why isn't it looking for srec instead of exe?
>
> Oh, I'm using Suse 10.1 .
>
>
> Regards,
> Kurt
>
>
>


More information about the Tinyos-help mailing list