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 iot.espressif.cn 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!
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 http://bbs.espressif.com/viewtopic.php?f=7&t=423#p1619.
Thanks for your interest in ESP8266 !
Who is online
Users browsing this forum: No registered users and 0 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!