Hi, Anyone successfully access Temic 89C51RD2's internal EEPROM? I have this unsigned char xdata * data pEEAddr = 1; void WriteOne(unsigned char val) { unsigned char data dVal = val; DisableGlobalInterrupt(); MapEE(); *pEEAddr = dVal; UnMapEE(); EnableGlobalInterrupt(); } Somehow that did not work reliably. I examined the assembler output and it looked ok (one movx instructure between the MapEE() and UnMapEE() macros). Thanks for any insight. Andy
View all questions in Keil forum