Chat freely about anything...

User avatar
By karabey
#14902 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?
Attachments
image3.JPG
image2.JPG
image1.JPG
es8266_error.JPG
User avatar
By karabey
#14939 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
User avatar
By HolgerW
#15001 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