ESP-WROOM-32 Serial Flash

BrettG
Posts: 29
Joined: Wed Feb 15, 2017 7:32 pm

ESP-WROOM-32 Serial Flash

Postby BrettG » Wed Feb 15, 2017 7:55 pm

Hi, I am trying to design a board with the ESP-WROOM-32. I want the ability to load base code and settings onto a serial flash chip and be able to Factory reset back to that code/settings. My confusion comes with the 4 MB serial flash (GD25Q32) within the ESP-WROOM-32 module. Can that serial flash be used for my purposes or does it perform other important function? Will I have to add another serial flash to the PCB to allow my desired functionality?

Also I would like to know if there is any already exiting code etc that does the factory reset that I described above.

Any clarification on this would be greatly helpful.

Thanks,
- BrettG

*This might be a duplicate but I am unsure that my last post got through

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP-WROOM-32 Serial Flash

Postby WiFive » Thu Feb 16, 2017 2:53 am

Yes refer to the factory partition: http://esp-idf.readthedocs.io/en/latest ... ables.html

You would have to write a small function that selects the factory partition and erases your user data to perform a factory reset.

Who is online

Users browsing this forum: No registered users and 226 guests