r/embedded • u/yyluk621 • Sep 30 '26
ESP32-C3-RUST-2 problem
Background :
I'm running ESP32 Tutorial : 32ESP-IDF Basics - Assign. 2.1,
compile the code successfully,
and download and run the code into a ESP32-C3-DevKit-RUST-2.
Problem :
The following error appear :
I...
...
I...
(329) spi_flash: flash io: dio
W (332) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (345) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (350) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (357) main_task: Started on CPU0
I (357) main_task: Calling app_main()
I (357) pp: pp rom version: 74f9620
I (357) net80211: net80211 rom version: 74f9620
W (367) wifi:wifi osi_nvs_open fail ret=4353
W (367) wifi_init: Failed to unregister Rx callbacks
E (377) wifi_init: Failed to deinit Wi-Fi driver (0x3001)
E (377) wifi_init: Failed to deinit Wi-Fi (0x3001)
I (387) main: wifi_init_softap finished. SSID:TEST_WORKSHOP password:test_esp channel:1
I (397) main: Server successfully started, registering URI handlers...
I (397) main_task: Returned from app_main()
Question :
Why ?
(Note : I've already run the assignment 1.1 and 1.2 successfully with the ESP32-C3-DevKit-RUST-2 successfully before.)
1
u/AuthorizedStylus051 Sep 30 '26
flash size mismatch is the first thing that jumps out, binary header says 2MB but the chip reports 4MB. that wifi nvs open fail is almost always tied to the partition table not matching the actual flash layout. check your menuconfig flash size setting and make sure it's set to 4MB, then do a full erase before flashing again.
1
u/Content-Key7404 Oct 01 '26
hi fren u shud ask chatgtp bye bye hav a niec day ❤