paulober / MicroPico

MicroPico (aka Pico-W-Go) is a Visual Studio Code extension designed to simplify and speed up the development of MicroPython projects for the Raspberry Pi Pico and Pico W boards.
https://marketplace.visualstudio.com/items?itemName=paulober.pico-w-go
Mozilla Public License 2.0
290 stars 26 forks source link

Cant connect to PICO-W with latest update #246

Open brianreinhold opened 2 months ago

brianreinhold commented 2 months ago

Please provide a clear and concise description of the bug along with logs

What are the steps to reproduce this issue?

  1. install latest update

What happens?

No connection to Pico (W) REPL>>>

What were you expecting to happen?

connect to PICO-W

Any logs, error output, etc?

(To get extension logs see Terminal > Output > Extension Host and copy output concerning pico-w-go or micropico) (If it’s long, please paste to https://gist.github.com and insert the link here)

Any other comments?

Had to revert back to version prior to V3.8.4

Which version of MicroPico are you using?

v3.8.2

Support info

Copy this from the Help -> Info/About -> Copy (Code -> About Visual Studio Code -> Copy on macOS) option in Visual Studio Code:

Version: 1.92.2 (user setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
paulober commented 2 months ago

please try v3.8.4

brianreinhold commented 2 months ago

That is the version I got (automatically) and it refused to connect to the PICO-W. I downgraded to v3.8.2 and I got the connection back.

paulober commented 2 months ago

@brianreinhold Have you tried uninstalling the extension and then reinstalling the newest version? (Also make sure no other process uses the Pico)

brianreinhold commented 2 months ago

Yes I have. That was the first thing I did as I thought it was a VS Code config problem. I have my PICO-W working again and really need it to work at this time. I may try it again perhaps after a new revision

paulober commented 2 months ago

@brianreinhold Understand. There'll be a new release come in the next days with a much more stable backend which should fix many of these stability issues. Hope 3.8.2 is working for you till it get's released.

paulober commented 1 month ago

@brianreinhold Has the issue been fixed with v4.0.0+?

brianreinhold commented 1 month ago

I have not tried. I see I turned auto update off and I see there is a 4.0.0 waiting ... I will give it a try

brianreinhold commented 1 month ago

I tried both 4.0.0 and 4.0.2. They work partially. When I first open VS and the PICO is connected, I can click on the pico disconnected text at the bottom and it will connect. However, if I unplug the PICO and plug it back in, I can never get VS to reconnect. I have to exit VS code and restart.

So I need to revert back to 3.8.2 as it is very important to be able to click on reset (if I edit some files) followed by an unplug/replug of the PICO in order for the (Bluetooth) pairing keys to be generated. I do not understand why that is needed but it has been something I have noted since first getting pairing to work in Micropython.

This is not a problem if I have the PICO run automatically on a plugin event without VS Code. Pairing always comes up.