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
PC freezes when upgrading from 2.3.1 to 3.0 #954
Comments
Thank you for the report! We'll look soon! |
No problem - let me know if you need any more information. |
Hi - I tried this on a Windows 10 machine also running 1803 and was unable to duplicate the problem.
That will erase CIRCUITPY. Then reload 3.0.0-rc.0 and see if you get the same hang.
|
Thanks - I'll try the suggested ideas. I am away at the moment, so it will be tomorrow before I get back with my findings. I'll also try a different PC and see if I get the same behaviour. |
Sorry for the delay in responding - please see my findings below; I tried suggestion 1. erasing circuitpy, but got the same behavior when copying the 3.0.0-rc.0.uf2. I then tried this again with a windows 7 laptop and a freshly downloaded 3.0.0-rc.0.uf2 file: Re. question 2: I don't have any third-party disk-indexing or backup programs installed: just the usual antivirus (Kaspersky). Re. question 3: on the original windows 10 PC the METROBOOT drive does disappear, but CIRCUITPY does not re-appear. I'll post an update after I've tried this on a Macbook. |
After you try on the Macbook, assuming it still has a problem, let's try updating the bootloader: you have a fairly old version. Drag this uf2 to METROBOOT, and wait for the flashing to finish and the red LED to start pulsing agin Is this the only CircuitPython-capable board you have, or do you have any others that seems to work fine? |
I've not got my hands on a macbook yet, but I did update the bootloader as per your instructions. Unfortunately I'm still experiencing the same behavior. |
In your first post, you had a main.py that blinked the red LED. I assume you don't have that running in most of these tests, but when you did, did the main.py run and blink the LED even when the host was frozen? If you can watch the dotstar on the Gemma and record the pattern, that would be interesting. blue means that the initial boot sequence is running, but it shouldn't blink. You might see blue for about 2 seconds, and then you should see a pulsing green. This is the key for interpreting the colors and flashing: https://learn.adafruit.com/welcome-to-circuitpython#circuitpython-rgb-status-light Could you disable Kaspersky and try again, also? Thanks for your patience in trying all these things. |
The sequence of the flashing dotstar LEDs on the GEMMA M0 is GREEN(x1), CYAN(x1), BLUE(x9).
|
sorry that didn't paste in very well - its the standard demo code that came pre-installed. |
(I edited the code paste: If you surround it in three backticks, it formats as code.) Rename |
Thanks for the quick reply and advice. I'll try the suggestions later today, but can answer the question |
Hi, on the GEMMA M0 I renamed the main.py file. The PC still locks up after the 3.0.0-rc.0.uf2 file is copied to the GEMMABOOT drive, but now I get a green heartbeat on the dotstar LED, instead of blue blinking. |
I've checked this on a Macbook now, and can report that the 3.0.0-rc.0.uf2 file works: the CIRCUITPY drive appears and the Macbook operates normally. So it seems that this is a problem affecting windows, but not Macbooks. |
I'm guessing that it may very well be something you have installed on both your Windows machines that's getting confused. Perhaps go through everything that's installed and see what's third-party and common to both machines. Another user had some monitoring software called "AIDA64" that caused trouble: https://forums.adafruit.com/viewtopic.php?f=60&t=135400 Also, as I mentioned, 3.0.0 newly supplies a gamepad HID device and a "consumer control" (media keys) device. It's possible you have a weird game controller driver installed that's getting confused by the gamepad. |
I restarted the windows 10 laptop in safe mode, and then plugged in the GEMMA M0 with circuitpy 3.0.0-rc.0 installed. The CIRCUITPY drive appeared and the laptop did not lock up, so it must be a driver-related issue. I'll see if I can isolate what is causing the conflict. |
Great, thanks! Another person is having similar issues here: https://forums.adafruit.com/viewtopic.php?f=63&t=134698&p=680535#p680503. They also have Kaspersky installed. |
Hi. this does seem to be caused by Kaspersky - I re-tried disabling all services and startup programs and found that Kaspersky was still running - I had to manually exit the Kaspersky program to stop it from running. The Gemma M0 was then detected. |
Thanks for the testing! I did some brief research and I don't see this as a typically reported problem. If there are features of Kaspersky you can turn off, perhaps you can disable some but not all and get it to work. I'm not sure what would cause it to hang up the host computer. It may possibly have to do with the USB device switching identities under its nose, but that's just speculation. |
Closing since this isn't a CircuitPython issue. Thanks for the good debugging! |
I've logged this with Kaspersky support and they have acknowledged that this is a new bug. Apparently the developers are currently working on a fix. I'll keep this thread updated for others' information - when (or if) Kaspersky come back with a solution. |
I am having exact same issue but on Arduino Zero.
and Than windows locks/Freezes until I unplug Zero from it. I am on Windows 10 Enterprise 64 bit , intel i5 , 8GB RAM. Posted it here, if I can help in anyway. |
@jay6621 Better to ask this in https://forums.adafruit.com. Can you flash back to 2.3.1 using another computer? Try uninstalling ESET completely if you can, and check the list of installed programs for other suspicious stuff. Make sure there's no main.py or code.py, and do the |
I'm getting a problem trying to upgrade a metro m0 express from CircuitPython 2.3.1 to 3.0. I'm using a PC with windows 10 - I switch to the boot drive mode and copy the 3.0.0-rc.0.uf2 file from github into it. As the .uf2 file is copying to the board the PC locks-up (mouse and keyboard unresponsive). The board reboots but PC remains locked. If I reset the board the PC unlocks briefly then locks-up again. When I unplug the board's USB cable the PC unlocks, when I plug the cable back in again the PC locks-up.
I can copy the 2.3.1.uf2 back onto the boot drive and all works OK.
Windows PC details
HP Omen laptop 15-ce0xx intel core i7HQ @ 2.80GHz
Windows 10 Home 64-bit version 1803 OS build 17134.112
CircuitPython upgrade file name:
adafruit-circuitpython-metro_m0_express-3.0.0-rc.0.uf2
Metro M0 express details
METROBOOT folder INFO_UF2.TXT contents:
UF2 Bootloader v1.21.0 SFHR
Model: Metro M0
Board-ID: SAMD21G18A-Metro-v0
CIRCUITPY folder boot_out.txt contents:
Adafruit CircuitPython 2.3.1 on 2018-05-07; Adafruit Metro M0 Express with samd21g18
CIRCUITPY folder main.py
`import digitalio
import board
import time
led = digitalio.DigitalInOut(board.D13)
led.direction = digitalio.Direction.OUTPUT
while True:
led.value = not led.value
#print("Hi ")
time.sleep(2.0)
`
The text was updated successfully, but these errors were encountered: