-
|
Hi guys, I have to work on a custom board (base on a STM32F103VDT6), which has large capacitors on SWCLK and SWDIO. So, it limits the SWD frequency capability. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Hi @CZT-PAM I would try to do add this in this launch.json: "swoConfig": {
"swoFrequency": 1000000,
}Pay attention, Arduino IDE 2 regenerate this file each time you launch the debug from the toolbar button I didn't test, let me know if it works. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.






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
The STM32Cube programmer cli uses positional arguments so can't simply add it as an extra option using the (boards/platform).local.t…