2021-09-30 11:43 AM
This question pertains to an STM32F413 target board I constructed.
I deliberately skinnied down my target's programing port to include only these barebones signals mentioned in the STLINK V3SET user manual:
The last two signals are to support the Virtual COM Port feature.
I can program my target board using the STLINK V3SET and STM32CUBEPROGRAMMER. However I cannot debug the board using STM32CUBEIDE.
Is the reason for this that I failed to implement the T_SWO signal between the STLINK and my target?
Thanks in advance for any feedback on this.
2021-09-30 11:56 AM
For barebones, only GND, SWDIO, and SWCLK are needed.
In any case, SWO is optional. You should be able to debug without it. Perhaps clarify what "I cannot debug the board" means. Why not?
2021-09-30 12:29 PM
Use SWO/PB3 here for its Debug Communications Channel equivalence to older ARM, basically a free UART for debug, diagnostics, telemetry, etc
2021-09-30 07:37 PM
Gnd, swdio, swdclk, rst, tvcc should be enough to try to bringup the chip, even if it is in low power mode. However, check your chip has supply voltage. If using external clock, remove it to use internal one. Check reset pin level after power on and check boot pin level, check the swd bit rate if you use flying wires.
Swo is the poor's man vcp link, don't need both.