adafruit / tinyuf2

UF2 bootloader based on TinyUSB for embedded devices such as ESP32S2, STM32F4 and iMX RT10xx
MIT License
320 stars 175 forks source link

UF2 on OSX #383

Closed dcmcshan closed 4 months ago

dcmcshan commented 4 months ago

Operating System

MacOS

INFO_UF2.TXT

TinyUF2 Bootloader 0.18.2 - tinyusb (0.15.0-566-gf1e006d09) Model: Espressif ESP32S3 DevKitC 1 Board-ID: ESP32S3-DevKitC-v1.0 Date: Mar 22 2024 Flash Size: 0x00200000 bytes

What happened ?

Running on ESP32-S3-DevKitC on OSX, device mounts.

image
% ls -al
total 8198
drwx------  1 danielmcshan  staff     2048 Dec 31  1969 .
drwxr-xr-x  8 root          wheel      256 May 11 15:34 ..
-rwx------  1 danielmcshan  staff  4194304 Mar 22 16:39 CURRENT.UF2
-rwx------  1 danielmcshan  staff      191 Mar 22 16:39 INDEX.HTM
-rwx------  1 danielmcshan  staff      176 Mar 22 16:39 INFO_UF2.TXT

I can see the directory, and I can start to write:

% cp -X ~/Downloads/ESP32_GENERIC_S3-20240222-v1.22.2.uf2 . cp: ./ESP32_GENERIC_S3-20240222-v1.22.2.uf2: fcopyfile failed: Input/output error cp: ./ESP32_GENERIC_S3-20240222-v1.22.2.uf2: fchmod failed: No such file or directory

Device then resets and tries to connect again, but UF2 is not presented.

How to reproduce ?

  1. Burn UF2 loader via esptool
  2. Reset and mount to OSX

Debug Log

No response

Screenshots

No response

dcmcshan commented 4 months ago

Apparently it does work... Micropython is installed, it's just that Micropython doesn't support the mass storage?

I guess that's good... sorry to bother :)