logo elektroda
logo elektroda
X
logo elektroda

BL602 Watchdog Resets on Smart Plug Firmware 1.17.669 - Debugging Steps?

150219v8 477 3
ADVERTISEMENT
  • #1 21206017
    150219v8
    Level 2  
    The smart plug with Chip BL602 and Firmware 1.17.669 has random watchdog resets.
    Reboot reason: BL_RST_SOFTWARE_WATCHDOG
    It happens without any action/access to the device.
    Does someone know this problem?
    How can I debug to find out a reason?
    Can openbk send syslog?

    Btw is it possible to config the switch state after reset?
  • ADVERTISEMENT
  • #2 21208816
    divadiow
    Level 35  
    150219v8 wrote:
    Does someone know this problem?

    I guess the reasons might vary. Are there any bulging capacitors on the PCB? If you're able to flash to factory fw does it do the same thing?

    150219v8 wrote:
    Btw is it possible to config the switch state after reset?

    https://www.elektroda.com/rtvforum/topic4020634-60.html#21064535

    maybe this to set switch state to last known, if that's what you mean.
  • ADVERTISEMENT
  • #3 21208976
    150219v8
    Level 2  
    @divadiow
    The setstartvalue 1 -1 is what I looked for. Thanks.
    But how can I view what param is actual Set?

    The random Watchdog reset seems not only a problem with my own devices. I read that others have the same problem.
    It seems a specialized problem with the chip bl602?

    So for my work it's enough to set the start value.
    But it will be a big problem if there is a PC or something like this connected.

    But it would be interesting what the reason for the Watchdog resets are.
    It seems for investigation it needs a deep debugging.
    So the Watchdog is a hardware reset, so it seems the firmware hang anywhere in a loop?
  • #4 21209605
    miegapele
    Level 15  
    I have made a fix for one major source of reboots (temperature reading) here
ADVERTISEMENT