AnsweredAssumed Answered

How to use SWO on Kinetis?

Question asked by Frank Zhao on Jan 15, 2014
Latest reply on May 17, 2014 by Tsvetan Mudrov

I would like to use Cortex M's SWO for debugging on a MK10 and MK20, I own a J-Link and I love using the SWO viewer for debugging.

 

I usually use STM32 microcontrollers, and I already know how to do the same thing on them, basically setup CoreDebug and ITM, but they also have a ST specific DBGMCU pheripheral that needs to be configured.

 

DBGMCU only exist on ST chips. What is the equivalent on Kinetis? I do not see any in the KQRUG document. Does that mean I can just write to ITM and see the output? Does the pin automatically default to being a SWO pin instead of GPIO?

 

Thanks

Outcomes