Open simmtek opened 4 years ago
Exception (28) Don't know how to solve this without more info Have you changed the stock code? except for the wifi name and password does your esp boot normally and discover the devices? is it only when you ask her to change state of the switches it crashes? Exception 28 is an illegal stack call or invalid pointer address, you could be changing something while stuck in a loop
some people have said they get exception 28 on the esp8266 and with the same code runs fine on an esp32, others connecting to home wifi it crashes but on the office wifi it's ok, losing internet connection and sending a request seems to be the most common cause, there is a tool called GDB https://github.com/esp8266/Arduino/tree/master/libraries/GDBStub never used it but it can track and trace all the calls in your program and show you where the error comes from.
I code change except WiFi etc, I will try a ESP32 when it comes, as I thought I’d try that anyway
Sent from Yahoo Mail for iPhone
On Monday, February 10, 2020, 8:25 pm, PetRatty notifications@github.com wrote:
Exception (28) Don't know how to solve this without more info Have you changed the stock code? except for the wifi name and password does your esp boot normally and discover the devices? is it only when you ask her to change state of the switches it crashes? Exception 28 is an illegal stack call or invalid pointer address, you could be changing something while stuck in a loop
some people have said they get exception 28 on the esp8266 and with the same code runs fine on an esp32, others connecting to home wifi it crashes but on the office wifi it's ok, losing internet connection and sending a request seems to be the most common cause, there is a tool called GDB https://github.com/esp8266/Arduino/tree/master/libraries/GDBStub never used it but it can track and trace all the calls in your program and show you where the error comes from.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thank you for the reply It does boot normally and connects to WiFi too, that exception only happens the instant I ask Alexa to discover new device
Regards, Kevin Sent from Yahoo Mail for iPhone
On Monday, February 10, 2020, 8:25 pm, PetRatty notifications@github.com wrote:
Exception (28) Don't know how to solve this without more info Have you changed the stock code? except for the wifi name and password does your esp boot normally and discover the devices? is it only when you ask her to change state of the switches it crashes? Exception 28 is an illegal stack call or invalid pointer address, you could be changing something while stuck in a loop
some people have said they get exception 28 on the esp8266 and with the same code runs fine on an esp32, others connecting to home wifi it crashes but on the office wifi it's ok, losing internet connection and sending a request seems to be the most common cause, there is a tool called GDB https://github.com/esp8266/Arduino/tree/master/libraries/GDBStub never used it but it can track and trace all the calls in your program and show you where the error comes from.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I have this issue
I fixed this by changing char packetBuffer[512]; to char packetBuffer[1024];
at around line 5 in WemoManager.cpp
Exception (28): epc1=0x4020b2d2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000004 depc=0x00000000
ctx: cont sp: 3ffffce0 end: 3fffffd0 offset: 01a0