adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
427 stars 380 forks source link

macOS 14.5 UF2 copies generate spurious (and harmless) errors #330

Open dhalbert opened 1 month ago

dhalbert commented 1 month ago

Operating System

MacOS

INFO_UF2.TXT

UF2 Bootloader 0.8.3 lib/nrfx (v2.0.0) lib/tinyusb (0.12.0-145-g9775e7691) lib/uf2 (remotes/origin/configupdate-9-gadbb8c7) Model: Adafruit Circuit Playground nRF52840 Board-ID: nRF52840-CircuitPlayground-revD Date: Jan 29 2024 SoftDevice: S140 6.1.1

What happened ?

Copying a UF2 to the drive causes one of two warning boxes to appear:

If the UF2 being copied is identical to what's on the board.

The operation can’t be completed because the device disappeared.

or, if the UF2 is different (for example)

The Finder can’t complete the operation because some data in “adafruit-circuitpython-circuitplayground_bluefruit-en_US-9.0.5.uf2” can’t be read or written.
(Error code -36)

How to reproduce ?

(as above). Note this is macOS 14.5. We did not see this in earlier versions that I remember.

Problem does not occur with SAMD or Espressif UF2 bootloaders. I wonder if the board is rebooting "too quickly" after the copy finishes

Debug Log

No response

Screenshots

No response