Page 1 of 1

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

Posted: Thu Jan 12, 2023 12:54 am
by VictorQes
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.

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

Posted: Tue Jan 24, 2023 4:25 am
by VictorQes
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.