The problem is that your avr compilers are too old. You need to be
using 4.1.2 or above.

Kevin

On Fri, May 30, 2008 at 2:00 AM, Xavier PATRIS <[EMAIL PROTECTED]> wrote:
>
> Hello everybody,
>
> I need assistance with avrdude.
> I work with TinyOS 2.0.2 on Ubuntu 8.04. Avrdude is installed form the the
> rpm package
> (http://www.isis.vanderbilt.edu/projects/NEST/tinyos-2.x-iris/tools/release/external-tools/linux/avrdude-5.4-1.i386.rpm)
> witch Alien.
> All my TinyOS files are up-to-date and checked out from CVS and it works
> fine with the MICA2 and MICAz motes.
>
> When I try to flash an IRIS mote with my MIB520 board (make iris install
> mib520,/dev/ttyUSB0/), I get the following error :
>
> 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
> -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"wcg\"
> -DIDENT_HOSTNAME=\"wcg-laptop\" -DIDENT_USER_HASH=0xda66ccefL
> -DIDENT_UNIX_TIME=0x483fb3beL -DIDENT_UID_HASH=0x0a90f557L
> -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
>             2230 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
> cp build/iris/main.srec build/iris/main.srec.out
>     installing iris binary using mib510
> uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -pm1281 -U
> efuse:w:0xff:m  --erase --upload if=build/iris/main.srec.out
> No part specified, supported devices are:
> AT90S4414
> AT90S2313
> AT90S1200
> AT90S2323
> AT90S2343
> AT90S2333
> AT90S4433
> AT90S4434
> AT90S8515
> AT90S8535
> AT90S8534
> ATmega8515
> ATmega8535
> ATtiny11
> ATtiny12
> ATtiny15
> ATtiny22
> ATtiny26
> ATtiny28
> ATmega8
> ATmega323
> ATmega32
> ATmega161
> ATmega163
> ATmega16
> ATmega162
> ATmega169
> ATmega103
> ATmega128
>
> It's look like that the make command tries to flash the IRIS mote with uisp
> rather than avrdude.
>
> Does somebody have an idea to fix the problem ?
>
> Thanks for your time.
>
> Kind,
>
> --
> Xavier PATRIS
> Research Engineer
>
> OPERA Department
> Université Libre de Bruxelles
> Av. F. Roosevelt 50 (CP 165/51)
> 1050 Bruxelles
> Belgium
>
> tel: +32 2 650 30 87
> e-mail: [EMAIL PROTECTED]
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
~Kevin

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to