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 to COM port

    Scheduled Pinned Locked Moved Discussion
    9 Posts 4 Posters 337 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.
    • C Offline
      CeylordZ
      last edited by

      Hi !
      I ask for your help because I can't connect myself on my pytrack anymore.
      Before today I didn't have any issue with Pymakr on atom but today I can't do anything.

      My pytrack's firmware is up to date, and I'm on the 2.1.1 version of pymakr.

      I have this error in the REPL :
      Capture REPL.PNG

      I can see the pytrack on the COM PORT 15 in the device manager.

      Sometimes I can see what my board is sending on the serial port but I cannot upload or run my program...

      Have you an idea of what could be the problem ?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • C Offline
        CeylordZ
        last edited by

        Has anyone an Idea ?

        I tried some previous versions of Pymakr, I tried to update my firmware again but nothing works.
        I don't know what to try ...

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

          Hi @CeylordZ. Are you sure you have Pymakr 2.1.1? According to that screenshot, it seems you have Pymakr 2.0.2. Have you tried completely uninstall Pymakr and then install it back again? To do so, remove pymakr folder under

          %USERPROFILE%/.atom/packages/ (windows)
          or
          ~.atom/packages/ (linux/mac)

          and then install Pymakr again.

          Let me know if that worked for you.

          Thanks

          1 Reply Last reply Reply Quote 0
          • C Offline
            CeylordZ
            last edited by

            Thank you for your answer, I completely reinstalled ATOM, pymakr, the firmware and the pytrack's driver and for now it works.

            Just for me to know, the "pycom upgrade firmware" is the tool that allows you to upgrade the firmware of the Lopy and Zadig (and the dfu-util) is for the pytrack's firmware, that's it ?

            And second question, am I the only one who have is board unstable ? Sometimes I want to upload but it does'nt works,so I have to unplug/plug several times and then it's okay...

            Do I need to reboot the lopy when I want to upload ?

            Thanks !

            1 Reply Last reply Reply Quote 0
            • M Offline
              misterlisty @CeylordZ
              last edited by

              @CeylordZ what version of upgrader you using? im using 1.16.2 and it fails to detect any of my pycom modules.

              1 Reply Last reply Reply Quote 0
              • C Offline
                CeylordZ
                last edited by

                I'm using the 1.16.2 version too, I have the same issue but sometimes (I have to try several times) It works, but I don't know why.
                Do you have the issue of the endless research by the pycom upgrader ?

                ShanevanJS 1 Reply Last reply Reply Quote 0
                • ShanevanJS Offline
                  ShanevanJ @CeylordZ
                  last edited by

                  @CeylordZ if you are using windows, have you tried unplugging the device - then opening device manager and show hidden devices on the device manager and deleting (uninstalling) all the com ports. and then reconnecting your device?

                  Design | Develop | Deploy

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CeylordZ
                    last edited by

                    @ShanevanJ I tried and it didn't work. But in the last days I found a issue.
                    It seems that when I'm using a program with sleeps I cannot connect it anymore.
                    So my question : What does the processor do when it's waking up ? Does it run the boot.py again ? Or do I need to do something specific when the board is waking up ?

                    ShanevanJS 1 Reply Last reply Reply Quote 0
                    • ShanevanJS Offline
                      ShanevanJ @CeylordZ
                      last edited by

                      @CeylordZ I suspect the issue is because the USB connection goes away in sleep - but I have no idea how you get this back without restarting the serial connection from the PC

                      Design | Develop | Deploy

                      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