The Nano Classic an also Nano Every has a couple of EEPROM. The other new types
Nano 33 IOT
Nano 33 BLE [Sense]
has no EEPROM. So the compatibility has one big hole more!
Some ESP2866 type emulates EEPROM at a FLASH page. This should be done please for the both new types w/o EEPROM.
I need this property for storing some SSID/password pairs.
Thank you - but sorry, it doesn't help for me. In the readme.md is a question with a very exact answer:
Q: The content of the FlashStorage is erased each time a new sketch is uploaded?
A: Yes, every time you upload a new sketch, the previous content of the FlashStorage is erased.
During program optimisation there are some new uploads...
When I have stored some value pairs, they should stay permanently - even like an EEPROM.
The ESP8266 people have a solution, it looks like a special file, available also after reset/powerup and upload a new sketch.
RudolfAtRTC:
Thank you - but sorry, it doesn't help for me. In the readme.md is a question with a very exact answer:
Q: The content of the FlashStorage is erased each time a new sketch is uploaded?
A: Yes, every time you upload a new sketch, the previous content of the FlashStorage is erased.
During program optimisation there are some new uploads...
When I have stored some value pairs, they should stay permanently - even like an EEPROM.
The ESP8266 people have a solution, it looks like a special file, available also after reset/powerup and upload a new sketch.
it seems that the EEPROM Emulation which uses flash is erased (not preserved) when you flash the chip. I was able to confirm this with the following code. I searched through the documentation and didn't see this referenced. Turns out that I missed this setting: To preserve code DESELECT
If I deselect it, my data is preserved. Makes sense... wish it was in the documentation
Was it your intention to repost this to add some helpful information to this thread, or are you a bot that did this automatically to prep a spam account? If you don't respond, I'll assume the latter and act accordingly.