Chat freely about anything...

User avatar
By eriksl
#69946 Has anyone already tried to make an ESP8266 serial programmer using an ESP8266?

Something like ESP8266_1 connects to ESP8266_2 using serial, ESP8266_1 pulls up and down the GPIO_0, GPIO_2 and RST lines of ESP8266 and starts sending the new firmware.

Most of this is not rocket science, but I am too lazy to reverse engineer esptool.py as to what exactly to send, especially the blob of program code that apparentely is sent to to communicate with the outside world.

I thought maybe someone has done this before? Or has already reverse engineered whatever esptool.py sends (and receives)?
User avatar
By eriksl
#69974 I was hoping someone would have some knowledge about the protocol used, so I wouldn't have to reverse engineer it.

And yes, the idea is that you have at least one esp8266 already programmed witht the proper programming firmware (that I would write, then).
User avatar
By eriksl
#70070 Maybe it's simpeler to replace all serial communication in esptool.py with calls to a binary that forwards all data to the transparent bridge on the esp8266 (and v.v.). That way I don't have to do the reverse engineering.

Also I now see the awkward typo in the subject, but I can't seem to change it?