You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide a clear and concise description of the bug along with logs
What are the steps to reproduce this issue?
Install requirements for midi_example.py from micropython-lib and run it (I had to rename it to main.py).
What happens?
The REPL gets disconnected at the moment machine.USBDevice.active(False) is called (as step in _Device.init in core.py, but doesn’t reconnect when machine.USBDevice.active(True) is called (as a next step in _Device.init).
What were you expecting to happen?
I’d expect the REPL to reconnect.
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)
2024-12-19 14:22:43.372 [info] [Stubs] Installed stubs are already up to date!
2024-12-19 14:33:01.427 [info] [Activator] Connection to board successfully established
2024-12-19 14:34:42.452 [info] [Activator] Connection to board was closed.
2024-12-19 14:34:43.472 [info] [Activator] Connection to board successfully established
2024-12-19 14:34:50.794 [info] [Activator] Connection to board was closed.
2024-12-19 14:35:25.982 [info] [Activator] Connection to board successfully established
2024-12-19 14:35:45.217 [info] [Activator] Connection to board was closed.
2024-12-19 14:35:46.251 [info] [Activator] Connection to board successfully established
2024-12-19 14:35:49.967 [info] [Activator] Connection to board was closed.
2024-12-19 14:35:50.984 [info] [Activator] Connection to board successfully established
2024-12-19 14:36:43.446 [info] [Activator] Connection to board was closed.
2024-12-19 14:36:44.481 [info] [Activator] Connection to board successfully established
2024-12-19 14:36:50.254 [info] [Activator] Connection to board was closed.
2024-12-19 14:36:51.283 [info] [Activator] Connection to board successfully established
Any other comments?
I‘m using a Raspberry Pi Pico with MicroPython 1.24.0
Which version of MicroPico are you using?
v4.1.0
Support info
Copy this from the Help -> Info/About -> Copy (Code -> About Visual Studio Code -> Copy on macOS) option in Visual Studio Code:
What are the steps to reproduce this issue?
Install requirements for midi_example.py from micropython-lib and run it (I had to rename it to main.py).
What happens?
The REPL gets disconnected at the moment
machine.USBDevice.active(False)
is called (as step in_Device.init
in core.py, but doesn’t reconnect whenmachine.USBDevice.active(True)
is called (as a next step in_Device.init
).What were you expecting to happen?
I’d expect the REPL to reconnect.
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)
2024-12-19 14:22:43.372 [info] [Stubs] Installed stubs are already up to date!
2024-12-19 14:33:01.427 [info] [Activator] Connection to board successfully established
2024-12-19 14:34:42.452 [info] [Activator] Connection to board was closed.
2024-12-19 14:34:43.472 [info] [Activator] Connection to board successfully established
2024-12-19 14:34:50.794 [info] [Activator] Connection to board was closed.
2024-12-19 14:35:25.982 [info] [Activator] Connection to board successfully established
2024-12-19 14:35:45.217 [info] [Activator] Connection to board was closed.
2024-12-19 14:35:46.251 [info] [Activator] Connection to board successfully established
2024-12-19 14:35:49.967 [info] [Activator] Connection to board was closed.
2024-12-19 14:35:50.984 [info] [Activator] Connection to board successfully established
2024-12-19 14:36:43.446 [info] [Activator] Connection to board was closed.
2024-12-19 14:36:44.481 [info] [Activator] Connection to board successfully established
2024-12-19 14:36:50.254 [info] [Activator] Connection to board was closed.
2024-12-19 14:36:51.283 [info] [Activator] Connection to board successfully established
Any other comments?
I‘m using a Raspberry Pi Pico with MicroPython 1.24.0
Which version of MicroPico are you using?
v4.1.0
Support info
Copy this from the
Help -> Info/About -> Copy
(Code -> About Visual Studio Code -> Copy
on macOS) option in Visual Studio Code:The text was updated successfully, but these errors were encountered: