I had a msp430 project that built and executed fine for a long time on ccs4, but when I tried importing it to ccs5, it no longer built. The complaint I got was
"../lnk_msp430fe4272.cmd", line 56: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".bss"
size 0x417 . Available memory ranges:
RAM size: 0x400 unused: 0x240 max hole: 0x240
where my linker script looks like:
MEMORY
{
SFR : origin = 0x0000, length = 0x0010
PERIPHERALS_8BIT : origin = 0x0010, length = 0x00F0
PERIPHERALS_16BIT : origin = 0x0100, length = 0x0100
RAM : origin = 0x0200, length = 0x0400
INFOA : origin = 0x1080, length = 0x0080
INFOB : origin = 0x1000, length = 0x0080
FLASH : origin = 0x8000, length = 0x7FE0
INT00 : origin = 0xFFE0, length = 0x0002
INT01 : origin = 0xFFE2, length = 0x0002
etc.
I saw in the map file that lots of new globals were being added by ccs5, so I scrimped and saved and removed globals until bss fit, and the next build I got:
"../lnk_msp430fe4272.cmd", line 61: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".cio"
size 0x120 . Available memory ranges:
RAM size: 0x400 unused: 0x3 max hole: 0x3
"../lnk_msp430fe4272.cmd", line 56: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".stack"
size 0x50 . Available memory ranges:
RAM size: 0x400 unused: 0x3 max hole: 0x3
"../lnk_msp430fe4272.cmd", line 55: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".sysmem"
size 0x4 . Available memory ranges:
RAM size: 0x400 unused: 0x3 max hole: 0x3
error #10010: errors encountered during linking; "RCMM_TEST.out" not built
Maddening!And of course I am in a hurry!
I imported this in the correct and approved manner. What is going wrong and how do I fix this?