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

Karim1993
Posts: 20
Joined: Mon Aug 27, 2018 4:28 am

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

Postby Karim1993 » Sat Dec 29, 2018 4:46 am

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.

OutOfLine
Posts: 52
Joined: Sat Feb 24, 2018 1:32 pm

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

Postby OutOfLine » Fri Jan 04, 2019 8:05 am

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

Who is online

Users browsing this forum: Google [Bot] and 102 guests