Skip to main content
karthik.arunachalam
Associate
November 6, 2018
Question

How to redirect Printf to SWV Console in TrueStudio?

  • November 6, 2018
  • 18 replies
  • 4036 views

I have followed step-by-step set up as explained in http://blog.atollic.com/cortex-m-debugging-real-time-variable-watch-using-swv/swo but it didnt work for me. I get sometimes some random characters printed on the SWV console.

My setup:

IDE: TrueStudio

Hardware: NUCLEO-F410RB

Programmer: On-board ST-Link

Let me know if you need further details.

    This topic has been closed for replies.

    18 replies

    MFend
    Associate III
    July 26, 2019

    of course syscalls must be included in the Src files of the project

    Miles1
    Associate III
    September 11, 2020

    So glad to finally get this working! Lots of small configurations to overlook.

    To clarify for future readers, I believe "Core Clock" needs to match SYSCLK in the clock config tree.