Exception 28
Posted: Thu Mar 21, 2019 5:11 am
Hi all,
I have a project where I have 6 ESP8266 all publishing to MQTT and all works fine.
I wanted one to have a battery backup, so I purchased a Wemos board (with battery & OLED).
I tested the controller with a Blinky & it worked OK However when I loaded up the code that worked OK, it basically crashed & goes into cyclic resets.
With some debug statements I determined that it crashes when it executes setup_wifi(); and generates exception (28).
Which according to the good book is caused by
28
LoadProhibitedCause
A load referenced a page mapped with an attribute that does not permit loads
Region Protection or MMU
Loading any code from the other ESP8266's ( which all run different code) also crash when I put them in the Wemos board. So, I don't believe it is caused by any code issues, but I suspect it is some factory configuration setting in the ESP8266 for that ESP8266 ( a Wemos unit ).
All my other boards have a different manufacture ESP module.
How do I reconfigure or is it stuffed?
I notice that there is a lot of discussion about this error, but not many solutions.
At this stage, I may just have to throw the board away, or unsolder the ESP8266 & replace it with another.
Any ideas are welcome!
edit.
PS. I installed the ESP crash reporter, but I was unable to actually "paste" the trace.
I have a project where I have 6 ESP8266 all publishing to MQTT and all works fine.
I wanted one to have a battery backup, so I purchased a Wemos board (with battery & OLED).
I tested the controller with a Blinky & it worked OK However when I loaded up the code that worked OK, it basically crashed & goes into cyclic resets.
With some debug statements I determined that it crashes when it executes setup_wifi(); and generates exception (28).
Which according to the good book is caused by
28
LoadProhibitedCause
A load referenced a page mapped with an attribute that does not permit loads
Region Protection or MMU
Loading any code from the other ESP8266's ( which all run different code) also crash when I put them in the Wemos board. So, I don't believe it is caused by any code issues, but I suspect it is some factory configuration setting in the ESP8266 for that ESP8266 ( a Wemos unit ).
All my other boards have a different manufacture ESP module.
How do I reconfigure or is it stuffed?
I notice that there is a lot of discussion about this error, but not many solutions.
At this stage, I may just have to throw the board away, or unsolder the ESP8266 & replace it with another.
Any ideas are welcome!
edit.
PS. I installed the ESP crash reporter, but I was unable to actually "paste" the trace.