Suddenly, the node stopped working.



  • Hi!
    Tell me, please, where to look.
    The problem is as follows. I launched 5 months ago a network on Nrf24, consisting of a gate and one node based on MySensors. Until yesterday everything worked without problems. Yesterday afternoon, for no apparent reason, the node suddenly fell off. I tried to replace the Nrf24 modules and reflash the ARDUINO Mini Pro atmega328 3.3V - nothing has changed. Capacitors are standing.
    Here is a piece of the log at the time of the disappearance of the node:

    Feb 8 12:42:44 raspberrypi mysgw: TSF:MSG:READ,1-1-0,s=1,c=1,t=16,pt=0,l=1,sg=0:1
    Feb 8 12:42:44 raspberrypi mysgw: Sending message on topic: domoticz/in/MyMQTT/1/1/1/0/16
    Feb 8 12:42:48 raspberrypi mysgw: TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Feb 8 12:42:48 raspberrypi mysgw: TSF:MSG:BC
    Feb 8 12:42:48 raspberrypi mysgw: TSF:MSG:FPAR REQ,ID=1
    Feb 8 12:42:48 raspberrypi mysgw: TSF:PNG:SEND,TO=0
    Feb 8 12:42:48 raspberrypi mysgw: TSF:CKU:OK
    Feb 8 12:42:48 raspberrypi mysgw: TSF:MSG:GWL OK
    Feb 8 12:42:48 raspberrypi mysgw: !TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Feb 8 12:42:51 raspberrypi mysgw: TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Feb 8 12:42:51 raspberrypi mysgw: TSF:MSG:BC
    Feb 8 12:42:51 raspberrypi mysgw: TSF:MSG:FPAR REQ,ID=1
    Feb 8 12:42:51 raspberrypi mysgw: TSF:CKU:OK,FCTRL
    Feb 8 12:42:51 raspberrypi mysgw: TSF:MSG:GWL OK
    Feb 8 12:42:51 raspberrypi mysgw: !TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Feb 8 12:42:53 raspberrypi mysgw: TSM:READY:NWD REQ
    Feb 8 12:42:53 raspberrypi mysgw: TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    Feb 8 12:42:55 raspberrypi mysgw: TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Feb 8 12:42:55 raspberrypi mysgw: TSF:MSG:BC
    Feb 8 12:42:55 raspberrypi mysgw: TSF:MSG:FPAR REQ,ID=1
    Feb 8 12:42:55 raspberrypi mysgw: TSF:CKU:OK,FCTRL
    Feb 8 12:42:55 raspberrypi mysgw: TSF:MSG:GWL OK

    Here's what the node writes in the logs:

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 !TSF:SID:FAIL,ID=0
    16 TSM:FAIL:CNT=1
    18 TSM:FAIL:PDT
    10020 TSM:FAIL:RE-INIT
    10022 TSM:INIT

    In what direction to dig?


  • Mod

    @igork the node is trying to start with id=0, which is reserved for the gateway.
    Upload and run the cleareepromconfig example and then upload your node sketch again and the node should work.

    Does your sketch write to eeprom?



  • @mfalkvidd said in Suddenly, the node stopped working.:
    Many thanks @mfalkvidd!
    You were right! Something strange happened to Arduino. Moreover, I was able to write down the cleareepromconfig example and clear the memory, but after this procedure I could not write anything into the memory of Arduino.
    I have little experience with Arduino and this happened to me for the first time.


Log in to reply
 

Suggested Topics

  • 3
  • 6
  • 6
  • 2
  • 1
  • 1

51
Online

11.4k
Users

11.1k
Topics

112.6k
Posts