Original thread: https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/485532/2272339#2272339
Hi Katie,
Thanks very much for posting this information.
I'm having a similar problem trying to use the FRAM as RAM for variable storage (e.g. logging). I'm using the MSP430FR69891, and CCS 7.2.0, with the MSP430 C Compiler v16.9.4.LTS. I noticed in one of the links you provided in your answer that the compiler was the newer 17.6.0.STS. Maybe the compiler version is the issue here?
I'm using the #pragma PERSISTENT feature, and the variable (a buffer) is placed in RAM, not in FRAM. However, when I place the buffer in a specific FRAM location (e.g. #pragma location = 0x4400) then the buffer is placed in FRAM. However, this obviously steps on the code, since now the code crashes.
Thanks in advance for any help with this issue.
Thanks,
Adam