Talk:Emulating EEPROM in MSP430 Flash

Comments on Emulating EEPROM in MSP430 Flash -

Tonkabot said ...
This is exactly what I am looking for, I can eliminate the EEPROM. However, the code sample is incomplete - where are the low level functions : store_valid_bytes;     	// Store the other four valid bytes in the segment erase_flash_segment; restore_bytes; 		// Restore the other four valid bytes in the segment flash_write_byte;	// Write the value into the intended EEPROM address

If you can link where to find these functions that would be helpful.

--Tonkabot 15:49, 14 September 2010 (CDT)

Skranish said ...
WHAT? You want complete, usable, documented examples FROM TI?

TI does publish example code for many of their processors. Of course, you have to SCROUNGE for it. One such example set is SLAC123c.zip, which includes example C files for most, if not all, of the peripherals in the intended MCUs (MSP430F22x2, x4 series). There are a couple of source files in there for flash memory. THAT is about as close as you will get to a usable I/O library from TI. You may have to hunt for code for your specific MCU.

--Skranish 15:24, 8 February 2011 (CST)