Cannot recover from Fatal exception (0): problem during boot

User avatar
beegee1962
Posts: 10
Joined: Fri Jan 08, 2016 11:11 am
Location: Manila, Philippines
Contact:

Re: Cannot recover from Fatal exception (0): problem during boot

Postby beegee1962 » Thu Jan 28, 2016 10:41 am

Admin wrote:Would you like to ship your dead module to us? we have very strict RMA policies and we would like to conduct a postmortem on this. There are many possibilities and for this case, the manufacturing process has been rather convoluted from a module house to Adafruit to you. it may be hard for us to pin-point the failure mode. But the usual suspects are ESD or ill-designed power supplies, failure of the flash, or even the capacitor and of course, failure of the chip is a possibility. But because we have done so much testing on our chip, we think that this is absolutely the least probable cause.

.......

If you are using a module other than WROOM modules, it's possible that some manufacturers are not using Espressif's recommended BOM list.

We would be glad to replace your part, if you could send it to us, at our expense, for more analysis.


Yeah, I can send you the part (at your expense) if you are really interested.
Please check the attached pictures of the current status of the board:
PHOTO_20160128_102936.jpg
Bottom
PHOTO_20160128_102836.jpg
Top

Please be aware that the connector pins on the board suffered by the desoldering from the Adafruit HUZZAH carrier board.
Would you like me to send both the ESP8266 module and the Adafruit HUZZAH carrier board?
In case the Espressif SOIC was not destroyed by ESD, will you send me a replacement?
Please send me a private message with the shipment details.

Admin
Site Admin
Posts: 41
Joined: Mon Jan 13, 2014 11:18 am

Re: Cannot recover from Fatal exception (0): problem during boot

Postby Admin » Thu Jan 28, 2016 3:02 pm

Please send us both. We are curious why it dies. And for your case, we will be glad reimburse for both the board and the module. We will make the results of our debugging available when it's done.

User avatar
beegee1962
Posts: 10
Joined: Fri Jan 08, 2016 11:11 am
Location: Manila, Philippines
Contact:

Re: Cannot recover from Fatal exception (0): problem during boot

Postby beegee1962 » Thu Jan 28, 2016 5:10 pm

Admin wrote:Please send us both. We are curious why it dies. And for your case, we will be glad reimburse for both the board and the module. We will make the results of our debugging available when it's done.


Ok, it is a pleasure if I can help you.
Please send me shipment details, I will send you both parts.

pk_rulz
Posts: 2
Joined: Sun Feb 28, 2016 12:06 am

Re: Cannot recover from Fatal exception (0): problem during boot

Postby pk_rulz » Sun Feb 28, 2016 12:12 am

Now that the module is dead this cant be tested but one of the issues could be this.

If GPIO2 is held even slightly low during boot and GPIO0 is held floating, ESP8266 runs with the same error message of fatal exception on the magic baud rate that you ended with up.

There is a a possibility that something on the RF-12 board or your PCB was causing GPIO2 to held lower than the required voltage.

But now that the board is dead it cant be tested.
However please let us know if you specifically tested this. Typically connecting GPIO2 to Vcc via a 10k solves this problem

shashank0792
Posts: 1
Joined: Wed Mar 02, 2016 2:12 pm

Re: Cannot recover from Fatal exception (0): problem during boot

Postby shashank0792 » Wed Mar 02, 2016 2:31 pm

Hii,
Please help me. I am also facing the exact problem what he had faced. Exact same Fatal exception (0): while booting time. I don't know why esp8266-01 behaving like this. Yesterday, when I was using esp its working fine for sometime but after 5min it starts booting again i mean reset, showing same error what he had got. same thing like what I see on my serial monitor is
load 0x3ffe8000, len 788, room 4
tail 0
chksum 0x50
load 0x3ffe8314, len 264, room 8
tail 0
chksum 0x4a
csum 0x4a

2nd boot version : 1.1
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 32Mbit
jump to run user1

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

I read datasheet, some articles of esp8266 before using it. Powersupply is okay ie 3.3v which I give through asm1117. One more thing, when we give the power to esp-01, after 3-4 min its automatically restarting again and again and red led turn off. I don't know why esp is behaving like this.

Please reply on this, I am trying from last 10 days and seriouslly now I fed up.

Thanks
Shashank Arora

tomchees
Posts: 3
Joined: Wed Apr 13, 2016 6:13 am

Re: Cannot recover from Fatal exception (0): problem during boot

Postby tomchees » Wed Apr 13, 2016 6:30 am

Hi,

