J-Trace is a connection used for collecting data on the Kinetis target. The J-Trace probe has an internal memory buffer of 4MB where it can store trace data. It supports two modes of trace collection, TPIU (or Rawtrace) and Serial Wire Output (SWO), depending on the configuration of the processor. TPIU can output complex trace, that is both ETM and ITM. SWO is a lightweight standard and can only output ITM trace. The benefits of using J-Trace probe is the bigger memory size and the better collection speed. The drawback is that you cannot collect continuous trace, only the last 4MB of trace is stored.
To collect trace using the J-Trace probe:
This is how you collect trace data using the J-Trace probe.