Microchip 25xx320, SPI bus, 32 kbits eeprom
This sketch read a single byte into a variable, then, the variable is added by two, the result is written into memory. Finally, byte is readed again. the values are printed to serial port too.
Hotboards_eeprom.cpp - Driver to control serial (spi) eeprom memories, The memories are compatibles amount the manufactures Microchip, Atmel and ST, and of course you can control Hotboards eeprom boards (http://hotboards.org)
You can buy this component at: http://hotboards.mitiendanube.com/productos/eeprom/
And also check our tutorial at Hotboards blog (only in spanish) : http://hotboards.org/index.php/es/blog/30-spanish/blog/boards/143-eeprom-con-arm-mbed