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 can't connect to my board

    Scheduled Pinned Locked Moved Discussion
    pytracklopy4connection probconnect issues
    2 Posts 1 Posters 562 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.
    • J Offline
      james.matthews
      last edited by

      Hi all,

      I have a LoPy4 and a Pytrack board. Yesterday everything was fine with them, and I could send messages over Sigfox. However, something then changed (I'm not sure what) and now I can't connect to my board anymore. I keep getting the following message:

      Failed to connect (Error: Port is not open)

      I have the correct port in Pymakr settings. The LED on my LoPy flashes blue every 4 seconds when plugged in. Nothing is sent to Sigfox anymore

      I've put my Pytrack in DFU mode to reinstall firmware and I've used the Pycom firmware upgrade tool for the LoPy, still nothing...

      Can anyone help? I don't know what is left to try.

      Thanks

      1 Reply Last reply Reply Quote 0
      • J Offline
        james.matthews
        last edited by

        Incase anyone else has this problem I managed to solve it. The problem was with my code. boot.py was set to launch main.py but there was a problem with main.py causing the connection to time out. The solution (which I found by accident) was to ctrl+c in the terminal window to kill main.py. It connected fine after that!

        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