-->
Page 1 of 2

what's the cause of exception reset 28 with epc1=0x4000df2f?

PostPosted: Fri Aug 16, 2019 10:18 am
by esp8266_abc
Very occationally, the ESP8266 module would reset with below bootup print:

Fatal exception (28):
epc1=0x4000df2f, epc2=0x00000000, epc3=0x00000000,
excvaddr=0x00000033, depc=0x00000000


What might be the cause?

Thanks!

Re: what's the cause of exception reset 28 with epc1=0x4000d

PostPosted: Sun Aug 18, 2019 6:18 pm
by davydnorris
A 28 error is caused by trying to read memory that you're not allowed to for some reason. Could be that you're going off the end of a memory location somewhere

Re: what's the cause of exception reset 28 with epc1=0x4000d

PostPosted: Wed Aug 21, 2019 10:01 am
by eriksl
The memory addressed is 0x0000007, which indeed cannot be read (zero page) and certainly not word aligned.

The offending code is at 0x4000df2f, if you can find the symbols in your code, you can debug the relevant code.

Re: what's the cause of exception reset 28 with epc1=0x4000d

PostPosted: Mon Aug 26, 2019 5:12 am
by esp8266_abc
Thanks!