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

    cannot synchronize, neithe transfer through ftp **SOLVED**

    Scheduled Pinned Locked Moved LoPy
    lopywificonnection probtimeoutsolved
    7 Posts 2 Posters 2.5k Views 2 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.
    • P Offline
      pablocaviglia
      last edited by livius

      Hi all!
      I´ve received my brand new LoPy device last night, i´ve been trying to get the basics running.
      Many things are working, but there are a couple of important things that i cannot do yet.

      1. Synchronize

      When i press the sync button on atom i got this:
      0_1493821363975_upload-5d9c3fa7-1da1-4dc5-998f-ade7e9d57e40

      1. When i got connected to the LoPy through ftp at 192.168.4.1 the connection is established with no problems, but when i try to download or upload a file i always get a connection error
        0_1493821493410_upload-6f93449d-d717-4fb9-817e-014fb9bc441f

      There's an important thing to clarify, i´ve not connected the LoPy module to the expansion board (i dont have one). It means that i have made the connection manually... hope to have it done right.
      Lower side cables are VCC/GND (5v), upper side cables are RS232 connection, left side cable is wifi antenna.

      0_1493821887117_upload-93d8b480-58d6-4c3e-ad6f-b879a6cc0af4

      Regards,

            Pablo Caviglia
      
      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @pablocaviglia
        last edited by

        @pablocaviglia
        First i see that you have older firmware i look at Micropython date.
        Please first upgrade firmware.
        If you have TTL UART/USB converter than this is simple:
        https://docs.pycom.io/pycom_esp32/pycom_esp32/getstarted.html?highlight=upgrade#firmware-upgrades

        second - remember to set in your ftp tool to set limit to one connection only.
        https://docs.pycom.io/pycom_esp32/pycom_esp32/toolsandfeatures.html?highlight=filezilla#filezilla-settings

        think about people first, then computers

        P 2 Replies Last reply Reply Quote 0
        • P Offline
          pablocaviglia
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • P Offline
            pablocaviglia @livius
            last edited by

            @livius

            Hi again, and thx for the fast response.
            I were able to update the LoPy firmware, and now i understand why with the previous firmware didnt work the wlan.ifconfig() function, it wasn't implemented yet.

            Anyway the problem with the sync still happens. If i try to sync the code through the atom ide, or even while trying to transfer new files through FTP, i got a timeout, and even the REPL console on atom gets hanged up.

            0_1493866731462_upload-7514064c-4cc2-49ee-93d2-29d94fba74ab

            This image is the booting process after upgrading, please confirm if it´s the latest one.

            Thanks in advance, and let me know if you need some extra information to help me get this working. I'm on the middle of a project and time's not friend of mine... as usual :)

            reply

            1 Reply Last reply Reply Quote 0
            • P Offline
              pablocaviglia @livius
              last edited by

              @livius

              Re: [cannot synchronize](neithe transfer through ftp)

              Correction about last post. The sync process through atom isn´t working, but after doing what you've recommended about transferring 1 file at a time through ftp works fine!

              My intention is just to transfer new code to the lopy, so the ftp solution is enough for me. The 'sync' button at atom is a nice thing to have, but it can be replaced with the ftp transfer... so from my side this issue can be closed.

              If anyone wants me to make some extra tests with atom (just to make it work), i will be glad to do whatever test is necessary, or debugging, or something else, so just ask and i will do.

              Thx a lot for the helpful information @livius

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                livius @pablocaviglia
                last edited by

                @pablocaviglia
                Some errors in Atom plugin was fixed - but not released yet
                You can build it from code
                https://forum.pycom.io/topic/1026/pymakr-atom-plugin-released
                https://github.com/pycom/pymakr-atom

                think about people first, then computers

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  pablocaviglia @livius
                  last edited by pablocaviglia

                  Hey @livius,

                  that did the trick, again! Thx a lot, that makes even easier the deployment process, and i´ve also learned pretty nice stuff in the meanwhile.

                  By the way, i first tried to make it work by cloning the project 'master' branch, but that code wasn´t making the deal yet. To make things work i had to clone the 'devel' branch (that by the way it´s weird because it´s one version behind 0.9.3 than master 0.9.4).

                  0_1493908814839_upload-f0ec380b-2af6-42cb-908e-3ed47257fabf

                  Thx a lot again man, saved my life!

                  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