Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Laerke
#70842 Hello all,

I am facing a problem when an ESP module stops responding after some hours of operation. It pass from a couple of hours to 2-3 days before it happens. The module reads temperature data from a ds18b20 sensor every 5 seconds and calculates timeON for a relay. Furthermore, the module is listening to a port and sends the temperature data out (just a few bytes) on request over WIFI.
Trying to investigate it a bit, I to connected to a pc monitoring the output on UART. This is what I got from the terminal:

Code: Select allPANIC: unprotected error in call to Lua API (attempt to call a userd)
           
 ets Jan  8 2013,rst cause:2, boot mode:(3,6)           
           
load 0x40100000, len 26896, room 16             
tail 0           
chksum 0x5b           
load 0x3ffe8000, len 2208, room 8             
tail 8           
chksum 0xb7           
load 0x3ffe88a0, len 136, room 0             
tail 8           
chksum 0xeb           
csum 0xeb           
����g��sッ�'|�
�l�xsd��r�l��

NodeMCU custom build by frightanic.com
        branch: master
        commit: b96e31477ca1e207aa1c0cdc334539b1f7d3a7f0
        SSL: false
        modules: adc,file,gpio,net,node,ow,pwm,tmr,uart,wifi,file,gpi
 build  built on: 2017-02-05 12:01
 powered by Lua 5.1.4 on SDK 2.0.0(656edbf)


I guess that the key phrase here is "attempt to call a userd", but googling it did not bring me anywhere.
Will appreciate if anybody shed some light onto this and point me in the right direction.