hi
I need to save some parameter in MSP430G2553. I may have to simulate a EEPROM with Flash. Is there any sample code for me to reference?
Many thanks.
Anson
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.
hi
I need to save some parameter in MSP430G2553. I may have to simulate a EEPROM with Flash. Is there any sample code for me to reference?
Many thanks.
Anson
You can write during run-time in flash memory of MSP430G2xx. There are TI open source example for this (msp430g2xx3_flashwrite_01.c).
http://www.ti.com/lit/zip/slac485
Similar topic...
https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/259511
You don't need to erase segment every time when parameter is updated. Segment can be erased only when it is full, and for updating parameter can be used incremental address, new value at new address (erased location 0FFFFh) from segment begin to segment end.
If you don't want to use erase at all, but still want to use MSP430, there is FRAM family.
**Attention** This is a public forum