-->
Page 1 of 2

ESP8266 ESP-03 Flash Mode

PostPosted: Sat Apr 18, 2015 7:32 am
by karabey
Hey there,

I am trying to get my ESP-03 into Flash Mode (since 3 days).

My connection

CH_PD -> 2.2k Pullup -> VCC -> 3.3V
GPIO_0 -> GND -> GND
TX -> RX
RX -> TX

I am using an FTDI Breakout Board to program and a Voltage Regulator which is set exact to 3.3V. But anytime I try to flash it I get an Error with any Flash Tool. Am I doing something wrong with the wiring?

I read many Tutorials over Google but none of them was sucessfull.
http://blog.electrodragon.com/cloud-upd ... p8266-now/
http://www.xess.com/blog/esp8266-reflash/

I have 3 pcs of the ESP-03 here and none of them will work. Can anybody help me out?

Re: ESP8266 ESP-03 Flash Mode

PostPosted: Sat Apr 18, 2015 10:41 am
by martinayotte
We can't see clearly from pictures, but what did you do with GPIO15 ?
It need to be pulled-down or grounded at startup ...
(many sites mentionned it, such as https://hackaday.io/project/3253-esp826 ... deep-sleep)

Re: ESP8266 ESP-03 Flash Mode

PostPosted: Sat Apr 18, 2015 4:05 pm
by karabey
Thanks!! Never connect GPIO_15 to GND.. But now has another Problem that the Flash stops at 98%.
Anytime I start the flash it stops there.

Code: Select allMacBook-Pro:esptool Mac$ sudo ./esptool.py --port /dev/tty.usbserial-A5027HXN write_flash 0x00000 0922ATFirmware.bin
Entering bootloader...
Connecting...
Erasing flash...
Writing at 0x0007d000... (98 %)
Traceback (most recent call last):
  File "./esptool.py", line 443, in <module>
    esp.flash_block(block, seq)
  File "./esptool.py", line 209, in flash_block
    raise Exception('Failed to write to target Flash')
Exception: Failed to write to target Flash


I tried also other Flash Files but they are not possible to write:

Code: Select allMacBook-Pro:esptool Mac$ sudo ./esptool.py --port /dev/tty.usbserial-A5027HXN write_flash 0x00000 0952ATFirmware.bin
Entering bootloader...
Connecting...
Erasing flash...
Writing at 0x00000000... (0 %)
Traceback (most recent call last):
  File "./esptool.py", line 443, in <module>
    esp.flash_block(block, seq)
  File "./esptool.py", line 209, in flash_block
    raise Exception('Failed to write to target Flash')
Exception: Failed to write to target Flash

Re: ESP8266 ESP-03 Flash Mode

PostPosted: Sun Apr 19, 2015 1:12 am
by HolgerW
I always connect CH_PD directly to Vdd, never used a resistor there: CH_PD -> 2.2k Pullup -> VCC -> 3.3V
I would remove it or use a much smaller one.

Holger