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.

MSP430g2252 "#10099-D program will not fit into available memory." (but it fits and runs)!?

Other Parts Discussed in Thread: MSP430G2252

Hello

I'm working on a little projects, I started out with A 2452 (8k), but after optimization to code was under 1950bytes, so i put in a 2252 (2k).

when i tried to build it i get this error: (using up to date version of CCS) 

Description Resource Path Location Type
#10099-D program will not fit into available memory. placement with alignment fails for section ".text" size 0x828 . Available memory ranges: FLASH size: 0x7e0 unused: 0x7e0 max hole: 0x7e0 lnk_msp430g2252.cmd /small light line 61 C/C++ Problem

But I clicked proceed and it uploaded the program it was 1914byte, and it runs perfectly, no errors whatsoever... 

But i tried removing parts of the program, it came down to 1300bytes, but i still got that error massage.

Any idea why i get this ? and how to do something against it?

**Attention** This is a public forum