This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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?
Hi Johanna,
this is due to the change in compiler version. Also due to a couple issues which should be fixed in 4.0.2.
I am back in the office tomorrow, but as a quick fix you can do a couple things.
1- use the old compiler version if you did not remove it. In CCSv5 go to Window->preferences->Code Composer Studio->Build->Code Generation Tools. You can do two things here ... check your installed versions and also point CCS to the version from v4 (this is perfectly valid to do).
Give that a try. Tomorrow I can try to send you 4.0.2 offline if you wish to try it. Just send me a friend or conversation request and I can set that up.
best regards,
Lisa
hot dog! I think this fixed it. I can build. I can't test from here because I am home and can't move the jtag connector where I want to but the build works!
I will pursue the 4.0.2 request offline.
Thanks.
Hi Johanna,
great glad to hear. Just send a friend/conversation request if you would like 4.0.2 and all the best with development.
Best Regards,
Lisa