This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with AT89C51ED2 --EEPROM!

Hi Keil,

I have written the follwing code for writing the byte in EEPROM in ED2. The Problem is BUSY flag is not being cleared.

while(!(EECON & 0x01)) ;
EA = 0;
EECON |= 0x02;

XBYTE[0X0055] = 'C';

EECON |= OxOO;
EA = 1;

Please provide the suggesion.

Parents Reply Children
No data