Page 1 of 1

Error while trying to flash with UART (esp32c3)

Posted: Wed Aug 17, 2022 1:57 pm
by TristanB
Hello,

I am currently developping on a custom board, with an ESP32c3-wroom-02 on it.
Everything worked well until this week when something went wront without any apparent reason.

There is the output when trying to flash my programm. It seems that the esp32c3 turned into a secure download mode, and that some commands are not been recognized anymore.
log_esp.png
log_esp.png (294.21 KiB) Viewed 1049 times
Can anyone help me ?

Re: Error while trying to flash with UART (esp32c3)

Posted: Thu Aug 18, 2022 1:11 am
by ESP_Sprite
That is odd; chips don't go into secure download mode without a reason; you need to actually turn on secureboot/flash encryption to get there.

As is, there's little you can do; the chip is locked down to only be able to read and write flash, and if flash encryption or secureboot is indeed turned on and you don't have the key or OTA functionality, you effectively don't have the ability to create a new firmware the ESP32C3 will accept.