Olimex Support Forum

Microcontrollers => ESP8266 => Topic started by: soloflight on December 22, 2018, 06:59:48 PM

Title: Unable to boot/upgrade MOD-WIFI-ESP8266-DEV
Post by: soloflight on December 22, 2018, 06:59:48 PM
Hello,

I have 3 pieces of MOD-WIFI-ESP8266-DEV.

2 of them are working fine and updated to 1.6.2 via AT+CIUPDATE.

the last one refuses to boot or to start in UART mode.

the only messages i got from the terminal at 74880 bauds is :

ets Jan  8 2013,rst cause:1, boot mode:(3,7) when booting normal (flash mode)

&

ets Jan  8 2013,rst cause:1, boot mode:(1,5) when booting in UART mode (button pressed ) when powering

any idea/method to put a firmware ( i want to use AT commands).

Thank you for any help

Laurent




Title: Re: Unable to boot/upgrade MOD-WIFI-ESP8266-DEV
Post by: LubOlimex on January 03, 2019, 11:13:58 AM
Erase the SPI flash and re-write. I've seen such reports, for example here: https://github.com/esp8266/Arduino/issues/1328

Try with the older firmware that I've described here: https://www.olimex.com/Products/IoT/_resources/ESP8266EX-how-to-update-firmware.pdf
Title: Re: Unable to boot/upgrade MOD-WIFI-ESP8266-DEV
Post by: soloflight on January 07, 2019, 07:01:50 PM
Hello Lub,

I had ti use newer version of ESP Tools to erase SPI flash...but not sure if i erased

the problem seems that when booting the ESP is in 74880 bps and the tool doesn't propose the speed (so i'm selecting 115200)

When trying to download anything, i get

CONNECT BAUD: 115200
============
.Uploading stub...
Running stub...
Stub running...
24bit mac
('chip_flg', 5L)
[2019-01-07 17:57:22,924][ESP8266Loader_spi[1]][espDown
R]: ESP8266 Chip flash download error esp_write_flash.

And the detected infos are :

flash vendor:
00h : N/A
flash devID:
0000h
N/A;N/A
crystal:
26 Mhz

Title: Re: Unable to boot/upgrade MOD-WIFI-ESP8266-DEV
Post by: LubOlimex on January 09, 2019, 11:59:13 AM
Hmm maybe this would be helpful read: https://github.com/espressif/esptool/issues/380 - same error reports.