EEPROM write problems with dsPIC30F4013
Posted: Fri Mar 22, 2013 3:20 pm
Hi,
After re-programming the chip with a test programme I set up to test Eeprom read/write, I can write an integer value, e.g. 1234, to Eeprom mem location 1 and read it back. No problem. If I then write a different integer value, e.g. 2345, to the same location (mem location 1), the value read back is 0. I have to re-programme to be able to write to location 1 again. This happens at every memory location I try.
Has this got something to do with having to delete the memory location contents first before writing to it? If so, how do I delete the memory contents?
Kind regards.
Leo
After re-programming the chip with a test programme I set up to test Eeprom read/write, I can write an integer value, e.g. 1234, to Eeprom mem location 1 and read it back. No problem. If I then write a different integer value, e.g. 2345, to the same location (mem location 1), the value read back is 0. I have to re-programme to be able to write to location 1 again. This happens at every memory location I try.
Has this got something to do with having to delete the memory location contents first before writing to it? If so, how do I delete the memory contents?
Kind regards.
Leo