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

    LoPy4 crash

    Scheduled Pinned Locked Moved LoPy
    11 Posts 3 Posters 154 Views 3 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.
    • robert-hhR Offline
      robert-hh @mythael
      last edited by

      @mythael How often does that happen? Every few Minutes, once an hour, once a day, once a week?

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        mythael @robert-hh
        last edited by

        @robert-hh it depends in general it takes 4 hours or less (the fastest crash observed is 10 minutes) with this little script it took 15 hours. I also tried with another Lopy4 but I have the same problem.

        robert-hhR 1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @mythael
          last edited by robert-hh

          @mythael which firmware version do you use? How do you power to the device?

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            mythael @robert-hh
            last edited by

            @robert-hh I'm using version 1.20.2.rc7 and the card is USB powered. I tried it on a 3.1 extension card and a Pysense card.

            robert-hhR 2 Replies Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @mythael
              last edited by

              @mythael I have set-up a LoPy4 with a similar script like yours, and it is running not continuously since 10 days without any crash. The script is below. It blinks green every 20 seconds. The LoPy4 is powered by a separate USB supply & not connected to a computer. I use my own simple expansion board with FT232 USB/UART bridge. The firmware is 1.20.2.rc7, but my own build.

              import pycom
              import utime
              pycom.heartbeat(False)
              
              while True:
                  print ("ok")
                  pycom.rgbled(0x004000)
                  utime.sleep(1)
                  pycom.rgbled(0)
                  utime.sleep(20)
              
              1 Reply Last reply Reply Quote 1
              • robert-hhR Offline
                robert-hh @mythael
                last edited by

                @mythael 21 days on the road an still running.
                A note on the USB supply I am using: it is a dumb one. Just delivering 5V up to 1A without any protocol.
                From time to time I connect via Telnet as an additional verification besides the green LED coming up every 20 seconds.

                1 Reply Last reply Reply Quote 2
                • robert-hhR Offline
                  robert-hh @mythael
                  last edited by robert-hh

                  @mythael I stopped the test yesterday after 44 days for loading the latest firmware 1.20.2.rc9. The device was still up and working.

                  robert-hhR 1 Reply Last reply Reply Quote 1
                  • robert-hhR Offline
                    robert-hh @robert-hh
                    last edited by

                    @robert-hh 96 days since the last stop and still working fine. Similar for the LoPy1 which runs as single channel Lora gateway, which restarted twice in that time, both caused pulling unintentionally it's power plug.

                    1 Reply Last reply Reply Quote 2
                    • G Offline
                      Gijs
                      last edited by

                      @robert-hh are you running the nanogateway.py example that we provide? I have not been able to get that running stable for more than a day yet :/
                      Gijs

                      robert-hhR 1 Reply Last reply Reply Quote 0
                      • robert-hhR Offline
                        robert-hh @Gijs
                        last edited by

                        @Gijs I assume that not. I am running a version from months or years ago, and with the Loriot network. I can send you a copy of that nanogateway script.

                        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