[Tinyos-help] Compilation Error: section vectors overlap
Xiaohui Liu
whulxh at gmail.com
Wed Jun 17 20:51:50 PDT 2009
Hi all,
I came across the following compiling error on telosB:
"msp430-ld: region text is full (build/telosb/main.exe section .text)
msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps section .text
[00004000 -> 00010255]
msp430-ld: build/telosb/main.exe: section .vectors lma 0xffe0 overlaps
previous sections
make: *** [exe0] Error 1"
After some online search, it seems to be due to program oversize (see
4.3<http://enl.usc.edu/enl/trunk/tenet/doc/Recompile_Mote_Binary.HOWTO>).
Actually, this program is the same with my previous program except the
addition of around 100 lines of code. My previous program compiles
successfully and generates a result of
"compiled testAppC to build/telosb/main.exe
48564 bytes in ROM
5370 bytes in RAM"
I checked telosB datasheet, which indicates it has RAM of 10 KB. Anybody has
a idea on what's going wrong here? Is my program really too large? If yes,
is there any way to shrink the size of compiled file without changing the
program? I have already tries everything to make it smaller, yet still
encounter the same error.
BTW, what does ROM mean here? We can download our compiled program into
ROM!!??
Your attention is greatly appreciated.
-Xiaohui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090617/6489a0e7/attachment-0001.htm
More information about the Tinyos-help
mailing list