0
\$\begingroup\$

I have been on this for about two days now and I'm so frustrated already I don't know what I'm not getting right. I want to be able to use the stm link utility with my stm32f103c8t6 so that I can use the print function in the mcu. I have the stm link v2 mini, and I know that the SWO pin on the board is responsible for send debugging data out of the mcu, what I want to know now is which pin on the stm link v2 mini will I have to connect the SWO to? Pls any idea will be so much appreciated.

\$\endgroup\$
1
\$\begingroup\$

The ST Link Mini V2 (not an official ST part) does not have SWO support.
It only has SWDIO and SWDCLK pins.

For the ST Link V2 it should be pin 13, JTAG TDI/SWO.

\$\endgroup\$
  • \$\begingroup\$ Thanks for the response, I will go get the official one then \$\endgroup\$ – Olawaiye Clifford Mar 20 at 15:06
  • \$\begingroup\$ While that is true, either a mailbox approach as implemented in some open source tools or a serial UART beside the debug channel can still work. \$\endgroup\$ – Chris Stratton Mar 20 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.