On Wednesday 21 February 2007 05:52, Alex Mason wrote:
> Unfortunately, that produces the same effect; I have the MIB510 board
> configured in my makefile, however for completeness:
>
> [EMAIL PROTECTED] /opt/tinyos-2.x/contrib/alex/testPacket
> $ make micaz install,0 mib510,com1
> mkdir -p build/micaz
>     compiling TestPacketAppC to a micaz binary
> ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
> -DDEF_TOS_A
> M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c
> -board=mica
> sb -DIDENT_PROGRAM_NAME="TestPacke"
> -DIDENT_PROGRAM_NAME_BYTES="84,101,115,116,8
> 0,97,99,107,101,0" -DIDENT_USER_HASH=0x9343e616L
> -DIDENT_UNIX_TIME=0x45dc3f5eL -
> I/opt/tinyos-2.x/tos/lib/CC2420Radio TestPacketAppC.nc -lm
>     compiled TestPacketAppC to build/micaz/main.exe
>             9682 bytes in ROM
>              234 bytes in RAM
> avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
> avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
> set-mote-id build/micaz/main.srec build/micaz/main.srec.out-0 0
> set-mote-id: not found
> make: *** [setid] Error 127

In looking through the build support files for avr platforms, it looks like 
the program tos-set-symbols is used, not set-mote-id.  If set-mote-id is a 
tos1 utility, I'd bet your environment variables aren't set correctly for 
tos2.  Check the archives of the list; I and others I think have posted 
scriptlets that will allow you to switch between environments.  Or, you can 
re-review the tos2 install page and focus on the environment variables 
section.

All the best,
Steve
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to