Page 1 of 1

Is writing unique Id directly in esp32 using esptool.py possible ??

Posted: Sat Dec 29, 2018 4:46 am
by Karim1993
Is i possible to write a unique id (with 64 to 128 bytes size) into a specific location in the esp32 internal flash memory without effecting the application code using the esptool.py.

Re: Is writing unique Id directly in esp32 using esptool.py possible ??

Posted: Fri Jan 04, 2019 8:05 am
by OutOfLine
If I understand you right the 'Non-volatile storage library NVS' could be a good solution
I tried it once to store a name string of sound-light installations, and it worked fine
( I did #include <Preferences.h> to make it easy)

If nvs entry size (32bytes, I think) is too small you can use multiple entries for your data