SEQUENTIAL READ AND WRITE
> I finish the API on firmware. I did commit the firmware.
I did forget to implemented on last time, the sequential read and
writing of ReadByte and WriteByte commands. I finished the
implementation today and tested, it's ok, I did commit to SVN.
PROBLEMS WITH EEPROM MEMORY
I was having a problem, first byte to read or write after power up the
board were always wrong. I did figure that the problem were not on my
implementation of that read and write code but that memory may need to
have one first byte sent, so on initialization of memory I simple send
a byte with value 0 - it works, but I don't know why, I don't remember
to read something about on his datasheet. I wounder if were this kind
of problems I got with DataFlash memory....
In the end on EEPROM_Init() I just added:
/* Send one byte just to init ok the EEPROM -- tested on practice */
/* Without this, the first command will not work, be it read or write
*/
EEPROM_SLAVE_SELECT;
SPI_MasterTransmit (0);
EEPROM_SLAVE_DESELECT;
SOFTWARE
I were talking with Fernando Silva about the software. We will be
together soon to work on it.
First version of software will be a command line version. It will
validate the API, writing one image on the memory - for that we will
need to define the organization on the memory, my work will be to
document it on a wiki page.