Skip to content
Discussion options

You must be logged in to vote

Sorry, thought it was for debug.
For upload method, the only way I found is to edit the dtm32CubeProg.sh script to add the desired freq after the interface settings port=SWD.
https://github.com/stm32duino/Arduino_Tools/blob/8017b405abf5534cb34afdf78184be14bf371607/stm32CubeProg.sh#L223

-    ${STM32CP_CLI} --connect port=SWD mode="${MODE}" "${ERASE}" --quietMode --download "${FILEPATH}" "${ADDRESS}" --start "${START}"
+    ${STM32CP_CLI} --connect port=SWD freq=1000 mode="${MODE}" "${ERASE}" --quietMode --download "${FILEPATH}" "${ADDRESS}" --start "${START}"

The STM32Cube programmer cli uses positional arguments so can't simply add it as an extra option using the (boards/platform).local.t…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Answer selected by CZT-PAM
Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants