Programming a SWD connection to external ST-LINK/V2
Hello. I use the NUCLEO-G071RB together with the STM32CubeIDE (Ver. 1.14.0) and STM32CubeMX (Ver. 6.10.0). I completed the first prototype phase and ported the code to a custom board with a STM32G0 MCU.I used an external ST-LINK/V2 debugger to write the code to the custom board. The ST-LINK LEDs are flashing so I believe that connection is working.
However, the next step is to program a SWD connection from the custom board (MCU) to the external ST-LINK/V2. for debugging purposes.
Question: is the CMSIS-DAP interface library the best solution, or is a HAL library driver available for the SWD link? Ideally a SWD code example is available. Please advise. Thank you.
