ViperIDE icon indicating copy to clipboard operation
ViperIDE copied to clipboard

Viper/Pico locks up constantly

Open DarrenTownsend opened this issue 11 months ago • 2 comments

I can pair the Pico fine initially, at which point any code in main.py stops running. The Run button (green arrow) has now changed to the Stop button and does nothing if clicked. Soft/Hard Reset buttons (on IDE) have no effect. I am unable to select any other file (on the device) in File Manager.

Image

This is a recent development, as I have used this multiple times before with no problems. As most of my use is in a school environment, I put it down to a change in our school's IT systems (which is usually a safe bet), but I have the same issue on my home PC.

I'm using various Pico & PicoW (RP2040) boards, including Pimoroni's Interstate75 boards with LED matrix panels. All are running MicroPython V1.21.

All host devices are Windows 11 PCs, some (school) are network connected, and my home PC is standalone.

No error messages are displayed.

To Reproduce Connect Pico using USB Select file to run Click Run Program doesn't run, no output in terminal, Run button is now red and has no effect. Soft & Hard reset buttons on IDE have no effect.

To 'unfreeze', Pico needs to be reset manually and webpage needs to be refreshed.

Image

DarrenTownsend avatar Jan 27 '25 12:01 DarrenTownsend

Hi. I cannot replicate it on:

  • Windows 11
  • Chrome 131.0.6778.205
  • ViperIDE v0.5.12
  • MicroPython v1.24.1, Raspberry Pi Pico W

Does your script exit on its own, or does it loop/run indefinitely?

vshymanskyy avatar Jan 31 '25 11:01 vshymanskyy

When I connect it to the IDE (click the USB symbol), any program that's running (ie. main.py) stops running. I can then view & edit other files on the Pico, but if I try to run them nothing happens, apart from the 'Run' button turning red. Clicking the now-red button does nothing.

I will start from scratch with a fresh device and firmware to see if the issue is still there.

DarrenTownsend avatar Jan 31 '25 16:01 DarrenTownsend