STM32F3 discovery board Serial Wire debug not working
Hello STM community, I am new here. I recently decide to learn embedded systems and I bought STM32F3 discovery board having the STM32F303VCT6 chip on it.
But I am facing the issue in serial wire debug. In the SYS, when I try to choose the Serial wire in the debug tab it gives me an error in the TSC.
I don't know about TSC and why is it giving me an error since I disabled it. But it is showing me a pin-conflict error.
This error goes away if I choose the disable option in debug tab.
My objective is to use the serial wire debug or serial wire viewer option in stm32 cube ide to monitor my variables and printf statements during the debugging.
My questions are,
- If I choose disable in debug tab , would I still be able to use serial wire viewer?
- I tried to choose disable in debug tab then How was I succeeded in debug the controller since I didn't selected the ST link pins
- Which option should I choose under debug tab to use the Serial Wire Console.
- Should I just ignore the TSC error?
- I also came accross some information on the internet that there is some SB port, I think SB 10 will be connected to use SWD, how can I confirm this thing there are many jumpers and pins on the board how can I know the purpose of each port/connector?
One thing I want to mention here that when I try to write the code on my own without CUBE MX, I am able to use the printf function to print the data in console using the Semi-hosting (open OCD). But still unable to use the Serial Wire Monitor. I don't have much knowledge about these GDB server and semi-hosting But I am following an embedded systems course from Udemy and they are using a different controller.
Again I am new to this field, may be I am asking some silly thing But I need to fix my issue.
Best regards.
Zaeem Ahmed.

