Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard reset completes on the Pico but fails to complete in vscode #254

Open
sjefferson99 opened this issue Oct 10, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@sjefferson99
Copy link

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

What are the steps to reproduce this issue?

  1. Connect pico
  2. All commands -> hard reset

What happens?

Pico appears to successfully reset, but the vscode dialog shows "Performing hard reset..." and this does not complete. Pressing cancel appears to drop you back to vscode with a reset pico fine.

What were you expecting to happen?

Hard reset is usually completed and ready to execute next command in under a second.

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)
No logs on issuing the command, but startup with pico connected has many errors as below:

2024-10-10 19:07:29.817 [info] [Stubs] Installed stubs are already up to date!
2024-10-10 19:07:29.825 [info] [Activator] Connection to board successfully established
2024-10-10 19:07:32.084 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:32.130 [warning] [PicoRemoteFileSystem] stat: item not found: /.devcontainer/devcontainer.json
2024-10-10 19:07:32.253 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:32.302 [warning] [PicoRemoteFileSystem] stat: item not found: /pom.xml
2024-10-10 19:07:32.428 [warning] [PicoRemoteFileSystem] stat: item not found: /.devcontainer.json
2024-10-10 19:07:32.476 [warning] [PicoRemoteFileSystem] stat: item not found: /.devcontainer
2024-10-10 19:07:32.524 [warning] [PicoRemoteFileSystem] stat: item not found: /.devcontainer.json
2024-10-10 19:07:32.575 [warning] [PicoRemoteFileSystem] stat: item not found: /.devcontainer
2024-10-10 19:07:32.633 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:32.686 [warning] [PicoRemoteFileSystem] stat: item not found: /build.gradle
2024-10-10 19:07:32.759 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:32.820 [warning] [PicoRemoteFileSystem] stat: item not found: /pyproject.toml
2024-10-10 19:07:32.883 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:32.936 [warning] [PicoRemoteFileSystem] stat: item not found: /.pep8
2024-10-10 19:07:33.121 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:33.167 [warning] [PicoRemoteFileSystem] stat: item not found: /setup.cfg
2024-10-10 19:07:33.230 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:33.280 [warning] [PicoRemoteFileSystem] stat: item not found: /tox.ini
2024-10-10 19:07:33.340 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:33.404 [warning] [PicoRemoteFileSystem] stat: item not found: /.pylintrc
2024-10-10 19:07:33.467 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:33.518 [warning] [PicoRemoteFileSystem] stat: item not found: /pylintrc
2024-10-10 19:07:33.578 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:33.636 [warning] [PicoRemoteFileSystem] stat: item not found: /.mypy.ini
2024-10-10 19:07:33.701 [error] [PicoRemoteFileSystem] readFile: File not found
2024-10-10 19:07:33.766 [warning] [PicoRemoteFileSystem] stat: item not found: /.flake8
2024-10-10 19:07:33.860 [warning] [PicoRemoteFileSystem] stat: item not found: /node_modules
2024-10-10 19:07:33.988 [warning] [PicoRemoteFileSystem] stat: item not found: /pom.xml
2024-10-10 19:07:34.099 [warning] [PicoRemoteFileSystem] stat: item not found: /app/src/main/AndroidManifest.xml

Any other comments?

Tested on two Pico W boards with two different PCs running Windows 11.
I can see that hard reset was affected in updates in v4.0.0, I assume this introduced the error.

Which version of MicroPico are you using?

v4.0.6

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.94.2 (user setup)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
@sjefferson99 sjefferson99 added the bug Something isn't working label Oct 10, 2024
@paulober paulober self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants