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

User avatar
By asantos
#29302 Hi,

I am new to the esp8266 chip, but have been reading some things about it.
When I have received I was able to connect to IT, and send AT commands without any problem.
After that I have tried to upload the Blink Sketch via Arduino IDE, which failed to upload, and after this, my ESP-07 seems bricked.

I can not even flash it. I have tried to flash it with AT Firmware and also NodeMCU, but no no avail.

I have the ESP-07 connected the following way

RX - TX FTDI
TX - RX FTDI
VV - 3v3~
GND - Comon
Enable - 3v3
GPIO0 - GND (to boot into flash mode)
GPIO2 - 3v3
GPIO15 - GND

When I start it in FLASH mode I have the following output
Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(1,7)


If I started in operation mode (GPIO 3v3) I have the following output
Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 612, room 16
tail 4
chksum 0x12
load 0x3ffe8000, len 788, room 4
tail 0
chksum 0xfa
load 0xffffffff, len -1, room 8


If it try to flash it with AT Firmware with the " ESP DOWNLOAD FLASH TOOL" I get the following output.

Code: Select allESP_ROM_BAUD :  115200
test baudrate:  115200
test baudrate selection:   0
test offset :  0 0x0
case ok
(True, [[u'C:\\AI-v0.9.5.0 AT Firmware.bin', 0]])
rep_path : C:\FLASH_DOWNLOAD_TOOLS_v1.2_150512\FLASH_DOWNLOAD_TOOLS_v1.2_150512\
bin_tmp\downloadPanel1
size_speed : 0
test fpath: C:\_temp_by_dltool/downloadPanel1
test fname: C:\_temp_by_dltool/downloadPanel1\AI-v0.9.5.0 AT Firmware.bin_rep
mode :     speed:
write bin :  C:\_temp_by_dltool/downloadPanel1\AI-v0.9.5.0 AT Firmware.bin_rep
test running : False
serial port opened
Connecting...
chip sync ok!
chip_flg 1
r1: a3; r2:c7 ; r3: 06
MAC AP : 1A-FE-34-A3-C7-06
MAC STA: 18-FE-34-A3-C7-06
('tttest uuuuuuuuuuart : uart reg: ', 457)
(' baudrate: ', 115200)
get crystal: 26323200
head: 0 ;total: 0
erase size : 0
get flash id : 0x641440e0
 manufacturer_id: 0xe0

 device_id: 0x4014

vendor: 224
mode: 64
size: 20
filename:  C:\FLASH_DOWNLOAD_TOOLS_v1.2_150512\FLASH_DOWNLOAD_TOOLS_v1.2_150512\
bin_tmp\downloadPanel1\AI-v0.9.5.0 AT Firmware.bin_rep
offset :  0
Erasing flash...
head:  16 ;total: 127
erase size :  454656
Writing at 0x00000400... (0 %) error when download firmware
com closed


I really need some help here.
I do not know it I have the esp not working or if it is the ftdi problem or wiring (I have redone wiring several times)
Can any one help please?





Best Regards,
André
Last edited by asantos on Mon Sep 21, 2015 5:18 am, edited 1 time in total.
User avatar
By asantos
#29565 Hi,

The problem is now solved.
I have used and arduino nano to flash the esp-07 and it worked flawlessly.
For sure I have a problem with the FTDI I was using.
Here are the connection I have made.

Nano <--> ESP-07
3v3 <--> Vcc
GND <--> GND
TX <--> TX
RX <--> RX

I had no problem with TX and RX being 5v. It has flashed the esp-07 without any problem.
RX and TX ara no swapped because arduino already has them swapped.
I used this sketch to upload to the arduino, for it to by pass the Serial commands to the esp-03

https://gist.github.com/wmhilton/6034455

BR,
Andre