Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By igrr
#29426 Looking at the log, you have successfully put ESP into download mode, the error came later while waiting for ESP to erase region of flash.

setting baudrate from 115200 to 9600

Looks like you have upload baud rate set to 9600. I'm not sure I have ever tested esptool with cp2102 at 9600, so there might be some issue. Try changing upload baud rate (in Arduino > Tools menu) to something like 115200.
User avatar
By AJB2K3
#29429
igrr wrote:Looking at the log, you have successfully put ESP into download mode, the error came later while waiting for ESP to erase region of flash.

setting baudrate from 115200 to 9600

Looks like you have upload baud rate set to 9600. I'm not sure I have ever tested esptool with cp2102 at 9600, so there might be some issue. Try changing upload baud rate (in Arduino > Tools menu) to something like 115200.



Tried using 115200 and getting Payload error, upable to upload (or what ever it could be!)
Also tried other speeds between!

It's complaining about an incorrect command response, some thing about receiving 0x03 instead of 0x08 (or vice verser)