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

    pymakr will not sync project

    Scheduled Pinned Locked Moved LoPy
    5 Posts 4 Posters 1.7k Views 4 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.
    • F Offline
      feabhas
      last edited by

      I am loosing the will to live here.
      I am having a reoccurring problem with pymakr just hanging when trying to sync a project after a previous successful sync.
      I have the latest firmware installed.
      I can telnet/ftp/screen (I'm on OSX) to the picot LoPy unit
      I can see the REPL cli in pymakr
      But whenever I try to sync a simple project (setup.py and main.py) it just hangs

      My project is setting the IP address using DHCP to my local network (successfully)

      The only way I can seem to recover is to always have to do a factory reset of the filesystem
      this seems pretty extreme and unacceptable operation.
      Any ideas? Any way of getting a log file for the comms between pymakr and the LoPy board?

      MicroPython v1.8.6-379-gc44ebac on 2017-01-13; LoPy with ESP32

      L 1 Reply Last reply Reply Quote 0
      • S Offline
        Shaun
        last edited by

        See:
        https://forum.pycom.io/topic/496/pymkr-syncing-failed/2

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

          @feabhas
          Do this in different way:

          1. create file e.g. wifi_sta.py
          2. write to it any config (IP settings) and other methods
          3. in e.g. main.py write
            if button()==1: #you can use ==0 if you need different action to be default
            execfile('wifi_sta.py')

          in this way if your sync will fail
          you have still your board with default AP settings when you press button or not

          and in my opinion - do not use Pymakr.
          I do not use it - only i work by ftp - edit and put file back
          It is faster for me.

          think about people first, then computers

          F H 2 Replies Last reply Reply Quote 0
          • F Offline
            feabhas @livius
            last edited by

            @livius thanks for the advice will give it a go.

            1 Reply Last reply Reply Quote 0
            • H Offline
              hemalchevli @livius
              last edited by

              @livius thank you so much, I too was banging my head with the same issue, FTP is much better and reliable, I'm using tera term to see the console.
              thanks
              Cheers

              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