On Jun 5, 2007, at 8:31 AM, Ákos Maróy wrote:
when I try to compile the MultihopOscilloscope sample app from the
TinyOS 2.0.1 samples, I get the following error:
$ make telos install.0 bsl,/dev/ttyUSB0
mkdir -p build/telosa
compiling MultihopOscilloscopeAppC to a telosa binary
ncc -o build/telosa/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosa
-fnesc-cfile=build/telosa/app.c -board=
-I/usr/src/tinyos-2.x/tos/lib/net/ -I/usr/src/tinyos-2.x/tos/lib/
net/lqi
MultihopOscilloscopeAppC.nc -lm
msp430-ld: address 0xb99 of build/telosa/main.exe section .bss is not
within region data
msp430-ld: address 0xb99 of build/telosa/main.exe section .noinit
is not
within region data
make: *** [exe0] Error 1
It's allocating too much RAM for the telosa.
Compiling for telosb, it looks like the app is allocating 3K of RAM.
2K of this is in PoolP, which is the component that allocates packets
for queues. The default forwarding queue for routing is 12 (it should
probably be smaller), the UART queue is 10, and most importantly, the
debugging system has a queue of 20. The first is defined in tos/lib/
net/Ctp/CtpP.nc while the second and third are defined in
MultihopOscilloscopeAppC.nc.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help