Anyone noticed there's just been a sudden flurry of newbies asking this same question - did a course tutor somewhere just set some homework by any chance?
Cliff the cynic
(edit: just added six ! for Smiley's benefit!)
PS I'm tempted to use some of my library SPI-EEPROM routines to make a solution for this, post it here and then sit back and wait for the moment that everyone's project is marked by the tutor only to find they're all totally identical - mwahaha! :)