Hi,
I am trying to write some dynamic data to program eeprom. The first time the code calls for this after programming, it works as intended. any subsequent calls write garbage into the memory. I'm wondering if the programming clears some control bit that does not get cleared after the first write is performed. the 252 data sheet is pretty clear on the process to write and read from program memory. The CCS data concerning this function is not very in depth.
Any help would be greatly appreciated
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Tue Nov 23, 2004 6:57 am
So, what do you want us to do? You don't give us a lot to work with...
What compiler version are you using? There was a bug in some recent versions.
Post a small program that shows your problem.
eaton
Joined: 02 Oct 2004 Posts: 22 Location: cleveland
Posted: Tue Nov 23, 2004 1:04 pm
the obvious problems are always the hardest. A block erase is required before write_program_eeprom() will successfully write into program memory.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum