Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Mikey
#64474 As the subject says, I am having problems flashing my ESP8285.

I have been doing a lot of googling to see if I was doing something wrong, or if I had to set something up different, but it looks like I am doing everything correct.

Image

but all I am getting is

warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

or
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed


I have tried a few other programs for flashing the ESP8285 too, but so far all of them have failed. I have tried 4 different TTL adapters too, but all of them CH340G based, so now I wonder if the problem is the CH340G?

Have anyone tried to flash an ESP8285 with the CH340G?
User avatar
By Mikey
#64515
spy king wrote:What board or what pull-ups are you using?
I'd reckon the board isn't in bootloader mode, so it's unable to access and flash.

It is a Sonoff 4CH, and I got it to work, I actually thought I had posted how I got it to work here too.

I wrote about it here https://captain-slow.dk/2017/04/01/flas ... onoff-4ch/

I could not get it to work with the Arduino IDE, but using NodeMCU flasher with the exported .bin file worked.