adafruit / tinyuf2

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

ESP32-S3-Devboard-C1 wont run .uf2 #384

Closed marchingband closed 2 months ago

marchingband commented 2 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 ?

I see the board come up as a drive, and drop my .uf2, no errors in the console, but the binary never runs. Instead the bootloader always runs.

 (315) app_start: Starting scheduler on CPU0
0;I (I2032a)p_atn_t:skt rtint dchedClUrnmCPU1
I (330) main_task: Calling app_main()
I (330) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (340) main_task: Returned from app_main()

How to reproduce ?

I am using PIO to create a binary: pio run python3 ./uf2conv.py ./pio/build/ESP32S3/firmware.bin -c -b 0x00 -f ESP32S3

Debug Log

No response

Screenshots

No response

marchingband commented 2 months ago

If i dnd update-tinyuf2.uf2 it does work, and the mcu resets. I wonder what could be wrong with my .uf2 file, any tips?

marchingband commented 2 months ago

I solved it, I was just being dumb, sorry 🙈