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

    Lopy 4 resets after sometime and looses the code

    Scheduled Pinned Locked Moved LoPy
    7 Posts 3 Posters 37 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.
    • A Offline
      Andy12
      last edited by Andy12

      I am using Lopy 4 with firmware v1.18.3 to read the generator status and fuel level. The challenge that I am facing is that it resets and looses the code after sometime. How to i get over this issue?

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

        @Andy12 First step is upgrading the firmware.

        1 Reply Last reply Reply Quote 1
        • A Offline
          Andy12
          last edited by

          What is the stable version that i should upgrade to?

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

            @Andy12 I run 1.20.2rc11 reliably, but that is my own built without pybytes. If you do not want to use pybytes, use the most recent legacy version. A update package for LoPy4 with my build is here: https://github.com/robert-hh/Shared-Stuff/blob/master/LoPy4-1.20.2.rc11.tar.gz

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

              You can upgrade to 1.20.2.r1 using the firmware updater and disable pybytes if you wish, by using

              import pycom
              pycom.pybytes_on_boot(False)
              

              Gijs

              1 Reply Last reply Reply Quote 0
              • A Offline
                Andy12 @robert-hh
                last edited by

                @robert-hh The link is not working.

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

                  @Andy12 I update the firmware from time to time. The actual version is: https://github.com/robert-hh/Shared-Stuff/blob/master/LoPy4-1.20.2.r4.tar.gz

                  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