I have a 16F876 with onboard EEPROM. If I write the following commands
MyByte VAR Byte
DATA @0, 12
READ 0, MyByte
I get 255 for the value of MyByte. However, if I write the following code:
MyByte VAR Byte
WRITE 0, 12
READ 0, MyByte
I get 12 for the value of MyByte. It seems that the DATA command is not loading the EEPROM when the program is downloaded.
Does anyone have any thoughts on this? I could sure use the help.
Thanks,
Eric
Bookmarks