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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,830件の閲覧回数
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 返答(返信)

844件の閲覧回数
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 件の賞賛

844件の閲覧回数
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 件の賞賛

844件の閲覧回数
niranjanbc
Contributor IV

Thanks Eric,

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

0 件の賞賛

844件の閲覧回数
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 件の賞賛

844件の閲覧回数
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 件の賞賛