I have board with STM32F103 with SWD (Serial wire debug) including SWO (Serial Wire Output) for debugging have ULINK 2 and Segger J-Link. I would like SWO used to output debug information, unfortunately I can not find anywhere example, library functions for print on SWO
Can you help me?
Example, end of the thread, the retargeting of printf() is a pretty standard part of Keil. For the SWV/SWO stuff to work you need to provide a coherent setting for the clock speeds.
my.st.com/.../Flat.aspx
Unfortunately link does not work. And how is good habit, in the forum st.com still does not work search
May be we speak about my.st.com/.../Flat.aspx
I do not understand, where the function ITM_SendChar() is defined?
Ok herr is shoreten link https://goo.gl/Dkd4IG
In most CMSIS based systems it would come from core_cm3.h, via arm_math.h or stm32f1xx.h
Other salient documentation www.google.com/search