ESP32 S2 - Filesystem is empty after some time
Hello, i'm working on an ESP32 S2 (WROOM) for a project under MicroPython, the firmware I use is the following: GENERIC_S2-20220117-v1.18.bin
The problem being that the filesystem has completely disappeared after a few days (10 - 15 days) I manage to connect to the REPL but when: ampy --port COM8 ls the filesystem is empty.
My filesystem once the map is functional is composed of .py files including main.py and three libraries and files
.json for configuration.
I do not understand why my filesystem is deleted like this, my program does not fill the memory or create files that could saturate the filesystem itself.
The problem does not seem to come from my program.
I post my problem here because it can come from the MicroPython firmware.
I tried with three different cards and the same thing happens, the card works for a few days, after nothing the filesystem is empty.
Thanks in advance.
ESP32-S2-MINI-1 support
Hi,
I have compiled the firmware for the ESP32-S2. However, when I upload it to my ESP32-S2-DevKitM-1, it does not show the repl.
All it shows in the serial monitor, after pressing reset is this:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1318
load:0x4004c000,len:0x8f0
load:0x40050000,len:0x2984
entry 0x4004c1b0
I have tried many serial monitors, such as minicom, screen, and idf.py monitor. Pressing ENTER does nothing, and pressing any other keys don't do anything either.
I used make BOARD=GENERIC_S2 to compile, and I used `esptool.py -p /dev/ttyUSB0 write_flash 0x1000 build-GENERIC_S2/firmware.bin" to flash.
Compiling system information:
Ubuntu 20.04.2 LTS
Intel Core 2 Duo E6420
3GB DDR2 RAM
Dell Optiplex 745
My main suspects would be the flashing address, or that the ESP32-S2-MINI-1 has not been previously tested.
Thanks in advance!