Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • J-Trace streaming trace probes
  • Setting up Trace
  • Technology
  • Accessories
  • Tools
  • Models

Setting up Trace

The following tutorial will explain how to setup streaming trace on a J-Trace PRO by using Ozone as a debugging tool. More information to streaming trace is available here: Streaming Trace.

Contact us
Downloads
Documentation
SEGGER Debug & Trace Probes
  1. 1.General Setup information
  2. 2.Getting started with Ozone
  3. 3.Getting started with your own target device
  4. 4.Troubleshooting

General Setup information

For a working pin trace setup the following is required:

  • J-Trace PRO
  • Latest J-Link software
  • A target device that supports tracing
  • A trace capable board

Generally the J-Link software will try to autodetect and initialize all architecture specific registers to enable tracing. However on some chips there are additional chip specific initialization steps that are required for tracing to work. This can be done via a JLink Script file.

Getting started with Ozone

ozone-timeline

The easiest and fastest way to get started with tracing is using the included Cortex-M Trace Reference Board.

For the best trace experience it is recommended to use our universal Debugger Ozone.
With Ozone and the trace tutorial project you should be up and running with your first trace session within 5 minutes.
 

Getting started with your own target device

If you are looking to get started on a different target device than the one on the Cortex-M Trace Reference Board we recommend to first take a look at our tested devices page.
The tested devices page contains a large collection of out-of-the-box examples for nearly every trace capable evaluation board that is publicly available.

So simply check the list if your target device or eval board is present and try the example project out. Just make sure that if you are using a custom board that you are using the exact same trace pins as the pictured eval board.
If that is the case and the example project works, simply reuse the .JLinkScript/.pex file which is in the example project and set it in your own custom Ozone project.

Should you use different trace pins than the eval board you will have to create your own trace pin initialization as explained in our Wiki.

Troubleshooting

Should you be getting trace error messages or your setup is not generating trace data as expected we recommend to visit our troubleshooting guide in our Wiki.

Our general Trace knowledge base can be found in our Wiki as well.

全球总部

德国: SEGGER Microcontroller GmbH

地址: Ecolab-Allee 5
40789 Monheim am Rhein, Germany
电邮: info@segger.com
电话: +49-2173-99312-0
传真: +49-2173-99312-28

网点分布

中国:哲戈微系统科技(上海)有限公司

地址: 中国上海市闵行区秀涟路133号
大虹桥国际A 栋218室
邮编201199
电邮: china@segger.com
电话: +86-133-619-907-60

通过ISO 9001认证

ISO 9001

30多年的嵌入式行业经验

First-class embedded software tools since 1992
  • 版本说明
  • 免责声明
  • 隐私策略
  • 沪ICP备2022005181号
  • 沪公网安备 31011202014525号
© 2025 SEGGER - 版权所有.

您即将离开 segger.cn 而访问境外网站,是否继续?