-->
Page 1 of 1

Fatal exception (3)

PostPosted: Fri Dec 23, 2016 10:18 am
by Mirmit
I'm using a Wemos D1R2 clone board with Arduino 1.6.12 IDE.

When my board start, whatever sketch, I get a fatal exception (3).

For the simple blink.ino sketch, the startup output is:
ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
Fatal exception (3):
epc1=0x40203c7c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40000000, depc=0x00000000
Fatal exception (3):
epc1=0x40203c7c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40000000, depc=0x00000000

I've erased the flash with the method described at http://www.pratikpanda.com/completely-f ... sh-memory/, to clean the system, without more success.

How can I sort out this issue?

Re: Fatal exception (3)

PostPosted: Sat Dec 24, 2016 2:26 am
by Mirmit
After further searches and try, I found the esptool.py and being able to erase the flash to return to a normal condition.

Here are the steps I followed:
Install the tool with the command
Code: Select allpython -m pip install esptool

and
Code: Select allpython setup.py install


then

Code: Select allesptool.py -p com9 erase_flash


I've been the able to download my sketch and run it.

Re: Fatal exception (3)

PostPosted: Thu Dec 28, 2017 10:53 pm
by Tanmay Sathe
It worked for me! Thank you very much.