-->
Page 1 of 1

Keep eeprom values during sketch upload

PostPosted: Sun Jan 08, 2017 1:12 pm
by wanek
hello!

how can i prevent the eeprom being erased every time i upload a new sketch on a wemos d1 mini pro? i store lots of values in eeprom, and it should remain untouched between firmware uploads. i use arduino ide + windoze.

thank you!

Re: Keep eeprom values during sketch upload

PostPosted: Mon Jan 09, 2017 3:40 am
by t_andersen
I have been wondering about this myself but I suspect that it is not possible to keep the values. According to information on the internet there is no real EEPROM in the 8266, so EEPROM is simply emulated by the Arduino IDE and stored in the flash memory instead. If that is the case, then the location in memory is likely to change with every new compilation of the program. Maybe someone more knowledgeable can comment?