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.

1k memory flash - Program memory reduction

Other Parts Discussed in Thread: MSP430F1101A

Hello guys,

I have a small project that I wrote for the MSP430F1101A (1k flash memory).

unfortunately, after all code optimizations that I could think of my program do not fit to the size of the chip's program memory size.

I am using IAR, and I am compiling C-99 with High level optimization (according to size).

Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment CODE. Unable to place 18 block(s) (0x3f0 byte(s) total) in 

0x3c8 byte(s) of memory. The problem occurred while processing the segment placement command "-P(CODE)CODE=FC00-FFDF", where at the 

moment of placement the available memory ranges were "CODE:fc18-ffdf"

Attached, My code, I will be happy if someone has suggestions for optimizing my code.

Thanks ahead,

Erez Shaul.

8105.Copy of TI prog 1.1.xx.zip

**Attention** This is a public forum