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.

MSP430FR5989: Failed to read and write FRAM address above 0x10000

Part Number: MSP430FR5989

My main program runs in the space of 0x4400-0xe000.

I want to use above 0x10000 space to store parameters,how can I read and write this space correctly?

My code project is developed based on CCS. I have used the interface "__ data20_ read_ char" and "__ data20_ write_ char" to operate defined in "intrinsics. h", but occasionally read out the data and write different.

Are there any solutions or examples for this problem?

  • Repeat the call to"__ data20_ write_ char", it will cause restart occasionally.

    What is the reason?

  • Hello Yu,

    See section 5.11 in the MSP430 C/C++ compiler guide regarding #pragmas.  Don't forget this device has a memory protection unit (MPU).  If the section of memory is write protected, this may be the reason you get the resets.

    Also, see chapter 9 in the family users guide.

  • Hi Yu,

    It's been a few days since I have heard from you so I’m assuming you were able to resolve your issue.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

**Attention** This is a public forum