-->
Page 1 of 2

ESP8266 12-E (ai-thinker) firmware for Arduino IDE

PostPosted: Fri Nov 03, 2017 11:44 am
by Wojtek
Hi,
I have ESP8266 12-E (ai-thinker) module which have erased flash. Serial monitor (baud 74880) is showing (with GPIO00 connected to GND)

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


and (with GPIO00 floating)

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

ets_main.c


Image

For sure serial connection and power supply is OK.

Could you please recommend any working and up-to-date tutorial showing how to upload new firmware into flash and use ESP with Arduino IDE?

PS. Sorry for my english.

Re: ESP8266 12-E (ai-thinker) firmware for Arduino IDE

PostPosted: Fri Nov 03, 2017 5:19 pm
by schufti
1st) redo the soldering. The solder job on pins and the module look pretty "dry".
2nd) use reccomended pullup's on gpio0/2, chpd and pulldown on gpio15.
allthough there are resistors on the board for chpd and gpio15 I had some of these adapters where the resistors had useless values (50k). I usually use 4k7.

Re: ESP8266 12-E (ai-thinker) firmware for Arduino IDE

PostPosted: Mon Nov 06, 2017 7:02 am
by Wojtek
schufti wrote:1st) redo the soldering. The solder job on pins and the module look pretty "dry".
2nd) use reccomended pullup's on gpio0/2, chpd and pulldown on gpio15.
allthough there are resistors on the board for chpd and gpio15 I had some of these adapters where the resistors had useless values (50k). I usually use 4k7.

Thanks for your reply. Unfotunately still the same symptoms.

1) Boot in normal mode (baud 74880):
Screenshot 2017-11-06 12.40.49.png

2) Boot in normal mode (baud 115200):
Screenshot 2017-11-06 12.40.39.png

3) Boot in flash mode (baud 74880):
Screenshot 2017-11-06 12.40.58.png

I've redone soldering (hope it looks better now):
20171106_123758.jpg


I've checked also resistors. R1 and R3 are both 10kOhm. R2 is not used.

philbowles wrote:...or buy a Wemos D1...

Maybe it's a solution. But my ai-thinker 12-E should work too.

Circuit like that was working well few days ago. Now I'm almost sure that problem is with wrong firmware, but I can't find any instruct how to upload right firmware.

Re: ESP8266 12-E (ai-thinker) firmware for Arduino IDE

PostPosted: Tue Nov 07, 2017 7:17 am
by Wojtek
schufti wrote:1st) redo the soldering. The solder job on pins and the module look pretty "dry".
2nd) use reccomended pullup's on gpio0/2, chpd and pulldown on gpio15.
allthough there are resistors on the board for chpd and gpio15 I had some of these adapters where the resistors had useless values (50k). I usually use 4k7.

Thanks for your reply. Unfotunately still the same symptoms.


I've redone soldering (hope it looks better now):
20171106_123758s.jpg


I've checked also resistors. R1 and R3 are both 10kOhm. R2 is not used.

I'am almost sure that circuit and power supply are OK. Especially it worked few days ago. I have absolutely no idea why it doesn't work now.

After upload any sketch via Arduino IDE serial monitor looks like:
serial_monitor.jpg


philbowles wrote:...or buy a Wemos D1...

Of course maybe it's the simplest solution. But I just want to try fix that module... it will work... I hope ;)

Any other ideas?