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 349 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.
    • 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