New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception (28) #1275
Comments
Check out exception causes list and GDBStub library which may help you debug this issue. Note: GDBStub got updated recently. I suggest trying the latest git version. |
Awesome, thanks! I'll take a look at it :) |
AWESOME! I learned so much from this :) I ended up making a stupid mistake. For people getting the same problem later on, follow the steps above. Once you're in |
@svdgraaf
|
I had a loop somewhere where it shouldn't be ;) Just try to setup the debugger, you'll get a lot more information as a bonus :) |
Hi @svdgraaf , would you mind sharing how you get the gdb lib setup? |
@HW-Siew check out the description on the GDBStub page: https://github.com/esp8266/Arduino/tree/master/libraries/GDBStub You have to include the library (download and put it somewhere in the Arduino path), run the included python tool (tcp_serial_redirect.py), leave it running, and connect to it with the When the software on your esp crashes, exit the You can get a backtrace on the |
I'd like to use GDBSub but I'm using Arduino IDE with my ESP8266 on Windows 10. The GDBStub setup looks like it requires Linux. Is there a way I can use GDBStub with my Arduino IDE on Windows? |
Hi @aliceand, how could you solve your problem? i have de same problem :( |
Got the same too. I lt keeps crashing with Exception 28 bit only with an ESP8266. My ESP32 is working fine with the same code. This issue only exists with my private WiFi. At work its working like a charm. It connects to WiFi and got an IP but than keeps crashing before the first http-call. |
This is a closed issue. If you need help, follow the rule: read the doc (policy, troubleshooting) and: Open a new issue with a minimal sketch reproducing the error. |
That's a 404 now. Seems it's now https://github.com/esp8266/Arduino/blob/master/doc/exception_causes.rst. |
Go the same error. Reset the NodeMCU 8266-12E, It runs for 1 min more or less perfectly, then ….error. Exception (28): ctx: cont
|
The command line for tcp_serial_redirect.py does not work with the one I found at https://github.com/pyserial/pyserial/blob/master/examples/tcp_serial_redirect.py
Are there other like-named Edit: |
How to fix this , i use nodeMCUError : stack>>> ctx: cont ets Jan 8 2013,rst cause:2, boot mode:(1,6) ets Jan 8 2013,rst cause:4, boot mode:(1,6) wdt reset Source Code : #include <ESP8266WiFi.h> #define LED 14 //D3 const char* ssid = "Telegram"; WiFiClientSecure net_ssl; void setup() { bot.begin(); pinMode(LED, OUTPUT); void loop() { message m = bot.getUpdates(); if (m.text.equals("on")){ }else if (m.text.equals("off")){ Board : NodeMCU 1.0 (ESP-12E Module) Please help, |
i started the connection to wifi again before to use the http.begin(). it worked for me |
I am having the same issue as the above comments, has anyone been able to find a solution to this issue? |
I'm running into an issue, but I don't know where I can find the type of exception I'm getting:
I saw some issues mentioning memory usage, but I'm not sure if that's the case here.
Can someone give me any pointers? Where could I find a list of the exceptions that there are? Where can I read some more? :)
The text was updated successfully, but these errors were encountered: