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

    Failed to connect (Port is not open)

    Scheduled Pinned Locked Moved Comments & Feedback
    pytrack
    28 Posts 3 Posters 13.7k Views 3 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.
    • M Offline
      MJ @crumble
      last edited by

      @crumble I have installed the dfu driver in the pycom.documentation yesterday and update the Pytrack, I also ensure that the Pytrack is in DFU mode as well. The problem is still there.
      I have tried my Pytrack on my friends laptop since she only using Lopy and expansion board only. My Pytrack works on her laptop as normal but when I tried it on my laptop it stated zero serial board. I have no problem for my expansion board too only Pytrack goes wrong. This make me feel confuse and I have no idea what happen to my Pytrack.

      Today's dfu driver is it the latest?

      robert-hhR C 2 Replies Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @MJ
        last edited by

        @mj I understand that @crumble suggests to deinstall the dfu driver on that USB device (and maybe otehr drivers too) and reinstall the COM-VCP driver again. That sounds reasonable.

        1 Reply Last reply Reply Quote 0
        • C Offline
          crumble @MJ
          last edited by

          @mj My PyTrack is now nón 0.0.6 as well. While libusK is installed, Windows 7 detects it as a libusK device for some seconds. You have to be quick again.

          • Open the device manager,
          • Plugin the pytrack. It will be listed as a libusK device not as com
          • right click on pytrack
          • select deinstall driver, hook uninstall driver
          • rescan devices
          • pytrack will become a com device
          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MJ @crumble
            last edited by

            @crumble According to the pycom.io documentation, the latest Pytrack dfu is version 0.0.4. So far, I had tried to uninstall driver ans scan again it still under libusbK. Not showing COM.

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              crumble @MJ
              last edited by

              @mj this worked on my machine. Have you cecked that files shall be removed when uninstalling the driver?

              Version 0.0.6 is linked in the Announcement section of the forum. The docu still shows 0.0.4 as the latest. 0.0.6 fixed the wake-up from deepsleep reason.

              I Stuck now on upgrading the firmware of the LoPy on the PyTrack. Last time, I Pluged it on a ExpansionBoard. This time I soldered a switch on the LoPy. As a resut it fails allways with connection problems :-/

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MJ @crumble
                last edited by

                @crumble Hi, i have uninstall the pytrack from the device manager and plugin in again it show under "other devices" as shown below.

                0_1507998184566_pytrack devices.JPG

                I followed the link in https://docs.pycom.io/chapter/pytrackpysense/installation/drivers.html although my windows is windows 8 not windows 7. But when i update the driver i encounter this showing that the third party does not contain the INF digital signature information.

                0_1507998279819_1510.JPG

                How can solve this problem?

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  crumble @MJ
                  last edited by

                  Please try to install the driver with administrator rights.The driver is not signed by someone whicht the OS trust. If you have the rights, you can tell the system that you trust the driver.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MJ
                    last edited by

                    @crumble the driver from https://docs.pycom.io/chapter/pytrackpysense/installation/drivers.html is only the notepad after i downloaded it. It is not a zip file. How can i get the driver folder?

                    0_1508143628173_pycom properties.JPG

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      crumble @MJ
                      last edited by

                      @mj rename pycom.inf.txt to pycom.inf . Right click and choose install.

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MJ @crumble
                        last edited by

                        @crumble The file is already an inf file. And i right click to install it still showing that INF does not contain the digital signature information.

                        0_1508148071342_inf error.JPG

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          crumble @MJ
                          last edited by

                          @mj you still need admin rights. If you user has local admin rights, you shall be able to install it. If you computer is in a domain, you have to ask your admins. They may have restricted your local admin rights. If not try to install it as administrator. If this does not help, google "windows security settings install unsigned driver" and follow the steps for your operating system.

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            MJ @crumble
                            last edited by

                            @crumble It really works for your method. Finally, it works and connected in atom. Thank you very much since i have pending this problem for weeks.

                            0_1508150765710_connected.JPG

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              MJ
                              last edited by

                              @crumble Hi, i have a doubt since i have connected my pytrack but under REPL console, it do not show the sign of ">>>" is it ok for it?

                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                crumble @MJ
                                last edited by

                                @mj it depends. The >>> the prompt. The LoPy does not know if someone is connected to the UART. It sends the prompt as soon as it is ready for input. Then it is waiting for input. If your PC connects after the LoPy has send the prompt, you will see nothing unless you send the lopy something too evalute. A \n for example.

                                The blinking cursor is handled by your terminal and not by the LoPy. It will not send you any data while it is waiting for input and no background task is running. So it can look like their are not connected. Especially if you have not configured your IDE to send a ctrl-c when it connects.

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  MJ @crumble
                                  last edited by

                                  @crumble Thank you for your explanation.
                                  I have another question, i have downloaded the libraries from github.com and currently i am running for the pytrack with lopy for the latitude and longitude data. May i know is it correct to download the .py files (L76GNSS.py, LIS2HH12.py, pytrack.py) and navigate the file to a new folder eg: pytrack lib and in the Atom with pymakr plugin i click on File and Add new folder and select the pytrack lib folder.

                                  0_1508746964056_392c211d-4ce6-4774-b461-aed4aa8664cb-image.png

                                  may i know when i upload the libraries to the pytrack board by "sync folder" or "sync file" it showing the error since the "main folder" is too big. What is the correct way to upload the libraries ?

                                  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
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post

                                  Pycom on Twitter

                                  Pycom