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
EEPROM write problems with dsPIC30F4013
Moderator: Benj
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: EEPROM write problems with dsPIC30F4013
No you don't.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?
Can you please post a simple program to demonstrate the issue so that we can have a look what's going wrong?
-
- Flowcode V4 User
- Posts: 54
- Joined: Mon Jan 19, 2009 11:43 am
- Has thanked: 41 times
- Been thanked: 9 times
Re: EEPROM write problems with dsPIC30F4013
Hi,
The following example works as a simulation, but doesn't work in practice.
Kind regards.
Leo
The following example works as a simulation, but doesn't work in practice.
Kind regards.
Leo
- Attachments
-
- 30F4013 EEPROM write_read 130321.fcf_pic16
- (10.5 KiB) Downloaded 303 times