[Tinyos-help] problem compiling Blink to telosb platform
Ákos Maróy
darkeye at tyrell.hu
Fri Jun 1 05:32:06 PDT 2007
Aurelien,
> with the install crossdev from my overlay and then :
> crossdev -t msp430
> at one point it will stop and warn you to run some script. It will setup some
> links such that gcc will find binutils stuff, the stable msp430-gcc is really
> old...
I see...
actually, I'm not using 'stable' msp430-gcc, but the ebuilds made by
Matthias Transier here:
http://www.informatik.uni-mannheim.de/pi4.data/content/projects/msp430/
(I have updated them a bit...)
and they seem to work fine, as far as I can tell... but let me try your
crossdev as well...
> binutils is a separate package, the gentoo patchset for binutils includes
> this patch already ( version binutils-2.16.* only )
> ( see
> http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.16.1/ )
> mspgcc does not needs this patch
hm, let me see..
BTW, I started to create a howto here: http://gentoo-wiki.com/TinyOS
all comments & extensions welcome.
currently I'm stuch trying to download the Blink sample app to the mote:
$ make tmote install.0 bsl,/dev/ttyUSB0;
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= BlinkAppC.nc -lm
compiled BlinkAppC to build/telosb/main.exe
2618 bytes in ROM
55 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
writing TOS image
tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump
--target ihex build/telosb/main.ihex build/telosb/main.ihex.out-0
TOS_NODE_ID=0 ActiveMessageAddressC$addr=0
Could not find symbol ActiveMessageAddressC$addr in
build/telosb/main.exe, ignoring symbol.
Could not find symbol TOS_NODE_ID in build/telosb/main.exe, ignoring symbol.
installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out-0
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...
An error occoured:
Timeout
make: *** [program] Error 1
any ideas?
Akos
More information about the Tinyos-help
mailing list