Reply by adamouhabou August 26, 20112011-08-26
Thanks guys,

Your answers helped me figure out the problem.
The program was loaded on the uC using a "wrong" memory map.
I had to add the linker option -T, giving the scriptfile containing the correct memory map (That file is by the way named msp430x1611.x).
It then all went well.

Thanks,
Adam.

Beginning Microcontrollers with the MSP430

Reply by david_mcminn August 25, 20112011-08-25
If that error is suggesting that your text section starts at address 0xFC00 then is it possible that the sections are defined incorrectly?

Maybe you have used the wrong processor variant in your linker options, or maybe the one you have used is unknown?

Alternatively you might have a large amount of constant data that has push the text section that far up through memory?
Reply by Hugo Brunert August 25, 20112011-08-25
At the end of your link map, look at all the sections, it will tell you
the size of each. That will help you see where or what overflowed it.
Reply by adamouhabou August 24, 20112011-08-24
Hello,

I'm having a problem compiling a program for a tmote sky (featuring the MSP430F1611). I have the following error:

/opt/msp430-gcc-4.4.5/lib/gcc/msp430/4.4.5/../../../../msp430/bin/ld: tmote-sky.elf section `.text' will not fit in region `text'
/opt/msp430-gcc-4.4.5/lib/gcc/msp430/4.4.5/../../../../msp430/bin/ld: section .vectors loaded at [000000000000ffe0,000000000000ffff] overlaps section .text loaded at [000000000000fc00,000000000001015d]
/opt/msp430-gcc-4.4.5/lib/gcc/msp430/4.4.5/../../../../msp430/bin/ld: region `text' overflowed by 382 bytes

I clearly haven't reach the uC memory capacity. Why is there no room for the remaining 382B? What would be a solution?

Thanks a lot!

Adam.