Tracing using SWD/SWO/SWV with Jlink on Kinetis design studio

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

Tracing using SWD/SWO/SWV with Jlink on Kinetis design studio

2,767 次查看
niranjanbc
Contributor IV

I have the jlink configured to SWD debugging and i have SWO enabled.
I have 10 Pin interface(SWD) connected from Jlink to Target board.

 

how to enable the tracing on Kinetis design studio(KDS), i dont see anything on console for Serial wire Viewer(SWV)

 

does KDS need any plugin to added.

 

Thanks
Niranjan

标签 (1)
0 项奖励
回复
5 回复数

1,781 次查看
BlackNight
NXP Employee
NXP Employee

Hi Niranjan,

you certainly can do SWO output in KDS, and you don't need any special plugins for this. I can use it to print messages to the console view like this:

pastedImage_1.png

Is this what you are looking for?

I hope this helps,

Erich

0 项奖励
回复

1,781 次查看
BlackNight
NXP Employee
NXP Employee

Hi Niranjan,

in any case, here is a tutorial about it: https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-ecli... 

I hope this helps,

Erich

0 项奖励
回复

1,781 次查看
niranjanbc
Contributor IV

Thanks Eric,

finally ended up using Segger's ozone for doing trace.

0 项奖励
回复

1,781 次查看
BlackNight
NXP Employee
NXP Employee

Hi Niranjan,

does your 10pin connector actually have the SWO pin routed to? I ask because most boards (e.g. FRDM) do not have this pin. What board are you using?

Erich

0 项奖励
回复

1,781 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Niranjan,

KDS does not support the trace function .

There are some thread about also about this topic :

Seggar J-Trace Cortex-M 

KDS trace capabilities? 

Hope it helps


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复