2013-01-02 02:20 PM
Hello,
do STM32F0 support function, where printf output is forwarded to ''Debug (printf) Viewer'' in Keil not to UART?Thanks2013-01-02 05:32 PM
Trace (ETM, ITM, DWT) not available on Cortex-M0
2017-06-30 09:13 AM
This is possible using uVision Event Recorder:
See
https://community.st.com/0D50X00009XkeHKSAZ
Bob Boys
ARM
2017-06-30 09:46 AM
The IDE can do it for you - go to 'Manage Run-Time Environment' and select the right option for STDOUT. In this case ITM.
2017-06-30 09:47 AM
For sure for non M0 devices - in this case not available on F0.
2017-06-30 07:17 PM
Hello
The 'USER' selection is normally used to redirect to hardware such as a UART.
Using ITM or EVR does not require a UART or other user hardware.
Attached is an updated version of the Keil ST-Link appnote. I will put this on Keil.com early next week:
See page 15 for the method to provide printf for STM32F0 Coretx-M0 processors. This will also work for other Cortex-M devices.
Bob Boys
________________ Attachments : StLink_3.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyV0&d=%2Fa%2F0X0000000b9l%2FCZUhXcxo1Z.qMFD1lt5rT1NXY4zT1WG81B3GSWYdXcU&asPdf=false