Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/13/05 12:52
Read: times


 
#93389 - So..
Responding to: ???'s previous message
For both read and write you need to:

1) Wait for EECON bit0 to clear
2) Disable any interrupts that address xdata space
3) Set EECON bit1
4) Read/Write byte as appropriate
5) Clear EECON bit1
6) Reenable disabled interrupts

This is all unusually well explained in the datasheet.

There is no need to use assembler, stick to 'C'.

List of 5 messages in thread
TopicAuthorDate
AT89c51ED2 EEPROM problem.            01/01/70 00:00      
   what is this            01/01/70 00:00      
      re:what is this.            01/01/70 00:00      
   Also Tried            01/01/70 00:00      
      So..            01/01/70 00:00      

Back to Subject List