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

    wrong serialport selected and copied to clipboard on initial config

    Scheduled Pinned Locked Moved Pymakr
    pymakratomlopypysense
    7 Posts 2 Posters 1.8k 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.
    • philwilkinsonP Offline
      philwilkinson
      last edited by

      Pymakr 1.2.0 running on Atom 1.21.2
      on reconnection of a LoPy board on a PySense devboard via USB

      On launch I ran More -> Get SerialPorts
      PyMakr then correctly identifies active ports, but then selects the wrong COM port (copied to clipboard)
      as the wrong COM port is selected this obviously leads to no serial connection with the LoPy

      The serial connection runs fine on TeraTerm.

      I have looked across the Forum but cannot see anything similar to this issue.

      1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb
        last edited by

        Im afraid pymakr doesnt allow you to select which port to copy to the clipboard at the moment. You will have to manually type in the name of the correct com port for your setup.

        1 Reply Last reply Reply Quote 0
        • philwilkinsonP Offline
          philwilkinson
          last edited by

          thanks @seb, how do I manually set that parameter in Atom's Pymakr or did i understand you correctly?

          1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb
            last edited by

            This page should guide you through configuring pymakr to connect to your device https://docs.pycom.io/chapter/gettingstarted/installation/pymakr.html

            1 Reply Last reply Reply Quote 0
            • philwilkinsonP Offline
              philwilkinson
              last edited by

              yes @seb I have done this set up months ago and things have been working fine.

              step 4 states
              Click, 'More' followed by 'Get Serial Ports'. This will copy the serial address of your expansion board to your clipboard.

              This has been working fine (automatically selecting the correct serial port used by the devboard) until i started up Atom today. Now it has started to select an incorrect port.
              Can I manually override this somewhere in the settings?

              1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb
                last edited by

                Yes, if you click the "settings" button in the pymakr panel you get two options, global or project settings. If you select global you can then set the com port that pymakr will use for all projects unless the project has its own settings. If you select project settings you can set the com port for the selected project, which will override the global setting.

                1 Reply Last reply Reply Quote 0
                • philwilkinsonP Offline
                  philwilkinson
                  last edited by

                  OK now works!
                  I changed the device address in the global settings to the correct Com port and rebooted Atom and it picked it up fine.
                  Thanks again, @seb, rather strange this has only just started to happen!

                  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