ITM output via SWO on S32k312

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ITM output via SWO on S32k312

386 次查看
neurolyzer
Contributor II

Hi,

I am trying to configure the SWO in the S32k312. But since the S32k312 lacks an TPIU how can I configure the encoding of the output and the clock rate which usually both are done via TPIU registers

TPIU_ACPR and TPIU_SPPR

I am setting up DEMCR, ITM_TER and ITM_TPR any registers that I am missing?

2 回复数

68 次查看
viktor_marhansky
Contributor I

Hello,
Did you manage to make it work in the end?

I am struggling with the same issue:
https://community.nxp.com/t5/S32K/SWV-ITM-gt-SWO-on-S32k324-not-working/td-p/1805855
Any info on this topic is much appreciated.
With regards,
Viktor

0 项奖励

43 次查看
neurolyzer
Contributor II

Hi,

no i did not manage to get any output via ITM running. I solved the issue with the missing TPIU after I discovered that there is a SWO registerblock where the format of the output can be configured. Afterwards I was able to get some output through SWO when I set up the pc sampling functionality but ITM output never worked for me.

0 项奖励