evandude
New Member
I need to store something like 20-25 bytes of data with my PIC 16F628, between uses...
what the data consists of is a dozen or so variables that represent different settings, that will be adjusted during use, and having to re-enter the settings every time I power it on is out of the question.
I really don't want to use an external EEPROM, part because it's overkill, and part because I don't think I can afford to waste the code space on the interface, or the physical space on the device.
I've been trying to get the PIC to write data to the Data EEPROM into the unused memory locations, but it doesn't seem to be working (I have it in a loop where it writes to a given location, then reads from that location and compares the value to verify)
I'm assuming thus far that the unimplemented space in the data EEPROM is off limits... is this correct?
and is there any way I can have the program store the values into program memory?
I suppose the alternative is to not power off the PIC ever, rather put it into standby and operate it on a small watch battery for memory backup, or something like that... but I'd really rather not do that either...
thanks in advance for any help you can give me....
what the data consists of is a dozen or so variables that represent different settings, that will be adjusted during use, and having to re-enter the settings every time I power it on is out of the question.
I really don't want to use an external EEPROM, part because it's overkill, and part because I don't think I can afford to waste the code space on the interface, or the physical space on the device.
I've been trying to get the PIC to write data to the Data EEPROM into the unused memory locations, but it doesn't seem to be working (I have it in a loop where it writes to a given location, then reads from that location and compares the value to verify)
I'm assuming thus far that the unimplemented space in the data EEPROM is off limits... is this correct?
and is there any way I can have the program store the values into program memory?
I suppose the alternative is to not power off the PIC ever, rather put it into standby and operate it on a small watch battery for memory backup, or something like that... but I'd really rather not do that either...
thanks in advance for any help you can give me....