ESP32-C3-MINI-1 AWS ExpressLink - How to erase & replace firmware

VictorQes
Posts: 2
Joined: Thu Jan 12, 2023 12:31 am

ESP32-C3-MINI-1 AWS ExpressLink - How to erase & replace firmware

Postby VictorQes » Thu Jan 12, 2023 12:54 am

I have this module designed into a product for general WiFi use.
Unfortunately procurement department 'accidentally' bought the ESP32-C3-MINI-1-N4-A module which is preconfigured with AWS ExpressLink firmware. It appears to be 'locked' with secure-boot-v2 and the bootup-download port is disabled.

I want to clear this out and install the normal AT-Command firmware (factory-MINI-1.bin) but do not know how to get around the security. I have tried the OTW method (otw.py) documented on Espressif site but get serial port timeouts. This method is supposed to be usable to upgrade from factory-shipped ExpressLink v1.0.20 to the latest v2.4.1 but doesn't work (as above).

Can someone please advise how I can hopefully blow-away the existing flash and config-register contents and install all-new firmware.
Conversely if there is definitely NO WAY to do this then please confirm.

[I am not a programmer and do not want to set up the whole IDF toolchain - just use the flash programming tools.]

Attached is what comes out of the download serial port (UART0) when booting.

Thanks.
Attachments
2023-01-10_ESP32-C3-MNI-1-N4-A_Boot_Log.txt
(8.29 KiB) Downloaded 169 times

VictorQes
Posts: 2
Joined: Thu Jan 12, 2023 12:31 am

Re: ESP32-C3-MINI-1 AWS ExpressLink - How to erase & replace firmware

Postby VictorQes » Tue Jan 24, 2023 4:25 am

It has been confirmed to me by Espressif people and others that this AWS ExpressLink version of the module is indeed locked and cannot be (totally) erased. It can be updated only with signed firmware from the same ecosystem.
Consider this item closed.

Who is online

Users browsing this forum: axellin and 62 guests