Unable to download firmware to ESP32-C3

JonathanJol
Posts: 6
Joined: Sun Nov 22, 2020 8:23 pm

Unable to download firmware to ESP32-C3

Postby JonathanJol » Fri Aug 23, 2024 2:55 am

Hello!

I'm a freelancer and I have been working on a somewhat simple ESP32-C3 project. I have developed a custom PCB using an ESP32-C3-MINI-1-N4, the module we got has the M4N4 engraving on it, the problem is that we haven't been able to download any new code, here is the log we have received from the ESP32:

21:27:05.455 -> Build:Feb 7 2021


21:27:05.455 -> rst:0x3 (RTC_SW_SYS_RST),boot:0x5 (DOWNLOAD(USB/UART0/1))


21:27:05.455 -> Saved PC:0x40048b82


21:27:05.455 -> Download boot modes disabled


21:27:05.455 -> ESP-ROM:esp32c3-api1-20210207

The strapping pins are shown to be in the right condition to make a UART download, but then it says that download boot modes are disabled. My first guess here is that these modules that we got from the PCB supplier have their eFuses pre-programmed. Is there a way to confirm if the eFuses have been burned to 1? Is there any serial we can check to confirm something like this? Is there any possibility that the eFuses are not the issue?

I haven't been able to test the eFuse Manager myself since the board is in the hands of my client, and he only has available the Arduino IDE and he doesn't have enough experience using idf.py.

Thank you in advance for your help!

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

Re: Unable to download firmware to ESP32-C3

Postby ESP_Sprite » Fri Aug 23, 2024 4:59 am

Seems that chip has SecureBoot enabled. Is this something you or your customer might have done? If not, can you post a clear picture of the module, with the text and QR-code readable?

JonathanJol
Posts: 6
Joined: Sun Nov 22, 2020 8:23 pm

Re: Unable to download firmware to ESP32-C3

Postby JonathanJol » Fri Aug 23, 2024 6:55 pm

ESP_Sprite wrote:
Fri Aug 23, 2024 4:59 am
Seems that chip has SecureBoot enabled. Is this something you or your customer might have done? If not, can you post a clear picture of the module, with the text and QR-code readable?
As far as I know, if it was secureBoot the log would say something about it. Anyway, my client wouldn't have done anything like that, the project is using Arduino Core and he just tried downloading our firmware. Here is a picture of the chip, is not super clear but is understandable enough:
Photo on 8-23-24 at 2.31 PM.jpg
Photo on 8-23-24 at 2.31 PM.jpg (163.75 KiB) Viewed 2296 times

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

Re: Unable to download firmware to ESP32-C3

Postby ESP_Sprite » Sun Aug 25, 2024 5:28 am

Thanks. I'll ask my colleague to look up the barcode on that one to see if it was supposed to be flashed+locked from the factory.

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

Re: Unable to download firmware to ESP32-C3

Postby ESP_Sprite » Tue Aug 27, 2024 7:26 am

I got a response, and that's a module that came pre-flashed with customer firmware and as such has download mode disabled. I'm afraid it's not usable for anyone but that customer. Can you tell me a bit more (if needed in private email, jeroen at espressif dot com) how you came by this module?

JonathanJol
Posts: 6
Joined: Sun Nov 22, 2020 8:23 pm

Re: Unable to download firmware to ESP32-C3

Postby JonathanJol » Tue Aug 27, 2024 5:11 pm

ESP_Sprite wrote:
Tue Aug 27, 2024 7:26 am
I got a response, and that's a module that came pre-flashed with customer firmware and as such has download mode disabled. I'm afraid it's not usable for anyone but that customer. Can you tell me a bit more (if needed in private email, jeroen at espressif dot com) how you came by this module?
Thank you for your confirmation. Our PCB supplier also populated the boards, so they are the ones who know the details about how these modules got to us. Parallel to this, I was also having an email conversation with someone from espressif through our PCB supplier, they also confirmed that these boards were pre-programmed. I suppose the PCB supplier is now in talks with their component supplier since that is where the module would have come from.

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

Re: Unable to download firmware to ESP32-C3

Postby ESP_Sprite » Wed Aug 28, 2024 4:50 am

Clear, thank you.

Who is online

Users browsing this forum: Baidu [Spider] and 119 guests