+1 to the issue report above.
Yesterday my module started to return the same error at bootup:

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 0x50
load 0x3ffe8314, len 264, room 8
tail 0
chksum 0x4a
csum 0x4a

2nd boot version : 1.1
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size : 32Mbit
jump to run user1

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


Fatal exception seems to happen only when "user1.bin" code is being executed. When i tried to flash everything except user1.bin, there's no exception, only the "user code done" message.
There was no special situation causing the module to give this error - it happened just after one of the power cycles.

Is that possible that one of the eFuses was blown accidentally due to e.g. too slow or too fast Vdd ramp up?

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

Re: Cannot recover from Fatal exception (0): problem during boot

Postby ESP_Faye » Thu Apr 14, 2016 5:51 pm

Hi,

Please refer to documentation 2A-ESP8266-SDK__Getting_Started_Guide to download bin files into Flash.

To download user1.bin, it should be
boot_v1.5.bin downloads to flash 0x00000.
user1.bin downloads to flash 0x01000.
If your flash size is 8Mbit, download blank.bin into 0xfe000.

Thanks for your interest in ESP8266!

tomchees
Posts: 3
Joined: Wed Apr 13, 2016 6:13 am

Re: Cannot recover from Fatal exception (0): problem during boot

Postby tomchees » Fri Apr 15, 2016 6:10 am

Thank you for your advice.
Even though I followed the instruction I'm getting the same error. I suspect the chip might be broken (by ESD?) as it behaved properly so far and now I'm not able to make it start any user code.

What is strange, I can see efuse errors reported by the flash download tool. I do not observe this kind of error with my second module. Please compare the two logs below:

non-working module:

Code: Select all

test baudrate:  9600
test baudrate selection:   0
tout as adc
RF option applied...
(True, [])
test running : False
serial port opened
Connecting...
chip sync ok!
0x3ff00050: a8070001
0x3ff00054: 0212126a
0x3ff00058: 6548b001
0x3ff0005c: 205ccf7f
EFUSE MODE : 1
reg0:a8070001
reg1:0212126a
reg2:6548b001
reg3:205ccf7f
check_err_0: 0b
check_err_1: 02
check_err_2: 01
check_err_3: 02
check_err_4: 0b
====================
EFUSE NORMAL MODE
====================
bit[125:124] error
bit[1:0] error
=========================
CRC IN MODE 1:
crc_calc_res: 100
target crc val: 101
=========================
bit[119:96] crc error
=========================
CRC IN MODE 1:
crc_calc_res: 38
target crc val: 7
=========================
bit[47:24] crc warning
efuse warning found...



==================
EFUSE LOG:
======================
EFUSE LOG:
---------------
REG0:A8070001
REG1:0212126A
REG2:6548b001
REG3:205CCF7F
----------------
====================
EFUSE NORMAL MODE
====================
EFUSE VAL ERROR...
EFUSE CRC ERROR...
EFUSE VAL WARNING...
EFUSE CRC WARNING...

=================
reg2>>13: 5
=================
48bit mac
debug:
-----------------------
 5c cf 7f 12 6a a8
ID FOR XM: 06 54 80 01 01 20 70 00
XM_ID: 0654800101207000
-----------------------
crc_efuse_4bit: 0
crc_calc_4bit: 8
48bit mac
MAC AP : 5E-CF-7F-12-6A-A8
MAC STA: 5C-CF-7F-12-6A-A8
get mac res:  True
('tttest uuuuuuuuuuart : uart reg: ', 236)
(' baudrate: ', 230400)
get crystal: 27187200
head: 0 ;total: 0
erase size : 0
get flash id : 0xff1640e0
 manufacturer_id: 0xe0

 device_id: 0x4016

vendor: 224
mode: 64
size: 22
com closed




working module:

Code: Select all

test baudrate:  9600
test baudrate selection:   0
tout as adc
RF option applied...
(True, [])
test running : False
serial port opened
Connecting...
chip sync ok!
0x3ff00050: 7b6a0000
0x3ff00054: 02001269
0x3ff00058: 6400b000
0x3ff0005c: 005ccf7f
EFUSE MODE : 1
reg0:7b6a0000
reg1:02001269
reg2:6400b000
reg3:005ccf7f
check_err_0: 0b
check_err_1: 00
check_err_2: 00
check_err_3: 02
check_err_4: 0b
====================
EFUSE NORMAL MODE
====================
=========================
CRC IN MODE 1:
crc_calc_res: 100
target crc val: 100
=========================
=========================
CRC IN MODE 1:
crc_calc_res: 106
target crc val: 106
=========================



