ESP8266 Restart loop

paweb
Posts: 3
Joined: Tue May 23, 2017 3:02 am

ESP8266 Restart loop

Postby paweb » Tue May 23, 2017 3:46 am

Hi

I've got ESP8266 12E module with adapter for prototyping. Everything works fine but now esp throws some error and reset:

Code: Select all

Fatal exception 0(IllegalInstructionCause):
epc1=0x40201494, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22

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

����n��r��n|� l lll`b� �|r�l�n� �n�ll`��r�l�l� �l`��r�l�l� l`��r�l ��� ll`rl��rl���b ��bp| bp���p���b ��n�nn� ll�� l�� l�l��� �l�rrl�n����b ll� � b ���b l �brlrl
ready

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22

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


and over again and again :(

I try flash like this:

Code: Select all

python ./esptool.py --port=/dev/cu.SLAB_USBtoUART write_flash -fm=dio -fs=detect 0x00000 ../AT/boot_v1.7.bin 0x001000 ../AT/user1.1024.new.2.bin 0x3fc000 ../AT/esp_init_data_default.bin 0x7e000 ../AT/blank.bin 0x3fe000 ../AT/blank.bin


i try boot v 1.2 1.6 and 1.7 and it's the same :(

What do you think ? Did i destroy flash module ?
Attachments
6 (1).jpg
Last edited by paweb on Tue May 23, 2017 5:48 pm, edited 1 time in total.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: ESP8266 Restart loop

Postby ESP_Faye » Tue May 23, 2017 4:10 pm

Hi,

Please try

Code: Select all

python ./esptool.py --port=/dev/cu.SLAB_USBtoUART write_flash -fm=dio -fs=detect 0x00000 ../AT/boot_v1.7.bin 0x001000 ../AT/user1.1024.new.2.bin 0x3fc000 ../AT/esp_init_data_default.bin 0x3fe000 ../AT/blank.bin


And call "AT+RESTORE" to initialize it at first startup.

If your problem is still unsolved, please feel free to let us know.

paweb
Posts: 3
Joined: Tue May 23, 2017 3:02 am

Re: ESP8266 Restart loop

Postby paweb » Tue May 23, 2017 10:34 pm

Thx i will try this. But i bought today another ESP can i dump all of flash from brand new one and write it to the broken ?

paweb
Posts: 3
Joined: Tue May 23, 2017 3:02 am

Re: ESP8266 Restart loop

Postby paweb » Wed May 24, 2017 1:42 am

ESP_Faye wrote:Hi,

Please try

Code: Select all

python ./esptool.py --port=/dev/cu.SLAB_USBtoUART write_flash -fm=dio -fs=detect 0x00000 ../AT/boot_v1.7.bin 0x001000 ../AT/user1.1024.new.2.bin 0x3fc000 ../AT/esp_init_data_default.bin 0x3fe000 ../AT/blank.bin


And call "AT+RESTORE" to initialize it at first startup.

If your problem is still unsolved, please feel free to let us know.



unfortunatly still broken, even worse :(

Code: Select all

Fatal exception 0(IllegalInstructionCause):
epc1=0x40201494, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

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

load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22

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



After few of restart i can run AT+RESTORE but after this when ESP again turn "restart mode" :P

Code: Select all

PORT OPEN 115200

Communication with MCU...
Got answer! AutoDetect firmware...

AT-based firmware detected.
AT+GMR
AT version:1.4.0.0(May  5 2017 16:10:59)
SDK version:2.1.0(116b762)
compile time:May  5 2017 16:37:48
OK
AT+CWMODE=3

OK
AT+CWJAP="paweb","QUQAAEKI"

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22

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

����n��r��n|� l lll`b� �|r�l�n� �n�ll`��r�l�l� �l`��r�l�l� l`��r�l ��� ll`rl��rl���b ��bp| bp���p���b ��n�nn� ll�� l�� l�l��� �l�rrl�n����b ll� � b ���b l �brlrl
ready
WIFI DISCONNECT

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22

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

����n��r��n|� l lll`b� �|r�l�n� �n�ll`��r�l�l� �l`��r�l�l� l`��r�l ��� ll`rl��rl���b ��bp| bp���p���b ��n�nn� ll�� l�� l�l��� �l�rrl�n����b ll� � b ���b l �brlrl
ready

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22

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



I record some movie how it looks like:

https://youtu.be/kMqnGvEzae4

ESP connected to:

VCC 3V3
CH_PC - > 3V3
GND -> GND
GPIO15 -> GND

adapter had included resistor

Her Mary
Posts: 537
Joined: Mon Oct 27, 2014 11:09 am

Re: ESP8266 Restart loop

Postby Her Mary » Wed May 24, 2017 10:12 am

In fact, "ready" means that the AT core started up correctly and ready to receive any AT commands.
Maybe you can try: python ./esptool.py --port=/dev/cu.SLAB_USBtoUART write_flash -fm=qio -fs=detect 0x00000 ../AT/boot_v1.7.bin 0x001000 ../AT/user1.1024.new.2.bin 0x7e000 ../AT/blank.bin 0x3fb000 ../AT/blank.bin 0x3fc000 ../AT/esp_init_data_default.bin 0x3fe000 ../AT/blank.bin

Who is online

Users browsing this forum: No registered users and 3 guests