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

  • 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:

    1. When i got connected to the LoPy through ftp at the connection is established with no problems, but when i try to download or upload a file i always get a connection error

    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.



          Pablo Caviglia

  • 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).


    Thx a lot again man, saved my life!

  • @pablocaviglia
    Some errors in Atom plugin was fixed - but not released yet
    You can build it from code

  • @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

  • @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.


    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 :)


  • This post is deleted!

  • @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:

    second - remember to set in your ftp tool to set limit to one connection only.

Pycom on Twitter