- Sat Nov 25, 2006 10:26 am
#22438
Hi,
I've been using a code I got for accessing the eeprom on the easyweb board, however it is very inconsistent. I can read fine, however, the writing gives me a lot of trouble, sometimes it will write and sometimes it won't and I have no idea on what it depends on.
I'll have a code like
EE_wr_byte(5, tercer[0]);
EE_wr_byte(6, tercer[0]);
EE_wr_byte(7, tercer[0]);
EE_wr_byte(8, tercer[0]);
EE_wr_byte(9, tercer[0]);
EE_wr_byte(10, tercer[0]);
and it'll write in every space except the "seven", and if I change the value of tercer[0] or even the name, it'll write into that space. I have no idea of what could be the problem, any help would be appreciated.
I've been using a code I got for accessing the eeprom on the easyweb board, however it is very inconsistent. I can read fine, however, the writing gives me a lot of trouble, sometimes it will write and sometimes it won't and I have no idea on what it depends on.
I'll have a code like
EE_wr_byte(5, tercer[0]);
EE_wr_byte(6, tercer[0]);
EE_wr_byte(7, tercer[0]);
EE_wr_byte(8, tercer[0]);
EE_wr_byte(9, tercer[0]);
EE_wr_byte(10, tercer[0]);
and it'll write in every space except the "seven", and if I change the value of tercer[0] or even the name, it'll write into that space. I have no idea of what could be the problem, any help would be appreciated.