Skip to content

Known issues

Dmitry Rezvanov edited this page Nov 24, 2024 · 5 revisions

Issue with STM32F103 in the debug firmware

When target is STM32F103, if MioLink is flashed with a debug firmware and interface frequency higher than 1MHz, firmware verification (compare-sections) almost always fails (one or more sections - MIS-MATCHED).
This occurs when working over both SWD and JTAG, but it most often occurs on JTAG, much less frequently on SWD.
Release firmware works fine, even at a frequency of 10MHz.
It seems to be somehow related to context switching, as after moving the GDB task to a core 1, the issue on SWD started occurring much less frequently.

Link to the issue - https://github.com/Misaka0x2730/MioLink/issues/2

Workaround: for debug firmware to work with STM32F103 (and probably with all STM32F1xx) use interface frequency 1MHz or lower (monitor frequency 1M).
Or just use the release firmware.