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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,769 Views
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

Labels (1)
0 Kudos
5 Replies

783 Views
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 Kudos

783 Views
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 Kudos

783 Views
niranjanbc
Contributor IV

Thanks Eric,

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

0 Kudos

783 Views
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 Kudos

783 Views
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 Kudos