==================
EFUSE LOG:
======================
EFUSE LOG:
---------------
REG0:7B6A0000
REG1:02001269
REG2:6400b000
REG3:005CCF7F
----------------
====================
EFUSE NORMAL MODE
====================
EFUSE CHECK PASS...
=================
reg2>>13: 5
=================
48bit mac
debug:
-----------------------
 5c cf 7f 12 69 7b
ID FOR XM: 06 40 00 00 00 06 A0 00
XM_ID: 064000000006A000
-----------------------
crc_efuse_4bit: 0
crc_calc_4bit: 10
48bit mac
MAC AP : 5E-CF-7F-12-69-7B
MAC STA: 5C-CF-7F-12-69-7B
get mac res:  True
('tttest uuuuuuuuuuart : uart reg: ', 236)
(' baudrate: ', 230400)
get crystal: 27187200
head: 0 ;total: 0
erase size : 0
get flash id : 0xff1640e0
 manufacturer_id: 0xe0

 device_id: 0x4016

vendor: 224
mode: 64
size: 22
com closed


Does the efuse warning and error indicate some chip failure?

JLC
Posts: 3
Joined: Mon Apr 18, 2016 2:20 am

Re: Cannot recover from Fatal exception (0): problem during boot

Postby JLC » Mon Apr 18, 2016 3:49 am

Hi All:
I have the same problem with ESP8266-07 from AI-THINKER.

the basic hardware setup was:

VCC = 3.3 v (3.24 read with multimeter and the DC current Consumption is alway about 30 mA to 50 ma)

FTDI usb serial interface form SparkFun work well for programming SparkFun The Thing. The Power Supply for the SparkFun is the from the USB using the FTDI basic break out board.

the ESP8266-07 HW config:

CH_PD -> 10kohm ->VCC
GPIO 0 -> 10Kohm ->VCC (GPIO 0 -> Push Button "PROGRAM" -> GND)
GPIO 15 -> 10Kohm ->GND
REST ->10Kohm - VCC (REST - Push Button "RESET" ->GND)

(see the hardware configuration and program procedure in
http://ediy.com.my/blog/item/133-upload ... rduino-ide)

I had programmed the module with Arduino IDE 1.6.8 on MAC osxI tried all the steps (regrading the changes of the FTDI basic break out) and all workers Fine!

However, then, I put some leds and a button:

GPIO 12, 13, 14 to each RGB led and 3,3 Kohm to GND

GPIO 16 push button to GND (then I changed it to GPIO 4 since GPIO 16 has not internal pull up resistor. )

and the problem began.....

Suddenly the ESP8266-07 module starts with the Blue led light Constant and sent the fatal exception (0)....
I had tried to re program and the same problem. some times the terminal (putty or Tera term in Windows shows garbage in all baud rates)

I have been reading all the post and this is the most complete....

1) I tried fe flashing the original Firwmware with several programs the ESP_DOWNLOAD_TOOL_V2.4 and the programming is OK, but at restart the same problem. I have used



2) I have used the NODEMCU FIRMWARE PROGRAMMER and the Programming was fine but, always the same problem...blue light constant and fatal exceptions....

3) I installed the esptool.py and made several test: get chip_id, read_mac, write_flash, erase_flash, and verify_flash....all the tests were ok, but the result is the same....

(I have used the "v0.9.2.2 AT Firmware.bin" to test the esptool.py, but i used "_" instead of " " in the name)

Finally, I attached the screenshot of each test....

I have read that perhaps I need to connect a pull up resitor to GPIO 2 in order to make sure that this pin was High at boot time....but I record with voltimeter the voltage at this pin at boot time and it is in 3.24 V.....

Always blue light is constant and fatal exception...do you have any Idea?

I will try with another module but I need before if it is a software problem, an electric problem or the module is broken.

Thank you
best regards
Attachments
esptool_py.tiff
esptool_py.tiff (76.58 KiB) Viewed 2912 times
arduino esp8266-07.tiff
arduino esp8266-07.tiff (365.87 KiB) Viewed 2912 times
nodemcu fW P.tiff
nodemcu fW P.tiff (2.08 MiB) Viewed 2912 times
ESP tool 2.4 .tiff
ESP tool 2.4 .tiff (614.05 KiB) Viewed 2912 times

tomchees
Posts: 3
Joined: Wed Apr 13, 2016 6:13 am

Re: Cannot recover from Fatal exception (0): problem during boot

Postby tomchees » Wed Apr 20, 2016 8:45 pm

@JLC
Could you post the photos of your ESP8266-07 module? Both sides, top and bottom. And the 3.3V voltage regulator.
I'd like to compare it with my setup.

Who is online

Users browsing this forum: No registered users and 2 guests