EEPROM emulation problems on MX1/MX2 parts

Post Reply
EmbeddedMan
Posts: 605
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

EEPROM emulation problems on MX1/MX2 parts

Post by EmbeddedMan » Mon Mar 24, 2014 6:09 pm

I've been investigating an EEPROM emulation failure on the existing MX1/MX2 based chipKIT boards (like the chipKIT Pi, Fubarino Mini and DP32). It turns out that the EEPROM emulation library that chipKIT uses (which is not based on Microchip's DEE) was not written to handle the smaller (and more numerous) flash blocks that these awesome little parts have.

The symptom of the problem is that the values that you read back from the EEPROM will be 0xFF even though you wrote valid values to valid address previously.

I've since fixed the problem (see GitHub issue #421) and will be merging the fixed code into the main code base in the next couple days. So the next test build of MPIDE/chipKIT will have this fix in it.

Please let me know if you experience any problems with EEPROM emulation.

*Brian

Post Reply