求助 ESP32C3 SPIFFS 始终mount失败

zhang.yu
Posts: 3
Joined: Wed May 18, 2022 7:42 am

求助 ESP32C3 SPIFFS 始终mount失败

Postby zhang.yu » Wed May 18, 2022 7:57 am

使用的是 arduino esp32 2.0.3 sdk

用的是esp32的 SPIFFS -> SPIFFS_Test例程

使用的是合宙的esp32-c3的开发板

15:51:47.177 -> ESP-ROM:esp32c3-api1-20210207
15:51:47.177 -> Build:Feb 7 2021
15:51:47.177 -> rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
15:51:47.177 -> SPIWP:0xee
15:51:47.177 -> mode:DIO, clock div:1
15:51:47.177 -> load:0x3fcd6100,len:0x38c
15:51:47.177 -> load:0x403ce000,len:0x6a8
15:51:47.177 -> load:0x403d0000,len:0x2358
15:51:47.177 -> SHA-256 comparison failed:
15:51:47.177 -> Calculated: 4ab8657f6f5aa80b81c7dd649db3bd64a98999ed7c65acc5a2ab77ce80caf525
15:51:47.177 -> Expected: 6babbc7b9ea63e04e0fc89ec224f6268aa3f84392018f73ab33721f768ce2eb6
15:51:47.224 -> Attempting to boot anyway...
15:51:47.224 -> entry 0x403ce000
15:51:47.318 -> E (159) SPIFFS: mount failed, -10025
15:51:55.599 -> E (8462) SPIFFS: mount failed, -10025
15:51:55.599 -> SPIFFS Mount Failed

ESP_Yake
Posts: 109
Joined: Mon Mar 06, 2017 12:23 pm

Re: 求助 ESP32C3 SPIFFS 始终mount失败

Postby ESP_Yake » Wed May 25, 2022 2:04 am

我看了一下 IDF 的代码,有一句话可能跟这个问题相关。
If SPIFFS_USE_MAGIC is enabled the mounting may fail with SPIFFS_ERR_NOT_A_FS ( -10025)

如果是自己编译的库,需要将配置项 CONFIG_SPIFFS_USE_MAGIC 取消。
如果没有做任何改动,你可以将问题提到 arduino github 的 issue 里面。https://github.com/espressif/arduino-esp32

Who is online

Users browsing this forum: No registered users and 71 guests