I have a built a fridge controller which uses one byte of EEPROM for storing the setpoint. On startup, the value loaded from EEPROM is displayed for a second before continuing.
Works beautifully as long as I don't use EEPROM address 0 or 1. The setpoint will be trashed and set to some semi-random value (apparently not too far from the saved one). I test this with the reset button on the stk500 connected through 6-pin ISP. On address 1, the value might be different the first few times before it settles.
Internal RC osc at 8 MHz
Brown-out detector at 4V
F_CPU correctly defined in the makefile.
I'm accessing EEPROM with the functions from
I vaguely remember similar issues, but only on address 0 and on older devices. Unable to find any posts now.
This is no real problem for this application, of course. But it would be nice to know if there are issues with the low EEPROM locations, or if I just messed up :)
So, am I missing something here?
Anyone with similar experiences?