Skip to main content
Arduino

Return to Question

Commonmark migration
Source Link

I am getting error on Serial monitor Soft WDT reset. I decoded the error code also and found the following stacktrace.

I am using SIM808 module and DFRobot_sim808 as the library.

0x4010030d: millis at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring.c line 180

0x401003b9: __digitalWrite at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring_digital.c line 82

0x40202863: sim808_wait_for_resp(char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 172

0x402027a4: sim808_send_byte(unsigned char) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 118

0x402028ce: sim808_check_with_cmd(char const*, char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 191

0x402025dc: DFRobot_SIM808::init() at Documents\Arduino\libraries\DFRobot_SIM808-master/DFRobot_sim808.cpp line 63

0x402024c1: setup at G:\Development\ESP8266\SIM Module\sim_module/sim_module.ino line 41 (discriminator 1)

0x40203248: loop_wrapper() at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_main.cpp line 122

0x40100e8d: cont_wrapper at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/cont.S line 81

I tried to find solution for the same everywhere but none found it. But the same code I am trying on arduino it works but not for ESP8266. I dont have long waiting loop(). But still it gives me error.

Below is the code for the same

#include <DFRobot_sim808.h>
#include <SoftwareSerial.h>
#define PHONE_NUMBER "********" 
#define MESSAGE "hello,world"
#define PIN_TX D1 
#define PIN_RX D0
SoftwareSerial mySerial(PIN_RX, PIN_TX);
DFRobot_SIM808 sim808(&mySerial);//Connect RX,TX,PWR,
void setup() {
 delay(1000);
 mySerial.begin(9600);
 Serial.begin(9600);
 while (!Serial) {
 ; // wait for serial port to connect. Needed for native USB
 }
 while(!sim808.init()) {
 delay(1000);
 Serial.print("Sim808 init error\r\n");
 } 
 Serial.println("Sim808 init success");
 Serial.println("Start to send message ...");
 sim808.sendSMS(PHONE_NUMBER,MESSAGE);
}
void loop() {
}

I am getting error on Serial monitor Soft WDT reset. I decoded the error code also and found the following stacktrace.

I am using SIM808 module and DFRobot_sim808 as the library.

0x4010030d: millis at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring.c line 180

0x401003b9: __digitalWrite at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring_digital.c line 82

0x40202863: sim808_wait_for_resp(char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 172

0x402027a4: sim808_send_byte(unsigned char) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 118

0x402028ce: sim808_check_with_cmd(char const*, char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 191

0x402025dc: DFRobot_SIM808::init() at Documents\Arduino\libraries\DFRobot_SIM808-master/DFRobot_sim808.cpp line 63

0x402024c1: setup at G:\Development\ESP8266\SIM Module\sim_module/sim_module.ino line 41 (discriminator 1)

0x40203248: loop_wrapper() at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_main.cpp line 122

0x40100e8d: cont_wrapper at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/cont.S line 81

I tried to find solution for the same everywhere but none found it. But the same code I am trying on arduino it works but not for ESP8266. I dont have long waiting loop(). But still it gives me error.

Below is the code for the same

#include <DFRobot_sim808.h>
#include <SoftwareSerial.h>
#define PHONE_NUMBER "********" 
#define MESSAGE "hello,world"
#define PIN_TX D1 
#define PIN_RX D0
SoftwareSerial mySerial(PIN_RX, PIN_TX);
DFRobot_SIM808 sim808(&mySerial);//Connect RX,TX,PWR,
void setup() {
 delay(1000);
 mySerial.begin(9600);
 Serial.begin(9600);
 while (!Serial) {
 ; // wait for serial port to connect. Needed for native USB
 }
 while(!sim808.init()) {
 delay(1000);
 Serial.print("Sim808 init error\r\n");
 } 
 Serial.println("Sim808 init success");
 Serial.println("Start to send message ...");
 sim808.sendSMS(PHONE_NUMBER,MESSAGE);
}
void loop() {
}

I am getting error on Serial monitor Soft WDT reset. I decoded the error code also and found the following stacktrace.

I am using SIM808 module and DFRobot_sim808 as the library.

0x4010030d: millis at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring.c line 180

0x401003b9: __digitalWrite at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring_digital.c line 82

0x40202863: sim808_wait_for_resp(char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 172

0x402027a4: sim808_send_byte(unsigned char) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 118

0x402028ce: sim808_check_with_cmd(char const*, char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 191

0x402025dc: DFRobot_SIM808::init() at Documents\Arduino\libraries\DFRobot_SIM808-master/DFRobot_sim808.cpp line 63

0x402024c1: setup at G:\Development\ESP8266\SIM Module\sim_module/sim_module.ino line 41 (discriminator 1)

0x40203248: loop_wrapper() at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_main.cpp line 122

0x40100e8d: cont_wrapper at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/cont.S line 81

I tried to find solution for the same everywhere but none found it. But the same code I am trying on arduino it works but not for ESP8266. I dont have long waiting loop(). But still it gives me error.

Below is the code for the same

#include <DFRobot_sim808.h>
#include <SoftwareSerial.h>
#define PHONE_NUMBER "********" 
#define MESSAGE "hello,world"
#define PIN_TX D1 
#define PIN_RX D0
SoftwareSerial mySerial(PIN_RX, PIN_TX);
DFRobot_SIM808 sim808(&mySerial);//Connect RX,TX,PWR,
void setup() {
 delay(1000);
 mySerial.begin(9600);
 Serial.begin(9600);
 while (!Serial) {
 ; // wait for serial port to connect. Needed for native USB
 }
 while(!sim808.init()) {
 delay(1000);
 Serial.print("Sim808 init error\r\n");
 } 
 Serial.println("Sim808 init success");
 Serial.println("Start to send message ...");
 sim808.sendSMS(PHONE_NUMBER,MESSAGE);
}
void loop() {
}
Source Link

Soft wdt reset error on NodeMCU (ESP8266)

I am getting error on Serial monitor Soft WDT reset. I decoded the error code also and found the following stacktrace.

I am using SIM808 module and DFRobot_sim808 as the library.

0x4010030d: millis at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring.c line 180

0x401003b9: __digitalWrite at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_wiring_digital.c line 82

0x40202863: sim808_wait_for_resp(char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 172

0x402027a4: sim808_send_byte(unsigned char) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 118

0x402028ce: sim808_check_with_cmd(char const*, char const*, DataType, unsigned int, unsigned int) at Documents\Arduino\libraries\DFRobot_SIM808-master/sim808.cpp line 191

0x402025dc: DFRobot_SIM808::init() at Documents\Arduino\libraries\DFRobot_SIM808-master/DFRobot_sim808.cpp line 63

0x402024c1: setup at G:\Development\ESP8266\SIM Module\sim_module/sim_module.ino line 41 (discriminator 1)

0x40203248: loop_wrapper() at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/core_esp8266_main.cpp line 122

0x40100e8d: cont_wrapper at AppData\Local\Arduino15\packages\esp8266\hardware\esp82662円.5.0\cores\esp8266/cont.S line 81

I tried to find solution for the same everywhere but none found it. But the same code I am trying on arduino it works but not for ESP8266. I dont have long waiting loop(). But still it gives me error.

Below is the code for the same

#include <DFRobot_sim808.h>
#include <SoftwareSerial.h>
#define PHONE_NUMBER "********" 
#define MESSAGE "hello,world"
#define PIN_TX D1 
#define PIN_RX D0
SoftwareSerial mySerial(PIN_RX, PIN_TX);
DFRobot_SIM808 sim808(&mySerial);//Connect RX,TX,PWR,
void setup() {
 delay(1000);
 mySerial.begin(9600);
 Serial.begin(9600);
 while (!Serial) {
 ; // wait for serial port to connect. Needed for native USB
 }
 while(!sim808.init()) {
 delay(1000);
 Serial.print("Sim808 init error\r\n");
 } 
 Serial.println("Sim808 init success");
 Serial.println("Start to send message ...");
 sim808.sendSMS(PHONE_NUMBER,MESSAGE);
}
void loop() {
}
lang-cpp

AltStyle によって変換されたページ (->オリジナル) /