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

    Pymkr "Syncing failed!"

    Scheduled Pinned Locked Moved WiPy 2&3
    16 Posts 11 Posters 5.2k Views 11 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.
    • L Offline
      livius @Jiemde
      last edited by

      @Jiemde
      i have same problem with transmitting by ftp
      it is strange..

      think about people first, then computers

      M 1 Reply Last reply Reply Quote 0
      • G Offline
        gertjanvanhethof Pybytes Beta @gertjanvanhethof
        last edited by

        Sync is working much better after updating to firmware 1.4.0.b1 and PyMakr 1.0.0.b8.
        For small projects it's better for large projects still lots of problems.

        From my experience you can only sync when you have REPL access and the LoPy is not running any code. So you have to stop it using a ^C in the REPL window.
        Sometimes sync is working fine after that but most often it's not.
        So I do:

        import os
        os.mkfs('/flash')

        Reboot the LoPy and sometimes I have to reopen PyMakr again.

        1 Reply Last reply Reply Quote 1
        • M Offline
          mkharibalaji @livius
          last edited by

          @livius I too have the same problem....after the new firmware update

          1 Reply Last reply Reply Quote 0
          • G Offline
            gertjanvanhethof Pybytes Beta @Jiemde
            last edited by

            It seems to me that it's caused by less memory.
            You should stop the xPy for program running.
            Sometimes it helps to clear memory with:

            Reset REPL and run these commands:

            import gc
            gc.collect()

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              Jiemde Pybytes Beta @gertjanvanhethof
              last edited by

              @gertjanvanhethof Do it but nothing change!
              also do: gc.mem_free() and the answer is "47584"

              Waiting the next release of the firmware ( perhaps the problem is fixed ? )
              jiemde

              1 Reply Last reply Reply Quote 0
              • B Offline
                bvincent
                last edited by

                Hi all,
                Waiting next release, as a workaround, is there any possibility to write a file on the LoPy filesystem directly with USB/serial cable (I can't use Wifi/Ftp) ?

                robert-hhR 1 Reply Last reply Reply Quote 0
                • bmarkusB Offline
                  bmarkus
                  last edited by

                  Sync never worked for me (WIN7)

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pclavier
                    last edited by pclavier

                    I found a partial solution to this problem, it happened the same to me with the LoPy.

                    The console always showed me:
                    "Syncing the project with the LoPy. Please wait...
                    Syncing failed!"
                    when I tried to load the Python scripts ino the LoPy.

                    The solution I found was using a FTP to load the files.
                    Section 2.4 from this page shows you how to configure the FTP settings to be able to do so:
                    https://docs.pycom.io/pycom_esp32/pycom_esp32/toolsandfeatures.html
                    I used FileZila client and worked perfectly.
                    Make sure you connect to the LoPy WiFi to load the files with the FTP.
                    "Connect your computer to the WiFi network named after your board (e.g. lopy-wlan-xxxx, wipy-wlan-xxxx). The password is www.pycom.io"

                    I could not make it work through the Pymakr but at least in this way I was able to load everything into the LoPy with no problems.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tcottle
                      last edited by tcottle

                      I am having the same problem
                      LoPy FW 1.6.9.b1
                      Pymakr 1.0.0.b8
                      Syncing fails. Using the lorawan-nano-gateway files from GitHub. Main and Config go through but it chokes on nanogateway. It shows size 0 on /flash
                      Tried using the latest version of Filezilla 3.25.1 and followed the instructions from the tools and features page.

                      It connects correctly and gives a directory listing OK. I deleted the stub nanogateway file. When I attempted to upload it again FZ reports "Connection established, waiting for welcome message..." and then timesout endlessly

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

                        @bvincent You can use the adafruit ampy tool, which allows to upload files through USB.

                        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