Using Cloud server to flash custom firmware

Posts: 1
Joined: Wed Mar 09, 2016 6:36 pm

Using Cloud server to flash custom firmware

Postby henry466 » Wed Mar 09, 2016 6:45 pm


we are trying to flash our custom firmware without previously flashed firmware. So there is original AT firmware inside.

When the module is connected to the WiFi and internet, after AT+CIUPDATE everything is OK. But it is downloading/updating your original AT firmware.
We want to re-flash this firmware with our custom firmware.
We want to do this, because we will manufacture hundreds of such modules and we want that everything is automated without changing IO pins.
So we don't intend to flash it with serial port, because it require wiring changes.

We are unable to find anything on the internet, no guide for this purpose. Only comments that it is possible, but not how. I have found a guide from Espressif that is describing Cloud, but there are lot of things that seems to be not necessary for our purpose - generating keys, etc and the result is not clear for me.

We have found that the cloud server is at address and that module is sending request there. Then firmware is sent to the module through the internet.

We wanted to try if it can download from our local server so we have changed DNS so the module thinks that official server is running in our site.
But after the command execution it ends with the ":3" and can't pass ":4", so the result is ERROR. It expects some specific response from the server.

Can you help us in any way? Thank you very much!

Posts: 1565
Joined: Mon Oct 27, 2014 11:08 am

Re: Using Cloud server to flash custom firmware

Postby ESP_Faye » Tue May 17, 2016 2:38 pm


Example of upgrading AT firmware is in \ESP8266_NONOS_SDK\examples\at\user\at_upgrade.c.

Example of upgrading firmware base on ESP8266_NONOS_SDK you can refer to

Thanks for your interest in ESP8266 !

Who is online

Users browsing this forum: No registered users and 1 guest