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 @robert-hh
      last edited by

      @robert-hh Thanks for replying. I have try for another usb cable and port instead but the problem is still the same.

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

        @mj have you changed boot.py? You need these lines in it:
        '''
        from machine import UART

        uart = UART(0, baudrate=115200)
        os.dupterm(uart)
        '''

        And the pins P0, P1 shall not be used by your hardware extensions or reconfigured in your program.

        robert-hhR 1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @crumble
          last edited by

          @crumble Reconfiguring P0/P1 should not affect the cisibility as COM port. The UART/USB bridge should always be registered by Windows as such, even is the ESP32 is not connected to it. So I still guess it's a driver problem. Try to reinstall the USB driver from the vendor's web site: http://www.ftdichip.com/Drivers/VCP.htm

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

            @crumble i have try to install the driver and follow the step given. But when i install the driver it showing the driver is already update.

            0_1507858090340_update.JPG

            I try connect the pytrack in atom it stills showing the "Found 0 serial port"

            0_1507858159552_0 serial por.JPG

            May i know how to get it fix ?

            C 1 Reply Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh
              last edited by

              @mj Do not use the driver method, download the driver file and execute that manually.

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

                Have you updated the firmware of the pytrack?

                After that mine was not detected as a com device. You are using windows, right? Please check in the device manager, if your pytrack ist detected as a com or a dfu device. I can't remember how i fixed this. I guess I deinstalled the dfu driver, so that the pytrack was detected as a com device again.

                Install todays pytrack firmware, before you do this ;)

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MJ @robert-hh
                  last edited by

                  @robert-hh I have downloaded the driver and follow the step inside the link but still showing the same problem.

                  1 Reply Last reply Reply Quote 0
                  • 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

                                            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