2025-12-10 3:40 AM
Hello everyone!
My problem is supposed to be a very simple one. I use an interrupt to send messages to my PC, then I send a message back to my STM32. The message is received in good order but I can't print it out. I watched every single YouTube video out there, implemented every single solution (including connecting the SWO to the PB3 pin) - nothing works so far.
Can anyone tell me where am I mistaken?
My Debug Configuration:
Main.c, main.h, and syscalls.c are attached
Solved! Go to Solution.
2025-12-12 7:11 AM
Hello @nick_iliev ;
According the UM1879, to connect T_SWO pin in CN4 to PB3(SWO) pin you need to solder SB14.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-12-11 7:42 AM
Hello @nick_iliev and welcome to the community;
Are you able the see the message when using a terminal such as TeraTerm?
Could you please check the status of SB14 solder bridge.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-12-11 11:02 PM
Hello Kaouthar,
I use DockLight and I do get confirmation for a received message. I can also see the message in my Rx buffer during debugging via the variable explorer.
Thanks for the reply! Yes, the bridge seems to be unsoldered. Perhaps I have to solder it?
Best wishes,
Nick
2025-12-12 7:11 AM
Hello @nick_iliev ;
According the UM1879, to connect T_SWO pin in CN4 to PB3(SWO) pin you need to solder SB14.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-12-15 11:43 PM
Hello Kaouthar,
Yes, this appeared to be the problem. Thank you!
Best wishes,
Nick
2025-12-15 11:46 PM
Hello @nick_iliev ;
If the problem is resolved, please click on Accept as Solution on the reply which solved your issue.
Thank you
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.