Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing uf2 file created with command line #17

Open
lenschcode opened this issue Feb 8, 2022 · 1 comment
Open

Flashing uf2 file created with command line #17

lenschcode opened this issue Feb 8, 2022 · 1 comment

Comments

@lenschcode
Copy link

Flashing a uf2 firmware with only the -bl uf2 flag in the command line causes the bootloader to overwrite itself.

Steps to reproduce:

  1. firmware with BOOTLOADER = stm32-dfu in rules.mk
  2. compile firmware with flag -bl uf2
  3. flash that uf2 file

That makes the blackpill unresponsive to any actions and reset.

Fix: Reflash the uf2 converter binary with dfu-util and change the rules.mk to BOOTLOADER = tinyuf2

Suggestion: Specify that only changing the flag when compiling will not work and setting BOOTLOADER to tinyuf2 is necessary.

@KarlK90
Copy link
Collaborator

KarlK90 commented Apr 1, 2022

Thanks for reporting, with qmk/qmk_firmware#16525 being merged this should no longer happen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants