Hi!
actually there is no EEPROM support on the Due.
Graynomad, i see some difficult to develop a drop-in replacement of EEPROM lib because:
- To modify a single byte of flash memory you are forced to rewrite an entire "page", (that is 256 bytes).
- Before writing a "page" of flash memory you need to erase it, so you should read temporary in RAM the old flash content, start erase, apply the changes in ram and finally write the updated page.
Said that, the idea of using the Flash memory is not bad, and using the EEFC device of SAM3X should be not too hard to create a simple FLASH library, maybe with a slightly different API from EEPROM that take in consideration the limits above.
C