PixelTimes
PixelTimes copied to clipboard
ESP8266 Crashes - 'ISR not in IRAM!'
Hi Dominic,
Thank you for this entertaining project.
However, I am unable to get it running on a 64x32 P3 display.
I have followed the instructions and installed the libraries required, but get an error whenever the ESP8266 connects with the router. (I have replaced it with the regular WifiUDP library as well to see if its a connection problem but the result is the same).
" wifi connected ok 192.168.1.109 ISR not in IRAM!
User exception (panic/abort/assert) --------------- CUT HERE FOR EXCEPTION DECODER ---------------
Abort called " Are there steps to take to solve this problem? Please let me know what information I can further provide. Thank you for your time!
Add void ICACHE_RAM_ATTR before the button_pressed() method so it becomes:
void ICACHE_RAM_ATTR button_pressed()
{
// method content here
}
See https://stackoverflow.com/questions/58113937/esp8266-arduino-why-is-it-necessary-to-add-the-icache-ram-attr-macro-to-isrs-an
If you don't have any button, you can also simply comment out the following line: https://github.com/2dom/PixelTimes/blob/ba172994ed3afefad606e8d237d9e1489e50faf2/PixelTimes.ino#L551