89S8252 is having internal 2kb of EEPROM,that is defined in the xdata memory space i want to create a structure having the following content,But to write in that memory it require some different method. xdata struct EEPROM {
unsigned int Last_Data; struct EEPROM xdata *Node; };
struct EEPROM xdata * xdata p _at_ 0x0000; but if i am simulating this program data is not in the EEPROM but it is in the xdata RAM space
I got ur point,If I am defining the EEPROM in Xdata using the WMCON SFR, and i want to do the following operation
unsigned int xadat temp; temp = 0xAAAA;
In this case if u see the timing diagram of the xdata memory write,it is one machine cycle,but the EEPROM is takinh more time to complete write operation,so how i will add the wait state in this operation
uVision simulation for this part is described here: http://www.keil.com/dd/vtr/2982/1368.htm
what i have to do if my memory is slow than the microcontroller speed,how to add the wait states in memory access?
What has this got to do with simulation?
If the EEPROM is internal to the microcontroller, how can this be a problem?
What does the Datasheet say?
If u check the datasheet of the 89c51RD2,it is having the internal 1k RAM that i can use by defining the xdata variable,same thing i want to do it for the internal EEPROM of 89s8252,only difference is that we EEPORM require more time to write,