2025-01-08 2:25 AM - last edited on 2025-01-08 3:10 AM by Andrew Neil
Originally a reply here: https://community.st.com/t5/stm32-mcus-products/using-swd-pins-to-flash-code/td-p/759046
Split to a new thread as this is a new question.
Thank you for the solution. However, I have another doubt here. While referring to: STM32H5 MCU hardware development. i came across-
Here it says for DFU (device firmware upgrade) for STM32H503 series is supported by PA11/ PA12. So does this mean that both SWDIO, SWCLK and the port PA11/PA12 can be used for the firmware update?
2025-01-08 3:11 AM
Please mark the solution in the other thread.
@bhoomika_patil wrote:does this mean that both SWDIO, SWCLK and the port PA11/PA12 can be used for the firmware update?
Yes - and all the other options.
But only SWD provides debug.
And you will have to provide additional hardware for USB ...
2025-01-08 3:43 AM - last edited on 2025-01-08 3:55 AM by Andrew Neil
duplicate - merged
Thank you for the explanation. However, while referring to STM32H5 MCU hardware development: i came across-
The table says that DFU (device firmware update) can be done using PA11/ PA12 for STMH503 series, so does this indicate that both SWDIO, SWCLK and PA11/PA12 can be used for software update?
2025-01-08 4:56 AM
But I have configured all other pins in my design and only left alone with SWDIO and SWCLK. So should it be a problem if I want update the firmware using these two pins?
2025-01-08 5:03 AM - edited 2025-01-08 5:04 AM
You marked the wrong post in the other thread - you need to mark which ever one you think actually provided the solution to your problem!
@bhoomika_patil wrote:But I have configured all other pins in my design
Obviously, if you want to use them for USB then you can't use them for anything else!
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.