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

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
User avatar
pythoncoder
Posts: 5140
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

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

Post by pythoncoder » Thu Apr 23, 2020 6:01 am

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?
Peter Hinch

Damien
Site Admin
Posts: 642
Joined: Mon Dec 09, 2013 5:02 pm

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

Post by Damien » Thu Apr 23, 2020 6:17 am

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.

Damien
Site Admin
Posts: 642
Joined: Mon Dec 09, 2013 5:02 pm

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

Post by Damien » Sat May 02, 2020 4:34 am


Post Reply