Hello,

When I try to set the mote I.D. at compile time of the "Surge" application,
I get an error from the set-mote-id batch file and from the .srec type file
extension created.
>From the directory, /opt/tinyos-1.x/apps/surge , I typed:

$ MIB510=COM1 make mica2 install.0
And got the following:

        compiling Surge to a Mica binary .......

        compiled Surge to build/mica2/main.exe
            15266 bytes in ROM
              1843 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
make mica2 reinstall.0 PROGRAMMER="STK"
PROGRAMMER_FLAGS="-dprog=mib510 -serial
=com1 -dpart=ATMega128 --wr_fuse_e=ff "
make[1]: Entering directory '/opt/tinyos-1.x/apps/surge'
    installing mica2 binary
set-mote-id build/mica2/main.srec build/mica2/main.srec.0.out 'echo
reinstall.0 | perl -pe ' s/^reinstall.//; $_=hex if /^0x/i;'`
avr-objcopy: build/mica2/main.exe.0.out: file format not recognized
Command "avr-objcopy --output-target=srec build/mica2/main.exe.0.out
build/mica2/main.srec.0.out" Failed at /usr//local/bin/set-mote-id line 105.
make[1]: *** [reinstall.0] Error 1
make[1]: Leaving directory '/opt/tinyos-1.x/apps/surge'
make[1]: *** [install.0] Error 2

Any ideas??

Mike Looney

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to