Can I safely eraseflash of esp32 for micropython install and then revert to esp-idf

justdoit
Posts: 1
Joined: Tue Oct 30, 2018 2:47 pm

Can I safely eraseflash of esp32 for micropython install and then revert to esp-idf

Postby justdoit » Tue Oct 30, 2018 2:56 pm

Hi There,
I am mainly programming in esp-idf. But I wanted to try micropython on esp32. This requires me to eraseflash. I am little jittery about trying anything without being sure. This is project is being done for my office. I cant make a esp32 board bad. Kindly tell me if it is safe to eraseflash for micropython install . I wanted to tryout some python code. Mainly I am doing the project in esp-idf.
I searched online for a answer. Didnt find one.
Kindly reciprocate with an answer.
Thanks in Advance.
Shraddha

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Can I safely eraseflash of esp32 for micropython install and then revert to esp-idf

Postby ESP_Angus » Tue Oct 30, 2018 11:32 pm

Yes, erasing the entire flash and then reflashing either MicroPython or ESP-IDF (or another software environment) will give you a working ESP32.

There's nothing special in the flash that needs to be preserved, unless you've written some data there that you don't want to lose.

If you do have some data that you want to preserve for some reason, you can use esptool.py read_flash to backup the current contents:
https://github.com/espressif/esptool/#r ... read_flash

Who is online

Users browsing this forum: Baidu [Spider], Corand and 87 guests