-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
Running ESP32_ID4 Wifi cause "E (506885) task_wdt: Task watchdog got triggered." #2588
Comments
sample coding wifi.disconnect(() => {
wifi.connect(ssid, {password: password}, function(e) {
if (e === null ) {
print("wifi: connected");
print("mqtt: connect to broker");
mqtt = require("tinyMQTT").create("test.mosquitto.org");
mqtt.connect(); // was missing
mqtt.on('connected', function() {
print("mqtt: connected");
});
} else {
print("wifi: connect error:",e);
}
});
}); Same behavior with tinyMQTT |
@gfwilliams Any clue what is causing this? |
Not exactly, no... But the way networking usually works in Espruino, the If the WDT fails, presumably it's blocking in that function which it shouldn't? It might be worth adding some print statements to check if it is blocking or if it's just chance the backtrace included it. But actually I think in other builds like C3 we might try and disable task_wdt causing a reboot so maybe it's a sdkconfig issue? Even if that's the case we should probably fix the |
Just set |
Find on ESP32_IDF4 build, It does not happen for ESP32 builds - It happens sporadicly . Can anyone else please check this or try this for a ESPC3_IDF4 or ESP32S6_IDF4 board.
version info
Striped down sample coding
output
backtrace info CPU 0
backtrace info CPU 1
The text was updated successfully, but these errors were encountered: