Error while trying to flash with UART (esp32c3)

TristanB
Posts: 4
Joined: Wed Jun 15, 2022 9:53 am

Error while trying to flash with UART (esp32c3)

Postby TristanB » Wed Aug 17, 2022 1:57 pm

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 1063 times
Can anyone help me ?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Thu Aug 18, 2022 1:11 am

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.

Who is online

Users browsing this forum: Bing [Bot] and 205 guests