Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Core dump after reboot device

Hello i have problem my application works until the device is reset. When I reset device I have CORE DUMP saved in log.txt Everything works ok when I do not use one of the arduino libs.

load('api_arduino_onewire.js');
load('api_arduino_dallas_temp.js');
load('api_arduino_dht.js');
load('api_arduino_PWMServoDrive.js');
load('api_arduino_Adafruit_ADS1015.js');
load('api_arduino_DS3231.js');
load('api_rpc.js');
load('api_gpio.js');
load('api_timer.js');
load("api_config.js");
load("api_sys.js");
load("api_file.js");

Can someone tell me how to make my application work? What i did wrong? I use WeMos esp8266 32mb and js.

Comments

  • SergeySergey Dublin, Ireland
    edited September 10
    [Sep 10 20:59:17.936] SW WDT @ 0x40106b99
    

    Watchdog timer. Something in your code made it work for a long time without feeding the dog, and the dog killed the app.
    Usually that happens if the app is doing a long an expensive computation during TLS handshake,
    or enters some busy loop, or does too verbose debugging that takes time.

    Disable parts of your firmware and reduce the log level, until you find out what makes it crash.

Sign In or Register to comment.