Page 2 of 2

Re: Can anyone decode this ESP8266 core dump? [SOLVED] please read!

Posted: Thu Apr 23, 2020 6:01 am
by pythoncoder
Damien wrote:
Thu Apr 23, 2020 5:38 am
...
Regarding the I2C timeout: this seems like an independent problem, and I don't have any ideas about it yet.
I have now demonstrated that the I2C timeout occurs in my code if the ISR isn't serviced. I therefore think that in most failure cases the IRQ is ignored. Occasionally it crashes.

I'd be glad to test your patch.

AAMOI why does pinging make this go away?

Re: Can anyone decode this ESP8266 core dump? [SOLVED] please read!

Posted: Thu Apr 23, 2020 6:17 am
by Damien
pythoncoder wrote:
Thu Apr 23, 2020 6:01 am
why does pinging make this go away?
Maybe because with wifi power saving now enabled (which is perhaps why it wasn't seen before), when the power saving feature runs it runs in a certain location in flash which aliases to the same cache location that pin_intr_handler was in, and evicts the pin_intr_handler code from the cache. When pinging the power saving code is never run so pin_intr_handler stays in cache.

Re: Can anyone decode this ESP8266 core dump? [SOLVED] please read!

Posted: Sat May 02, 2020 4:34 am
by Damien