Changing SPI flash mode from app

jojojijijojo
Posts: 18
Joined: Thu Feb 20, 2020 8:18 am

Changing SPI flash mode from app

Postby jojojijijojo » Wed Dec 01, 2021 3:01 pm

Hi,
I have a project flashed to ESp32 using DIO SPI flash mode, this project has a factory and 2 ota partitions. I accidentally changed SPI flash mode to QIO when building a newer version of the firmware, and it was installed using OTA.

Now the module does't boot anymore because of a mismatch between the SPI flash mode I initially flashed it with, and the new update which was built using QIO.

Is it possible to manually change the SPI flash mode from within the code without performing a full chip erase? ESp32 does randomly boot up from time to time, but its unpredictable due to this mismatch. Any help is appreciated.

Who is online

Users browsing this forum: awegel and 128 guests