Re: Trouble flashing a new firmware
Posted: Mon Nov 30, 2015 1:54 pm
Just for information, my experience. I am using a esp8266-12 and a Crius USB FTDI interface.
Connections like in
http://cdn.instructables.com/FCH/0MSC/I ... .LARGE.jpg
CH_PD to VCC (permanent)
GPIO2 to VCC (permanent)
GPIO15 to GND (permanent)
GPIO0 to GND (for firmware flash, only during boot-up)
RX to TX
TX to RX
No resistors or capacitors.
Esptool always terminating at 7% or 11% with error "Failed to write to target flash."
No error in Arduino IDE, but Sketch wont start (no reply in Terminal).
Changing ESP_RAM_BLOCK and ESP_FLASH_BLOCK in esptool.py did the trick. Esptool successful, and sketch running ok. (see post #13640 in this thread)
A similar setup with an ESP8266-01 was running perfect even without changes to esptool.py.
Connections like in
http://cdn.instructables.com/FCH/0MSC/I ... .LARGE.jpg
CH_PD to VCC (permanent)
GPIO2 to VCC (permanent)
GPIO15 to GND (permanent)
GPIO0 to GND (for firmware flash, only during boot-up)
RX to TX
TX to RX
No resistors or capacitors.
Esptool always terminating at 7% or 11% with error "Failed to write to target flash."
No error in Arduino IDE, but Sketch wont start (no reply in Terminal).
Changing ESP_RAM_BLOCK and ESP_FLASH_BLOCK in esptool.py did the trick. Esptool successful, and sketch running ok. (see post #13640 in this thread)
A similar setup with an ESP8266-01 was running perfect even without changes to esptool.py.