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 1.1.8 VS Code - Failed to Connect

    Scheduled Pinned Locked Moved Software Tools
    19 Posts 14 Posters 526 Views 18 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.
    • K Offline
      Karol Bieniaszewski
      last edited by

      i have the same
      even Pymakr->Extra->List serial ports show:

      Found 0 serialports
      

      no problem with connecting to serial port by any other software e.g. Arduino IDE -> Com port monitor

      Same problem with Pymakr-> atom version

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        joshcoombes @Karol Bieniaszewski
        last edited by

        @Karol-Bieniaszewski I can still see the serialport when I do the Pymakr -> Extra -> List Serial Ports

        1 Reply Last reply Reply Quote 0
        • Q Offline
          quentinmsl
          last edited by quentinmsl

          The same problem, I see the serialport when I do the Pymakr -> Extra -> List Serial Ports but cannot connect.

          Found 2 serialports
          COM10 (FTDI) (copied to clipboard)
          COM8 (FTDI)
          Connecting to COM10...
          > Failed to connect (Error: Port is not open). Click here to try again.
          Connecting to COM8...
          > Failed to connect (Error: Port is not open). Click here to try again.
          

          When I go back to version 1.1.7 or older of Pymakr, VS Code does not launch the Pymakr console anymore and when I execute a command it crashes

          The command 'Pymakr> Extra's> List serial ports' resulted in an error (command 'pymakr.extra.getSerial' not found)
          
          1 Reply Last reply Reply Quote 0
          • Q Offline
            quentinmsl
            last edited by quentinmsl

            Update :
            I reinstalled VSCode in V 1.52.1 (and disable automatic updates) and it worked with the Pymakr in V 1.1.7

            https://forum.pycom.io/topic/6805/recent-vs-code-update-no-more-pymakr

            Don-iotD 1 Reply Last reply Reply Quote 1
            • Don-iotD Offline
              Don-iot @quentinmsl
              last edited by

              @quentinmsl I can confirm I have the same problem, will try this solution

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                Matt Walter @Don-iot
                last edited by

                Confirming I have the same issue on the latest version of VS Code.

                Version: 1.53.0 (user setup)
                Commit: 8490d3dde47c57ba65ec40dd192d014fd2113496
                Date: 2021-02-03T20:36:38.611Z
                Electron: 11.2.1
                Chrome: 87.0.4280.141
                Node.js: 12.18.3
                V8: 8.7.220.31-electron.0
                OS: Windows_NT x64 10.0.19042
                Pymkr extension: 1.1.8
                
                1 Reply Last reply Reply Quote 0
                • E Offline
                  EchoBravoVictor
                  last edited by

                  Hi !
                  I confirmed, same issue here with VS Code 1.53.0 and Pymakr 1.1.8 on MacOS

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Matthew Felgate 0 Global Moderator
                    last edited by

                    Hi all. We at pycom are looking into this issue.

                    J B 2 Replies Last reply Reply Quote 1
                    • techykermitT Offline
                      techykermit
                      last edited by

                      Confirmed here as well. For me, all serial ports show up, but I can't connect to any PyMakr devices on them. We now run our computers with internet access disabled to hopefully avoid all Visual Studio Code instances to update themselves...

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        joshcoombes @Matthew Felgate 0
                        last edited by

                        @Matthew-Felgate-0 Any update on this issue?

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Amdadullah Md
                          last edited by

                          Glad I came across this! It's my first time working with Pycom and I thought that I completely messed up. I went through all kinds of firmware updates for the expansion and dev boards, amongst trying other things... only to realise there was a bug in the update!

                          Are there any further news regarding this issue?

                          I can confirm that with VS Code (1.53.0) and Pymakr 1.18, It does not connect to the COM ports. I downgraded to VSCode 1.52.1 and Pymakr 1.17 but it seems to hang at "Connecting to COMx". Can anyone else confirm this issue? Running on Windows 10.

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Graham Blackwell
                            last edited by

                            Hi, Newbie here. I have just installed Visual Studio Code, and nodejs, and when I try to connect for the first time to my wipy, I also see "Connecting to COM6...","Failed to connect (Error: Port is not open)".

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              Luca Ridarelli
                              last edited by Luca Ridarelli

                              I confirm the above and report the following:

                              I was working on a TTGO-T8 V1.7 (sorry it's not a pycom board) Esp32 Wroom with Visual Studio Code , Pymakr extension on USB under UBUNTU 20.04.2 , everything was ok until a Visual Studio Code update was installed automatically.
                              After that, pymakr console can no more connect to my Esp32 board. It sees it connected to my /dev/ttyUSB0 port but it stucks waiting for connection.

                              I reflashed Esp32 firmware to no avail.

                              I did then install Visual Studio Code on a Win7 machine and installed nodej and pymakr and explained it to look for a Silicon Labs serial chip. It sees it in the device list but it stucks with a "Failed to connect" error.
                              Thanks to that I landed here.

                              Environment is the following:
                              Win 7 64 bit
                              Visua Code Version: 1.53.2 (user setup)
                              Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
                              Date: 2021-02-11T11:48:04.245Z
                              Electron: 11.2.1
                              Chrome: 87.0.4280.141
                              Node.js: 12.18.3
                              V8: 8.7.220.31-electron.0
                              OS: Windows_NT x64 6.1.7601

                              Esp32 wroom module with esp32spiram-idf3-20210202-v1.14.bin micropython firmware.

                              I can connect and have a repl via USB and putty on both platforms , Ubuntu and Win7

                              I'm desperate.

                              Best Regards
                              Luca

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

                                Confirmed here too

                                • Ubuntu 20.04
                                • vscode 1.53.1-1612827767
                                • pymakr 1.1.8

                                Downgraded my vscode to

                                • vscode code=1.52.1-1608136922

                                And yet again I see the lovely >>>

                                How did I do that?

                                # find a suitable version
                                apt list -a code
                                # downgrade
                                sudo aptitude install code=1.52.1-1608136922
                                # prevent future automatic updates
                                sudo apt-mark hold code
                                
                                1 Reply Last reply Reply Quote 1
                                • B Offline
                                  Brian Wyld @Matthew Felgate 0
                                  last edited by

                                  @Matthew-Felgate-0 Any update on this issue?

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Matthew Felgate 0 Global Moderator
                                    last edited by

                                    Hi everyone, the VS Code issue should be fixed now; Please update extension to Pymakr to v1.1.9.

                                    Apologies for the inconvenience.

                                    L 1 Reply Last reply Reply Quote 2
                                    • L Offline
                                      livius @Matthew Felgate 0
                                      last edited by

                                      @Matthew-Felgate-0
                                      thx, confirmed it is working now, but the version is even newer 1.1.10

                                      think about people first, then computers

                                      1 Reply Last reply Reply Quote 1
                                      • B Offline
                                        Brian Wyld
                                        last edited by

                                        I just downgraded my VSCode to 1.52.1 (November 2020), forgot to disable auto-upgrades, and it re-upgraded to 1.53.2. Although was the same version as before, now the pymakr plugin is working correctly with my lopy...
                                        Running on Windows 10, using FTDI usb-serial with W10 usb serial driver....

                                        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