This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No display of printf() function in debug(printf) viewer

Hi, 

I am working on ARM Cortex M4 with 'SWD' debugger. I have printf statements in my program but when executed there is no output displayed in the 'Debug viewer'

I have tried selecting the components STDERR, STDIN and STDOUT to ITM but no result.

Parents Reply Children
  • Typically debuggers first interrogate the device ROM table to identify the debug infrastructure supported by the implementation.

    It seems that your device does not have all the required debug components for trace: DWT, ITM, TPIU.

    Are you using a custom Cortex-M4 without TPIU (Trace Port Interface Unit) which is optional?