Page 1 of 1

Eprom Problem

Posted: Fri May 11, 2012 12:47 pm
by wayne millard
Hi Team,

Is there a problem with writing to Eprom on a 18F4520 i can read the data but when i write data then read what is there i always get 255.

Thanks :D

Re: Eprom Problem

Posted: Fri May 11, 2012 2:04 pm
by Benj
Hi Wayne,

Hm possibly :) I will see if I have one of those devices available for testing.

Have you tried writing to different locations to see if it is just a problem with a single address location?

Re: Eprom Problem

Posted: Fri May 11, 2012 2:19 pm
by Benj
Just had a go with a 18F2520 device and the EE memory is working fine with FC v5.2.

I've also checked that the Flowcode definitions for the 2520 match that for the 4520 device.

Here is the test program I used. Should be quite good for testing the EE memory on any device as long as you have a LCD connected to the system.
EEPROM_Test.fcf
(10.5 KiB) Downloaded 275 times