Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Post mortem analysis ?

    Scheduled Pinned Locked Moved Getting Started
    lopy4watchdogexception logreboot log
    1 Posts 1 Posters 392 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      Eric73
      last edited by Eric73

      Hello, after three month of 24/24 working my lopy4 (firmware 1.18) have stopped to send sigfox message. As i am far from board location (300km) i cannot know if it's a hardware failure or a software failure.
      Lopy4 is fitted on a board i have designed powered on main supply and mainly do some bluetooth communication every 1min with several bluetooth sensor and every 15min send data collected by sigfox.

      Between two bluetooth scan period i do a machine.idle() call. I never call gc.collect() and i haven't started watchdog (may be on the next software update i will add it).

      So my questions are :
      -When i go to the board location, is there any way to know what happened prevously ? eg is there any way to have the last exeception trace that previously occurs ?
      -What is the maximum time i can use for WDT instance can i do a

      wdt = WDT(timeout=120000)
      

      or even better a

      wdt = WDT(timeout=900000)
      

      that will permit me to refresh the watchdog after a sigfox send ?
      -How can i have via REPL the last reset cause of the board to see if a watchdog reset or power failure occurs between last REPL connection time?

      Thanks for your ideas and feedbacks

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom