Skip to main content
Ash G
Associate
June 19, 2018
Solved

Printf SWO debugging in Cortex M0+

  • June 19, 2018
  • 5 replies
  • 3195 views
Posted on June 20, 2018 at 01:45

I'm trying to use printf to SWO viewer on ST-LINK utility for debugging purposes. I'm using a STM32L062K8, which has a Cortex M0+processor. After much research on the internet, found out that ITM trace is not available on M0+ processors. Which means I can't use any ITM functions as explained

http://www.openstm32.org/forumthread2893

. I can't find any solution or tutorial on this problem. Is there any work around for this situation?

Thank you! 

    This topic has been closed for replies.
    Best answer by Tesla DeLorean
    Posted on June 20, 2018 at 02:55

     ,

     ,

    https://community.st.com/0D70X000006SlaWSAS

     ,

    5 replies

    Tesla DeLorean
    Guru
    June 19, 2018
    Posted on June 20, 2018 at 01:54

    Bob Boys published an article on using the EVT event recorder method. I'll try to dig up the posts when I get back to a computer. 

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    June 20, 2018
    Posted on June 20, 2018 at 02:55

     ,

     ,

    https://community.st.com/0D70X000006SlaWSAS

     ,
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Ash G
    Ash GAuthor
    Associate
    June 20, 2018
    Posted on June 20, 2018 at 03:34

    Thank you! Appreciate your help. But unfortunately, I'm using STM32 Workbench. I have come a long way with this project to change IDE now. Is there any other solution available that will work with STM32 Workbench?