Using SWD and USB DFU to flash code
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?
