I would like to put esp32c3 into first stage bootloader through software or to be more precise from application that is running on device.
I have already read/try this link, but from what I can see in esp idf sdk v5.1, functions (rtc_wdt_protect_off
, rtc_wdt_set_length_of_reset_signal
, ...) are not supported for esp32c3, only for esp32 and esp32s3.
I know that I could create a "own" bootloader application that executes after second stage bootloader, which could behave as first stage bootloader, but I would like to do it through esp first stage bootloader.
Please keep in mind that putting device into first stage bootloader must be done through SW, hardware pin setting is not an option.
It can be done like so, include:
and add below lines:
It will boot directly to the ROM update mode. Answer was found here: https://www.esp32.com/viewtopic.php?t=33180