Closed
Description
Starting new issue as requested from here:
#4349 (comment)
Pretty simple way to re-create:
- Hold
BOOTSEL
, pressRESET
, getRPI-RP2
folder - Copy firmware UF2* to
RPI-RP2
folder - Board self resets when copy is complete,
CIRCUITPY
folder shows up, everything works as expected - can access REPL, etc. - Can create a
code.py
and soft reset via<CTRL><D>
at REPL and it works as many times as you want. - Press
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 pressing RESET
:
[Wed Mar 10 10:06:14 2021] usb 2-1.6: new full-speed USB device number 57 using ehci-pci
[Wed Mar 10 10:06:14 2021] usb 2-1.6: New USB device found, idVendor=2e8a, idProduct=0003, bcdDevice= 1.00
[Wed Mar 10 10:06:14 2021] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Wed Mar 10 10:06:14 2021] usb 2-1.6: Product: RP2 Boot
[Wed Mar 10 10:06:14 2021] usb 2-1.6: Manufacturer: Raspberry Pi
[Wed Mar 10 10:06:14 2021] usb 2-1.6: SerialNumber: E0C912952D54
[Wed Mar 10 10:06:14 2021] usb-storage 2-1.6:1.0: USB Mass Storage device detected
[Wed Mar 10 10:06:14 2021] scsi host7: usb-storage 2-1.6:1.0
[Wed Mar 10 10:06:15 2021] scsi 7:0:0:0: Direct-Access RPI RP2 2 PQ: 0 ANSI: 2
[Wed Mar 10 10:06:15 2021] sd 7:0:0:0: Attached scsi generic sg3 type 0
[Wed Mar 10 10:06:15 2021] sd 7:0:0:0: [sdc] 262144 512-byte logical blocks: (134 MB/128 MiB)
[Wed Mar 10 10:06:15 2021] sd 7:0:0:0: [sdc] Write Protect is off
[Wed Mar 10 10:06:15 2021] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[Wed Mar 10 10:06:15 2021] sd 7:0:0:0: [sdc] No Caching mode page found
[Wed Mar 10 10:06:15 2021] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[Wed Mar 10 10:06:15 2021] sdc: sdc1
[Wed Mar 10 10:06:15 2021] sd 7:0:0:0: [sdc] Attached SCSI removable disk
After copying firmware UF2 to RPI-RP2
folder:
[Wed Mar 10 10:07:03 2021] usb 2-1.6: USB disconnect, device number 57
[Wed Mar 10 10:07:03 2021] blk_update_request: I/O error, dev sdc, sector 260 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[Wed Mar 10 10:07:03 2021] Buffer I/O error on dev sdc1, logical block 259, lost async page write
[Wed Mar 10 10:07:03 2021] FAT-fs (sdc1): unable to read boot sector to mark fs as dirty
[Wed Mar 10 10:07:04 2021] usb 2-1.6: new full-speed USB device number 58 using ehci-pci
[Wed Mar 10 10:07:04 2021] usb 2-1.6: New USB device found, idVendor=239a, idProduct=80f2, bcdDevice= 1.00
[Wed Mar 10 10:07:04 2021] usb 2-1.6: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[Wed Mar 10 10:07:04 2021] usb 2-1.6: Product: Feather RP2040
[Wed Mar 10 10:07:04 2021] usb 2-1.6: Manufacturer: Adafruit
[Wed Mar 10 10:07:04 2021] usb 2-1.6: SerialNumber: 545473038350C913
[Wed Mar 10 10:07:04 2021] cdc_acm 2-1.6:1.0: ttyACM0: USB ACM device
[Wed Mar 10 10:07:04 2021] cdc_acm 2-1.6:1.2: ttyACM1: USB ACM device
[Wed Mar 10 10:07:04 2021] usb-storage 2-1.6:1.4: USB Mass Storage device detected
[Wed Mar 10 10:07:04 2021] scsi host7: usb-storage 2-1.6:1.4
[Wed Mar 10 10:07:04 2021] input: Adafruit Feather RP2040 Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.5/0003:239A:80F2.0082/input/input193
[Wed Mar 10 10:07:04 2021] input: Adafruit Feather RP2040 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.5/0003:239A:80F2.0082/input/input194
[Wed Mar 10 10:07:04 2021] input: Adafruit Feather RP2040 Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.5/0003:239A:80F2.0082/input/input195
[Wed Mar 10 10:07:04 2021] input: Adafruit Feather RP2040 Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.5/0003:239A:80F2.0082/input/input196
[Wed Mar 10 10:07:04 2021] hid-generic 0003:239A:80F2.0082: input,hidraw7: USB HID v1.11 Gamepad [Adafruit Feather RP2040] on usb-0000:00:1d.0-1.6/input5
[Wed Mar 10 10:07:05 2021] scsi host7: scsi scan: INQUIRY result too short (5), using 36
[Wed Mar 10 10:07:05 2021] scsi 7:0:0:0: Direct-Access Adafruit Feather RP2040 1.0 PQ: 0 ANSI: 2
[Wed Mar 10 10:07:05 2021] sd 7:0:0:0: Attached scsi generic sg3 type 0
[Wed Mar 10 10:07:05 2021] sd 7:0:0:0: [sdc] 14337 512-byte logical blocks: (7.34 MB/7.00 MiB)
[Wed Mar 10 10:07:05 2021] sd 7:0:0:0: [sdc] Write Protect is off
[Wed Mar 10 10:07:05 2021] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[Wed Mar 10 10:07:05 2021] sd 7:0:0:0: [sdc] No Caching mode page found
[Wed Mar 10 10:07:05 2021] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[Wed Mar 10 10:07:05 2021] sdc: sdc1
[Wed Mar 10 10:07:05 2021] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[Wed Mar 10 10:07:06 2021] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
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:
Traceback (most recent call last):
File "code.py", line 10, in <module>
KeyboardInterrupt:
Code done running.
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 6.2.0-beta.3-106-gbe9e045ee on 2021-03-10; Adafruit Feather RP2040 with rp2040
>>> print("hello")
hello
>>>
But then, press the RESET
button:
[Wed Mar 10 10:17:11 2021] usb 2-1.6: USB disconnect, device number 58
and that's it. No more messages, CIRCUITPY
folder does not show up, and the code.py LED blinker is not running.