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.

MSP430-GCC-OPENSOURCE: Missing .lowtext section definitions resulting in ISR's being placed in RAM rather than ROM

Part Number: MSP430-GCC-OPENSOURCE
Other Parts Discussed in Thread: MSP430FR5964, MSP430FR5994

I had an earlier problem in CCS 9 (or more specifically the GCC includes provided with this)  where ISR's in a MSP430FR5964 were being placed in RAM rather than ROM. This was due to a missing .lowtext SECTION definition in the .ld files for the 5964 and a number of other MSP430 processors.

I've just been in the process of upgrading to CCS 10.4, and can confirm that the problem still exists with this release. I've checked the 5964, 5994 and a few of the other processors mentioned, and it appears to impact the same group of processors.

As previously, the fix is relatively simply, and simply involves adding .lowtext to the sections collected for inclusion in ROM (or FRAM in this case). I've simply picked the .ld from a processor that correctly includes the definition, and modified the msp430fr5964.ld to follow the same pattern.

Nothing to be done here - it's just for posterity if someone else trips over this. The issue is already raised from CCS 9. As far as I know, it only impacts the GCC toolchain.

Andrew

**Attention** This is a public forum