Tool/software:
Hello everyone,
I'm currently working with the MSP430FR5994 development board, and I plan to implement a small file system on it. I would like to store some of the file system's meta data in the FRAM of the MSP430FR5994. Specifically, considering that the FRAM has 256KB, I want to use a continuous 100KB section to store this meta data. The data needs to be accessible for reading and modification, and it should remain intact after a power loss.
However, I'm facing some significant challenges in operating the FRAM. I have gone through an official TI document: https://www.ti.com/lit/an/slaa628b/slaa628b.pdf?ts=1725178347028, and there's an example on page 6 that seems to fit my needs (see the attached image).
Unfortunately, the example is not complete, and I'm still unsure how to implement it, nor can I verify if it truly suits my requirements.
Additionally, according to the example, I need to use #pragma DATA_SECTION(a, ".Image")
every time I declare a variable, which seems inconvenient for storing large data(like 100KB). I wonder if there is a better way to manage such a large amount of meta data?
I would greatly appreciate any advice or experience you can share. Thanks in advance for your help!