-->
Page 1 of 2

Flash ESP12 fails.

PostPosted: Sun Mar 25, 2018 2:51 pm
by mode
Hi,
i am trying to flash a ESP12 but its fails every time.

Its connected like shown in http://www.instructables.com/id/Getting ... 66-ESP-12/ Step 3.

I am using different flashing tools for windows but all fail. I tried two FTDI usb -> ser converters.

At the console i get the following text with baudrate 74880:

Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

Fatal exception (0):
epc1=0x40281c04, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x40281c04, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x40281c04, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x40281c04, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
<repeating all the time>


When i try to flash with esptool.exe is looks like
Code: Select allesptool.exe -v -cp COM4 -cd none -cf ESP_Easy_v2.0-20180322_normal_ESP8266_1024.bin
esptool v0.4.6 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
opening bootloader
resetting board
trying to connect
trying to connect
trying to connect
resetting board
trying to connect
trying to connect
trying to connect
resetting board
trying to connect
trying to connect
trying to connect
warning: espcomm_sync failed
error: espcomm_open failed



Any idea? i believe my ESP12 is an defective item :-(

BR

mode

Re: Flash ESP12 fails.

PostPosted: Tue Mar 27, 2018 2:54 am
by mode
> 3500 views and no answer. :cry:
That means i do not make a obvious mistake?!
I ordered a few more ESP to test with... :geek:

Re: Flash ESP12 fails.

PostPosted: Wed Mar 28, 2018 11:47 am
by jankop
No, it means that 3,500 people asked about the same before you. By the way, it is a completely foolish idea to connect the input / output pins to ground or Vcc.

Re: Flash ESP12 fails.

PostPosted: Wed Mar 28, 2018 12:48 pm
by rudy
> 3500 views and no answer. :cry:
That means i do not make a obvious mistake?!


No. It means that I am tired of saying the same thing over and over and am too busy to do it again.

The only pins that should be connected to 3.3v or ground is Vcc on the chip and gnd. All others should use pull up or pull down resistors to achieve the correct level. Max resistor value of 10K.

The power supply is critical for proper operation. It has to be a stable 3.3 volts. Power supply must have the capability to supply 500mA. Do not use long wires. Regulation must be at the module, not a foot away. Bypass capacitors at the module. No long wires.

Just because you found information on the internet does not make it good information. Too many people do not know what they are doing but are able to post information. How you execute the wiring is very important. Having all the connections wired is only part of the solution. How things are wired matters.