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

    Re-flashing LoPy to initial firmware

    Scheduled Pinned Locked Moved LoPy
    7 Posts 3 Posters 1.6k 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.
    • C Offline
      Colateral
      last edited by

      Hello,

      Does anybody know how to reflash the OutOfTheBox LoPy firmware ?
      We did some test on lower temperature and something was happen... all python scripts were erased and main and boot reset to initial.

      I can connect on LoPy (wifi), and I uploaded again the script files but none of them are running.
      Even a simple script that is printing "hello" is not working.

      Thanks,

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

        Look here: https://docs.pycom.io/pycom_esp32/pycom_esp32/general.html
        Section "Boot modes and safe boot"

        1 Reply Last reply Reply Quote 0
        • A Offline
          abilio @Colateral
          last edited by

          @Colateral, we believe somehow during the test the internal file system got corrupted. Can you try doing:

          import os
          os.mkfs('/flash')
          

          And then try again?

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Colateral @abilio
            last edited by

            @abilio Thank you. We executed your recommendation ... but didn't fixed the python issue.
            We reset the board with G20->GND (9sec) + a firmware upgrade and seems that is working now (at least basic tests).

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              abilio @Colateral
              last edited by

              @Colateral, good to hear. Can I ask how the board was updated the first time?

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Colateral @abilio
                last edited by

                @abilio First time (after we got the board) we followed the simple firmware upgrade steps that are posted on pycom page.

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  abilio @Colateral
                  last edited by

                  @Colateral, using the firmware upgrade tool?

                  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