[Tinyos-help] Unable to install Blink application to irismote using MIB520 contoller and tiny os 2.x

Rahul Iyer rahulaiyer at gmail.com
Mon Dec 8 19:54:12 PST 2008


I'm pretty sure its an Iris mote.
I tried installing tinyos1.x using the windows installer - but I get  
flash errors.
In addition, it appears that I can't compile directly for iris. The  
only options I am allowed is mica, mica2 and mica2dot. I dont  
understand why I can't compile for micaz or iris.
Furthermore, the installer doesn't provide files for the intelmote2  
either!
Do you know where I can find complete instructions for installation to  
compile on iris and intelimote2?
My Iris mote is directly connected to the MIB520CA board, and from  
there to the computer. Do yout think I need to connect it to any other  
boards too?
Thanks

Rahul

>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 7 Dec 2008 14:08:19 -0600
> From: "Janos Sallai" <sallai at isis.vanderbilt.edu>
> Subject: Re: [Tinyos-help] Unable to install Blink application to
> 	irismote	using MIB520 contoller and tiny os 2.x
> To: "Rahul Iyer" <rahulaiyer at gmail.com>,	"tinyos help"
> 	<tinyos-help at millennium.berkeley.edu>
> Message-ID:
> 	<18201740812071208k511f7524k97dae9e48b82e4ab at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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 <rahulaiyer at gmail.com>  
> 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
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081208/73a06128/attachment.htm 


More information about the Tinyos-help mailing list