Rahul, Please make sure that 1. the mote is properly mounted on the programming board 2. that your mote is indeed an iris (this may sounds stupid, but this has happened before...) 3. that /dev/ttyUSB0 is really your mib520 (i.e. do any of the leds blink when you're trying to program)
Janos On Fri, Dec 5, 2008 at 11:57 PM, Rahul Iyer <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to compile and install the blink application for an irismote > using MIB520 and tinyos-2.x > > I can get the application to compile. But I can't get it to install. I am > not sure what to do. Any suggestions? I have tried install.0, install.42 etc > - I get the same output... > > The output is below. Thanks, > > Rahul > > > Compiling seems to work: > -------------------------------------------------------------------------------------------------------- > $ make iris > mkdir -p build/iris > compiling BlinkAppC to a iris binary > ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris > -fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 > --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"BlinkAppC\" > -DIDENT_USERNAME=\"monday\" -DIDENT_HOSTNAME=\"Monday\" > -DIDENT_USERHASH=0x6fc7776cL -DIDENT_TIMESTAMP=0x493a0c69L > -DIDENT_UIDHASH=0x1df5c139L -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/iris/wiring-check.xml BlinkAppC.nc -lm > compiled BlinkAppC to build/iris/main.exe > 2268 bytes in ROM > 51 bytes in RAM > avr-objcopy --output-target=srec build/iris/main.exe build/iris/main.srec > avr-objcopy --output-target=ihex build/iris/main.exe build/iris/main.ihex > writing TOS image > > > > > installation gives all sorts of strange messages > ------------------------------------------------------------------------------------------------------------------------------ > > $ make iris install.0 mib520,/dev/ttyUSB0 > mkdir -p build/iris > compiling BlinkAppC to a iris binary > ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris > -fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 > --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"BlinkAppC\" > -DIDENT_USERNAME=\"monday\" -DIDENT_HOSTNAME=\"Monday\" > -DIDENT_USERHASH=0x6fc7776cL -DIDENT_TIMESTAMP=0x493a0c84L > -DIDENT_UIDHASH=0x12371ebeL -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/iris/wiring-check.xml BlinkAppC.nc -lm > compiled BlinkAppC to build/iris/main.exe > 2268 bytes in ROM > 51 bytes in RAM > avr-objcopy --output-target=srec build/iris/main.exe build/iris/main.srec > avr-objcopy --output-target=ihex build/iris/main.exe build/iris/main.ihex > writing TOS image > tos-set-symbols build/iris/main.srec build/iris/main.srec.out-0 > TOS_NODE_ID=0 ActiveMessageAddressC$addr=0 > Could not find data section in build/iris/main.exe, aborting. > Could not find symbol ActiveMessageAddressC$addr in build/iris/main.exe, > ignoring symbol. > Could not find symbol TOS_NODE_ID in build/iris/main.exe, ignoring symbol. > installing iris binary using mib510 > avrdude -cmib510 -P/dev/ttyUSB0 -U hfuse:w:0xd9:m -pm1281 -U efuse:w:0xff:m > -C/etc/avrdude/avrdude.conf -U flash:w:build/iris/main.srec.out-0:a > > avrdude: AVR device initialized and ready to accept instructions > > Reading | ################################################## | 100% 0.05s > > avrdude: Device signature = 0xffffff > avrdude: Yikes! Invalid device signature. > Double check connections and try again, or use -F to override > this check. > > > avrdude done. Thank you. > > make: *** [program] Error 1 > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
