-
Notifications
You must be signed in to change notification settings - Fork 53
wdt reset on example EchoBotESP8266 #31
Description
I tried to run the EcohBot-ESP8266 example, and it was run, WDT RESET will appear and I tried to track it using Deception Decoder, I am currently using ArduinoJson version 5.13.2 and I have tried the most recent version of the same result. here is the code and the results:
`
#include "arduino_secrets.h"
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <TelegramBot.h>
// Initialize Wifi connection to the router
const char* ssid = "xxxxxxxx";
const char* password = "xxxxxxxxxxxxx";
// Initialize Telegram BOT
const char BotToken[] = "xxxxxxxxxxxxxxx";
WiFiClientSecure net_ssl;
TelegramBot bot (BotToken, net_ssl);
void setup() {
Serial.begin(115200);
while (!Serial); // Wait for the Serial monitor to be opened
// attempt to connect to Wifi network:
Serial.print("Connecting Wifi: ");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
bot.begin();
}
void loop() {
message m = bot.getUpdates(); // Read new messages
if ( m.chat_id != 0 ){ // Checks if there are some updates
Serial.println(m.text);
bot.sendMessage(m.chat_id, m.text); // Reply to the same chat with the same text
} else {
Serial.println("no new message");
}
}`
this is the output from above:
`
SDK:3.0.0-dev(c0f7b44)/Core:2.5.0=20500000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1/BearSSL:6778687
Connecting Wifi: scandone
.....scandone
state: 0 -> 2 (b0)
.state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 6
cnt
connected with xxxxxxx
, channel 6
dhcp client start...
............ip:192.168.1.30,mask:255.255.255.0,gw:192.168.1.1
.
WiFi connected
pm open,type:2 0
no new message
there is no poison before the block. Expected poison address: 0x4006ed60, actual data: 0x00 0x00 0x00 0x00
block start: 4006ed64
Panic C:\Users\xxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266\umm_malloc\umm_malloc.c:853 check_poison_block
stack>>>
ctx: cont
sp: 3ffffcf0 end: 3fffffc0 offset: 01b0
3ffffea0: 3fffdad0 00000000 4006ed58 401007d3
3ffffeb0: 636f6c62 7473206b 3a747261 38302520
3ffffec0: 00000a78 00000005 711dd94d 00000000
3ffffed0: 4021e51c 4021e4c4 3fff18fc 3ffeeefc
3ffffee0: 3fffdad0 0000000e 3ffeee84 40206a74
3ffffef0: 3fffdad0 00000000 3ffeed5c 40100832
3fffff00: 3ffe89e3 3ffe887a 3fffff64 40100c4c
3fffff10: 3ffe85dd 3fffff40 3fffff64 40206fd4
3fffff20: 00000000 00000000 3ffeed58 40206ff0
3fffff30: 3fffdad0 00000000 3ffeed58 4020265c
3fffff40: 000001bb 0000000e 3ffeee84 3ffeeefc
3fffff50: 000001bb 3ffeed64 3ffe887a 3ffeeefc
3fffff60: 000001bb 3ffeed64 3ffe887a 402049ea
3fffff70: 40208218 dca79a95 3ffeed64 40203c67
3fffff80: 3fffdad0 3ffeee30 3ffeed58 40205798
3fffff90: 3fffdad0 3ffeee30 3ffeee84 402025de
3fffffa0: feefeffe 00000000 3ffeeecc 40207698
3fffffb0: feefeffe feefeffe 3ffe8558 40100cb9
<<<stack<<<`
