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

Verification failed on STM32F103 target on interface frequency >1MHz in the debug firmware #2

Open
Misaka0x2730 opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Misaka0x2730
Copy link
Owner

Misaka0x2730 commented Oct 18, 2024

When target is STM32F103, if MioLink is flashed with a debug firmware, at 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.
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.

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

@Misaka0x2730 Misaka0x2730 added the bug Something isn't working label Oct 18, 2024
@Misaka0x2730 Misaka0x2730 self-assigned this Oct 18, 2024
@Misaka0x2730 Misaka0x2730 changed the title Verification failed on STM32F103 target on interface frequency >1MHz in the debug configuration Verification failed on STM32F103 target on interface frequency >1MHz in the debug firmware Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant