-
-
Notifications
You must be signed in to change notification settings - Fork 40k
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
smt32 F103 failed to flash qmk #17689
Comments
Apparently the flashing tool detected “Target: STM32F1_Low-density_32K”, which means that you have the STM32F103x6 chip (or maybe even some non-ST clone of that chip) with only 32K flash. The stm32duino bootloader reserves 8K for itself, leaving only 24K (24576 bytes) for the firmware, but apparently your firmware is larger than that, therefore the flashing process fails after crossing the 24K boundary. If you really want to use this chip, you would need to get the firmware size down, probably by disabling some features; but you may end up wasting a lot of time on it without getting a usable result in the end. Note that the support for STM32F103x6 chips may not be 100% functional in current QMK versions (e.g., see #15297). Although the ChibiOS fix for USB support should be included now, the EEPROM emulation code would probably need to be turned off ( |
How about extended flash, say, W25Q128. Does that possibly work? |
No, this is not RP2040 — STM32F103 cannot run code directly from an external flash chip. (Well, maybe some STM32 chips can do that using the FSMC peripheral, but it supports only flash chips with a parallel interface, and is present only in larger package variants (>= 100 pins) with lots of internal flash; it's also many times slower than the internal flash.) |
Can you test the STM32F103C6 support code from #17853? Note that you need to use at least |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs. |
This issue has been automatically closed because it has not had activity in the last 30 days. If this issue is still valid, re-open the issue and let us know. |
https://github.com/rogerclarkmelbourne/STM32duino-bootloader/blob/master/bootloader_only_binaries/generic_boot20_pc13.bin
The first time I used stm32f103, I flashed the bootloader provided in qmk, and the device displayed maple003, but I couldn't flash the qmk firmware. Is there any modification?
The text was updated successfully, but these errors were encountered: