O my god,
One character’s typo, killed two men two days.
Now, everything works fine!!
Also, notice that in the partition table, it must use “spiffs”, rather than “littlefs”,
default_4MB.csv:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x140000,
app1, app, ota_1, 0x150000,0x140000,
spiffs, data, spiffs,0x290000,0x160000,
coredump, data, coredump,0x3F0000,0x10000,
It must be “spiffs, data, spiffs,0x290000,0x160000,”
Not allow “littlefs, data, littlefs, 0x290000,0x160000,”
A lot a lot of thanks! You are great! @sivar2311