Skip to content

I/O errors when copying UF2 file to Adafruit Feather nRF52840 Sense with Adafruit nRF52 Bootloader 0.6.0 #212

@koenvervloesem

Description

@koenvervloesem

Set up

  • Adafruit Feather nRF52840 Sense with Adafruit nRF52 Bootloader 0.6.0
  • Host system: Ubuntu 20.04 LTS

Describe the bug

When I want to copy a UF2 file to the bootloader's mounted storage device, I get I/O errors and the file isn't copied.

To Reproduce

Steps to reproduce the behavior:

  1. Enter bootloader mode by pushing the RESET button
  2. Copy UF2 file for CircuitPython
  3. See error
  4. CircuitPython doesn't run on the device

I have also tried other UF2 files, other USB cables and other USB ports of the host system.

Dmesg output

[211537.170865] usb 1-1: new full-speed USB device number 86 using xhci_hcd
[211537.325252] usb 1-1: New USB device found, idVendor=239a, idProduct=0087, bcdDevice= 1.00
[211537.325258] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[211537.325261] usb 1-1: Product: Feather nRF52840 Sense
[211537.325264] usb 1-1: Manufacturer: Adafruit Industries
[211537.325267] usb 1-1: SerialNumber: 468AB2181E24A3D8
[211537.327747] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[211537.328502] usb-storage 1-1:1.2: USB Mass Storage device detected
[211537.328810] scsi host3: usb-storage 1-1:1.2
[211538.335828] scsi host3: scsi scan: INQUIRY result too short (5), using 36
[211538.335838] scsi 3:0:0:0: Direct-Access     Adafruit nRF UF2          1.0  PQ: 0 ANSI: 2
[211538.336392] sd 3:0:0:0: Attached scsi generic sg2 type 0
[211538.337297] sd 3:0:0:0: [sdc] 65801 512-byte logical blocks: (33.7 MB/32.1 MiB)
[211538.337646] sd 3:0:0:0: [sdc] Write Protect is off
[211538.337650] sd 3:0:0:0: [sdc] Mode Sense: 03 00 00 00
[211538.337946] sd 3:0:0:0: [sdc] No Caching mode page found
[211538.337953] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[211538.364478]  sdc:
[211538.367333] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[211582.512099] usb 1-1: USB disconnect, device number 86
[211582.534654] blk_update_request: I/O error, dev sdc, sector 517 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[211582.534660] Buffer I/O error on dev sdc, logical block 517, lost async page write
[211582.735578] FAT-fs (sdc): unable to read boot sector to mark fs as dirty

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions