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.

MSP430FR5994: FRAM cannot be written

Part Number: MSP430FR5994
Other Parts Discussed in Thread: MSP430FR5969

Hi Team,

There's an issue from the customer need your help:

I want to write data at specific area in FRAM.

I defined the start address:

#if defined (__TI_COMPILER_VERSION__)
#pragma PERSISTENT(FRAM_TEST_START)
uint32_t FRAM_TEST_START =
#elif defined (__IAR_SYSTEMS_ICC__)
__persistent uint32_t FRAM_TEST_START =
#elif defined (__GNUC__)
__attribute__ ((section (".persistent"))) uint32_t FRAM_TEST_START =
#endif
0x5500;

then start to write:

uint32_t * FRAMCtl_A_Memory32 (uint32_t *value,uint32_t *framPtr,uint16_t count)
{
uint16_t i=0;
while (count> 0)
{
*framPtr = i;
i++;
count--;
framPtr++;
}
return framPtr;
}

then I found the register value doesn't change.

also in TI's example it doesn't change too.

I checked TI's example on msp430fr5969 and I found it doesn't change too.

Could you help check this case?

Best Regards,

Ben

**Attention** This is a public forum