I'm working with a 16F84 and can't get it to store anything in the EEPROM memory. I've followed the instructions exactly (writing 0x55 and 0xAA to EECON2, setting EECON1,WR and so on). It will go through the sequence but nothing will actually be written. While searching the web, I noticed that some people had a "DE" statement at the beginning of their ASM code that declared addresses in EEPROM to be used. Do you have to "activate" the EEPROM mem somehow with a directive or equate?
I'm also a bit curious about the EEPROM addresses; I just assumed that the EEPROM is separate from the RAM banks and has addresses 0x00 to 0x3F that can be sent to EEADR as such. Is this correct, or do they have higher numbered addresses or are in another bank and are mapped?
I'm also a bit curious about the EEPROM addresses; I just assumed that the EEPROM is separate from the RAM banks and has addresses 0x00 to 0x3F that can be sent to EEADR as such. Is this correct, or do they have higher numbered addresses or are in another bank and are mapped?