2018-06-19 04:45 PM
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!
Solved! Go to Solution.
2018-06-19 07:55 PM
,
,
https://community.st.com/0D70X000006SlaWSAS
,2018-06-19 04:54 PM
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.
2018-06-19 07:55 PM
,
,
https://community.st.com/0D70X000006SlaWSAS
,2018-06-19 08:34 PM
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?
2018-06-19 08:55 PM
Well the only other real alternative is to use an USART TX pin. The newer NUCLEO/DISCO implementation typically provide a VCP connection.
Keil has a free license for the ST CM0(+) parts, and can compile with GNU/GCC if that is important.
http://www2.keil.com/stmicroelectronics-stm32/mdk
2018-06-20 11:18 PM
Thank you! I'll try using Keil IDE