adafruit / tinyuf2

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

STM32F401CCU6 #242

Closed Bl00d0und4 closed 2 years ago

Bl00d0und4 commented 2 years ago

Operating System

Windows 11

INFO_UF2.TXT

TinyUF2 Bootloader 0.10.2 - st/cmsis_device_f4 (v2.6.8) st/stm32f4xx_hal_driver (v1.8.0-8-g1d99564) tinyusb (0.12.0-203-ga4cfd1c69) Model: STM32 STM32F401CxUx Board-ID: BlackPill Date: Jun 24 2022

What happened ?

I successfully flashed the controller with tinyuf2. The USB drive appears and I can copy the UF2 file to the controller. Then the controller restarts but the program is not loaded.

How to reproduce ?

I convert a .bin with the following commands: uf2conv.py -c -b 0x08010000 -f STM32F4 beta_1.01.ino.bin

Debug Log

No response

Screenshots

No response

hathach commented 2 years ago

simply converting binary with uf2conv won't work, you will need to change the linker to start with 0x8010000 https://github.com/adafruit/tinyuf2/issues/75#issuecomment-889666036

Bl00d0und4 commented 2 years ago

i dont know how :-(

hathach commented 2 years ago

for how-to, you could use discussion, post your detail setup and link to your github project. Others may help you out.