First time execution, after uploading -> OK, with both MQTT publishing and subscribing.
Second time execution, after hardware reset -> BOOTLOOP with exceptions (Panic umm_malloc.cpp:458 umm_malloc_core or exception 28).
Successive executions fail (-> BOOTLOOP), unless I first upload this sketch (the 2 lines below) and then upload and execute the BasicUse-sketch again.
void setup() {
WiFi.softAPdisconnect(true);
WiFi.disconnect(true);
}
Nothing, up to now, helps (tried ESP.eraseConfig(); complete erase with esptools) although wifiManager.resetSettings(); seems to be of influence on the process.
What's suddenly wrong. It worked for years. I can't wrap me head around it. Is there a problem with access to the saved wifi credentials? Any help will be greatly appreciated.
ESPHelper example: BasicUse (with Arduino 1.8.13 and ESP-core 2.7.4)
Sibbele Oosterhaven
Attachtment:
Example code basicUse (ESPHelper), with stack dump and output Exception decoder