-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Feather RP2040 CIRCUITPY folder disappears after reset #4377
Comments
Also having the same issue. https://forums.adafruit.com/viewtopic.php?f=57&t=176407&p=859903 |
I'm having this issue as well, and noticed the same behavior if you pull power. |
I'm seeing the same thing on my two Feather RP2040s. Plugged in via USB Hub vs. direct into PC did not make a difference. I see the same behavior mentioned when pressing reset button, or unplug / replugging power. |
Do any of you have the same issue on Pico with the same version of CP? |
I do not have the same issue on a Pico. I tried with the newest UF2 from S3 for Pico and Feather RP2040. The Pico seems to behave normally. I can unplug and replug it and |
Sorry, I don't have a Pico or any other RP2040 board to test with. |
Pico works as expected. Tested with |
I just tested based on this issue and I found that it the Feather RP2040 from the latest production run (I got 2 of them yesterday delivered by DHL to me in Canada) worked as they should. I followed the steps as laid out by caternuson at the start of the post.
|
I did a further test and I EJECTED the CIRCUITPY USB drive from my PC in the Windows File Explorer window, I then unplugged the USB cable from the Feather RP2040. I waited a few seconds then plugged the USB cable back in and the CIRCUITPY drive appeared and the code.py restarted properly. |
Just as another datapoint: the two RP2040 Feathers I received yesterday exhibit this problem. The steps I performed:
|
Could you all include which OS's you have this problem on, and if you try it on another OS, does the problem change or go away? |
I've tried a few Windows 10 machines an also Linux (my regular Pi 4 w/normal Pi OS). I got to the same point on all machines I've tried installing/copying from. |
The issue occurs for me on both MacOS 11.2.2 Big Sur x86 and Windows 10 Pro x86 |
and Windows 7. Same behavior for me on both. I have noticed that |
Ubuntu 20.04.2 LTS and Windows 10 |
I was using my Windows 10 PC. I'll try it later on my Macbook Pro. |
FYI -- I received a feather_rp2040 today and I am(so far) unable to reproduce this issue on a Raspberry Pi 400. edited to add -- also tried on Ubuntu 20.04 -- unable to reproduce their either. also tried using Mu on the Raspberry Pi -- still works normally. |
I just tried this with the 2nd Feather RP2040 I ordered and it is not doing this. It behaves normally. Both Feathers are from the same work order. Neither have headers soldered. They are being used straight from bag. Same USB cable/port/PC. 6.2.0-beta.3 firmware. |
/ 6 leads to ~40mhz. 2M and 4M have a max 0x03 read speed of 60mhz. If the divisor is / 4 then the speed is just over 60mhz. Fixes #4377
Hi folks, please try this with builds after aec03a4. I found we were clocking the flash faster than it's rated for. I think this caused it to sometimes work if the clocks started up without overshooting their speed. If it did, it'd try to load code off the flash and it'd be corrupt. The corrupt code would cause a hard fault and things would stop. #4392 lowers the speed to 40mhz-ish which should be much more reliable even if the starting clocks overshoot. |
Verified that this change fixes the problem on the two Feather 2040s I have. |
FYI @aallan |
Seems to have fixed it. Both of my boards are running normally now. Thanks! |
I'm late to this so just reporting it works here also. I used Thanks for the fix! |
Is it possible that this problem could be back, on a Macropad running 7.0.0-alpha.6 ? I’m seeing a very similar problem, except I can’t get the board back by reset — I have to use the nuke uf2 to clear it and start over with flashing. I described what I’m seeing here: https://forums.adafruit.com/viewtopic.php?f=60&t=182523&p=886785#p886785 before I found this Issue. |
@mathias I answered in the forums. |
Starting new issue as requested from here:
#4349 (comment)
Pretty simple way to re-create:
BOOTSEL
, pressRESET
, getRPI-RP2
folderRPI-RP2
folderCIRCUITPY
folder shows up, everything works as expected - can access REPL, etc.code.py
and soft reset via<CTRL><D>
at REPL and it works as many times as you want.RESET
button, theCIRCUITPY
folder goes away and never comes back. Anycode.py
also does not run.*I originally used the 6.2.0-beta.3 firmware, but have also tried various Absolute Newest builds. All behave the same.
Here's some dmesg traffic FWIW.
After holding
BOOTSEL
and pressingRESET
:After copying firmware UF2 to
RPI-RP2
folder:At this point everything is as expected. I've got a
CIRCUITPY
folder. The LED blink code.py is running. I can connect to serial and drop into REPL:But then, press the
RESET
button:and that's it. No more messages,
CIRCUITPY
folder does not show up, and the code.py LED blinker is not running.The text was updated successfully, but these errors were encountered: