hi
CAn anyone tell how to read and write data from the above microcontroller?
what command need to be send for reading data from EEPROM?
SARY
Solved! Go to Solution.
Reading from internal EEPROM is like reading from RAM or FLASH. "ldd $0C00" would read a word from EEPROM assuming that $0C00 is an address in EEPROM. If you are writing in C and there is a variable in the EEPROM, just read from the variable like any other variable.
The EPAGE register controls which page of EEPROM is put into the EEPROM window (which is probably at $0800 for your device).
Reading from internal EEPROM is like reading from RAM or FLASH. "ldd $0C00" would read a word from EEPROM assuming that $0C00 is an address in EEPROM. If you are writing in C and there is a variable in the EEPROM, just read from the variable like any other variable.
The EPAGE register controls which page of EEPROM is put into the EEPROM window (which is probably at $0800 for your device).
hi
Thanks for your help.There was some address problem .
I Changed thhe address and now its working fine.
Now I m able to read and write data from the EEPROM.
SARY