Check with dmesg if the mib520 is properly recognized. Also, check if
the /dev/ttyUSBx devices are created and that the access rights are
set up such that you have read and write rights.

Janos

On Wed, Apr 14, 2010 at 9:41 AM, Gary Lee <[email protected]> wrote:
> Hi,
>
> I am using Ubuntu 9.1 and TinyOS 2.1.0, mib520 and one iris mote.
>
> here is the output whn I try to program this iris mote with Blink
> application
>
> =============
>
> g...@ubuntu:/opt/tinyos-2.1.0/apps/Blink$ make iris install,1
> mib510,/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=\"bosun\" -DIDENT_HOSTNAME=\"ubuntu\"
> -DIDENT_USERHASH=0x0ccae4e2L -DIDENT_TIMESTAMP=0x4bc5d2b6L
> -DIDENT_UIDHASH=0xecb88db2L -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-1
> TOS_NODE_ID=1 ActiveMessageAddressC$addr=1
> 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-1:a
> avrdude: stk500_recv(): programmer is not responding
> make: *** [program] Error 1
>
> ==========\
>
> Anyone can help me with it?
>
> Thanks a  lot,
>
> Gary
>
>
> _______________________________________________
> 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

Reply via email to