Difference between revisions of "Debug Probes - J-Link & J-Trace"

From SEGGER Wiki
Jump to: navigation, search
(Created page with "<div class="toclimit-2"> __TOC__ </div> == Debug Probes - J-Link & J-Trace == === J-Link === ==== J-Link software ==== * J-Link software versioning * J-Link_control_pan...")
 
(45 intermediate revisions by 8 users not shown)
Line 1: Line 1:
  +
The J-Link debug probes with their outstanding performance, robustness, and ease of use are the market leading debug probes today. The J-Trace PRO sets a benchmark for instruction tracing with its streaming trace function that enables unlimited tracing at full clock speed.
<div class="toclimit-2">
 
  +
  +
This wiki page explains and links to details and device specifics that can not be found on the [https://www.segger.com/products/debug-trace-probes/ debug and trace probes product pages].
  +
  +
<div class="toclimit-3">
 
__TOC__
 
__TOC__
 
</div>
 
</div>
== Debug Probes - J-Link & J-Trace ==
 
   
  +
== Glossary / Definitions of Debug and Trace specific terms ==
=== J-Link ===
 
  +
* [[DAP | ARM DAP]]
==== J-Link software ====
 
  +
* [[DAP | ARM DP]]
  +
* [[DAP | ARM AP]]
  +
* [[JTAG]]
  +
* [[SWD]]
  +
* [[SWO]]
  +
* [[ETB]]
  +
* [[ETM]]
  +
* [[TMC]]
  +
* [[MCU Security Options]]
  +
* [[Semihosting]]
  +
  +
== J-Link ==
  +
SEGGER J-Links are the most widely used line of debug probes available today. They've proven their value for more than 10 years in embedded development. This popularity stems from the unparalleled performance, extensive feature set, large number of supported CPUs, and compatibility with all popular development environments.
  +
=== J-Link software ===
  +
* [[J-Link Installer]]
 
* [[J-Link software versioning]]
 
* [[J-Link software versioning]]
 
* [[J-Link_control_panel | J-Link control panel]]
 
* [[J-Link_control_panel | J-Link control panel]]
Line 23: Line 41:
 
* [[Setting up Ethernet interface]]
 
* [[Setting up Ethernet interface]]
 
* [[CFI Flash]]
 
* [[CFI Flash]]
  +
* [[J-Link:Nickname | Nickname feature]]
  +
* [[J-Link_Docker_Container | J-Link in a Docker Container]]
   
==== J-Flash ====
+
=== J-Link model specifics ===
* [[CRC calculation]]
 
 
==== IDE and Debugger specifics ====
 
* [[Atollic TrueSTUDIO]]
 
* [[Eclipse]]
 
* [[IAR EWARM]]
 
* [[Infineon DAVE 4]]
 
* [[J-Link Commander]]
 
* [[Keil MDK-ARM]]
 
* [[NXP KDS]]
 
* [[TI Code Composer Studio]]
 
 
==== J-Link model specifics ====
 
 
* [[J-Link OB]]
 
* [[J-Link OB]]
 
* [[Upgrading CALLIOPE mini to J-Link | J-Link CALLIOPE mini]]
 
* [[Upgrading CALLIOPE mini to J-Link | J-Link CALLIOPE mini]]
Line 43: Line 50:
 
* [[J-Trace PRO Cortex-M]]
 
* [[J-Trace PRO Cortex-M]]
 
* [[J-Trace PRO Cortex]]
 
* [[J-Trace PRO Cortex]]
  +
* [[J-Link-OB-K22-SiFive | J-Link OB K22 SiFive]]
   
==== Extending device support ====
+
=== Extending device support ===
 
* [[Open Flashloader]]
 
* [[Open Flashloader]]
 
* [[Adding Support for New Devices]]
 
* [[Adding Support for New Devices]]
 
* [[Using Flashloader with different IDEs]]
 
* [[Using Flashloader with different IDEs]]
   
==== Troubleshooting ====
+
=== Troubleshooting ===
 
* [[#J-Link model specifics|J-Link model specific]]
 
* [[#J-Link model specifics|J-Link model specific]]
 
* [[#J-Link model specifics|J-Trace model specific]]
 
* [[#J-Link model specifics|J-Trace model specific]]
Line 66: Line 74:
 
* [[Incorrect J-Link USB driver installed]]
 
* [[Incorrect J-Link USB driver installed]]
 
* [[J-Link application not starting]]
 
* [[J-Link application not starting]]
  +
* [[IDE accesses illegal memory regions]]
  +
* [[J-Link:Low power modes production | Low power modes production]]
   
==== Device specifics ====
+
=== Device specifics ===
   
===== ARM =====
+
==== Ambiq Micro ====
* [[CoreLink SSE-200 Subsystem for MPS3]]
 
 
===== Ambiq Micro =====
 
 
* [[Apollo2]]
 
* [[Apollo2]]
   
===== Analog Devices =====
+
==== Analog Devices ====
 
* [[ADuC7xxx]]
 
* [[ADuC7xxx]]
   
===== Atmel =====
+
==== AndesTech ====
  +
* [[J-Link:AndesTech A25 | A25 (RISC-V)]]
  +
  +
==== ARM ====
  +
* [[CoreLink SSE-200 Subsystem for MPS3]]
  +
  +
==== Atmel ====
 
* [[AT91SAM7]]
 
* [[AT91SAM7]]
 
* [[ATSAML11]]
 
* [[ATSAML11]]
   
===== Cypress =====
+
==== Cypress ====
 
* [[PSoC 4xxx series readout protection]]
 
* [[PSoC 4xxx series readout protection]]
 
* [[PSoC series | PSoC series devices]]
 
* [[PSoC series | PSoC series devices]]
  +
* [[Traveo 2 CYT2B and CYT4B series devices]]
  +
* [[Cypress S6J33xxx series devices]]
   
===== Dialog Semiconductor =====
+
==== Dialog Semiconductor ====
 
* [[DA14583 series]]
 
* [[DA14583 series]]
   
===== Infineon =====
+
==== Infineon ====
 
* [[XMC1000]]
 
* [[XMC1000]]
 
* [[XMC4xxx series]]
 
* [[XMC4xxx series]]
 
* [[TLE987x series]]
 
* [[TLE987x series]]
   
===== Intel =====
+
==== Intel ====
 
* [[Intel Quark processors]]
 
* [[Intel Quark processors]]
 
* [[Cyclone V series]]
 
* [[Cyclone V series]]
   
===== MediaTek =====
+
==== MediaTek ====
 
* [[MT7697 series]]
 
* [[MT7697 series]]
 
* [[MT2523 series]]
 
* [[MT2523 series]]
   
===== Microchip =====
+
==== Microchip ====
 
* [[ATSAM Device Series]]
 
* [[ATSAM Device Series]]
 
** [[ATSAME70]]
 
** [[ATSAME70]]
Line 108: Line 123:
 
** [[ATSAMV7x]]
 
** [[ATSAMV7x]]
   
===== Nordic Semi =====
+
==== Nordic Semi ====
 
* [[nRF51 Series Devices]]
 
* [[nRF51 Series Devices]]
 
* [[nRF52 Series Devices]]
 
* [[nRF52 Series Devices]]
   
===== NXP =====
+
==== Nuvoton ====
  +
* [[M2351]]
  +
  +
==== NXP ====
 
* [[NXP device specifics | Device specifics]]
 
* [[NXP device specifics | Device specifics]]
   
===== Renesas =====
+
==== Renesas ====
 
* [[Renesas device specifics | Device specifics]]
 
* [[Renesas device specifics | Device specifics]]
   
===== Silicon Labs =====
+
==== Silicon Labs ====
 
* [[EFM32]]
 
* [[EFM32]]
 
<!--* [[EFR32xG1x|EFR32xG12]]-->
 
<!--* [[EFR32xG1x|EFR32xG12]]-->
Line 125: Line 143:
 
* [[EFR32xG1x_Bootloader]]
 
* [[EFR32xG1x_Bootloader]]
   
===== SiFive =====
+
==== SiFive ====
 
* [[FE310 | Freedom E310 (FE310)]]
 
* [[FE310 | Freedom E310 (FE310)]]
   
===== ST =====
+
==== ST ====
 
* [[ST device specifics | Device specifics]]
 
* [[ST device specifics | Device specifics]]
   
===== Syntacore =====
+
==== Syntacore ====
 
* [[Syntacore SCR1 | SCR1]]
 
* [[Syntacore SCR1 | SCR1]]
   
===== TI =====
+
==== TI ====
 
* [[TM4C Security]]
 
* [[TM4C Security]]
 
* [[TMS570Lx series]]
 
* [[TMS570Lx series]]
Line 140: Line 158:
 
* [[TI_RMxxL|RM5xL series]]
 
* [[TI_RMxxL|RM5xL series]]
   
===== Toshiba =====
+
==== Toshiba ====
 
* [[TMPM46BF10FG Evaluation Board]]
 
* [[TMPM46BF10FG Evaluation Board]]
   
===== Xilinx =====
+
==== Xilinx ====
 
* [[Xilinx Zynq UltraScalePlus | Zynq UltraScale+]]
 
* [[Xilinx Zynq UltraScalePlus | Zynq UltraScale+]]
   
===== Zilog =====
+
==== Zilog ====
 
* [[ZNEQ32_Z32F0xx3 series]]
 
* [[ZNEQ32_Z32F0xx3 series]]
   
==== Evaluation board specifics ====
+
=== Core specifics ===
  +
* [[J-Link:RISC-V | RISC-V]]
   
===== ARM =====
+
=== Evaluation board specifics ===
  +
  +
==== ARM ====
 
* [[MPS3]]
 
* [[MPS3]]
   
===== Ambiq Micro =====
+
==== Ambiq Micro ====
 
* [[Apollo2 EVB]]
 
* [[Apollo2 EVB]]
   
===== Adafruit =====
+
==== Adafruit ====
 
* [[Bluefruit LE UART Friend]]
 
* [[Bluefruit LE UART Friend]]
   
===== Atmel =====
+
==== Atmel ====
 
* [[SAM C21 Xplained Pro]]
 
* [[SAM C21 Xplained Pro]]
 
* [[SAM E53/54 Xplained Pro]]
 
* [[SAM E53/54 Xplained Pro]]
   
===== Infineon =====
+
==== Infineon ====
 
* [[Eval-M1-1302]]
 
* [[Eval-M1-1302]]
   
===== MediaTek =====
+
==== MediaTek ====
 
* [[MT2523 LinkIt Board]]
 
* [[MT2523 LinkIt Board]]
   
===== Microchip =====
+
==== Microchip ====
 
* [[CEC1702 clicker]]
 
* [[CEC1702 clicker]]
 
* [[SAMA5D2 XPlained Ultra]]
 
* [[SAMA5D2 XPlained Ultra]]
   
===== Renesas =====
+
==== Nuvoton ====
  +
* [[NuMaker-PFM-M2351]]
  +
  +
==== Renesas ====
 
* [[RZ/G1E Starter Kit]]
 
* [[RZ/G1E Starter Kit]]
   
===== SiFive =====
+
==== SiFive ====
 
* [[SiFive Arty FPGA Dev Kit]]
 
* [[SiFive Arty FPGA Dev Kit]]
   
===== Silicon Labs =====
+
==== Silicon Labs ====
 
* [[EFM Starter Kits]]
 
* [[EFM Starter Kits]]
   
===== Syntacore =====
+
==== Syntacore ====
 
* [[Syntacore SCR1 SDK Arty | SCR1 SDK Arty]]
 
* [[Syntacore SCR1 SDK Arty | SCR1 SDK Arty]]
   
===== TI =====
+
==== TI ====
 
* [[LAUNCHXL CC2640R2]]
 
* [[LAUNCHXL CC2640R2]]
 
* [[LAUNCHXL CC2650]]
 
* [[LAUNCHXL CC2650]]
Line 195: Line 219:
 
* [[TM4C123G LaunchPad]]
 
* [[TM4C123G LaunchPad]]
   
===== NXP =====
+
==== NXP ====
 
* [[FRDM-KE16Z]]
 
* [[FRDM-KE16Z]]
 
* [[FRDM-KW41Z]]
 
* [[FRDM-KW41Z]]
Line 205: Line 229:
 
* [[TWR-KV58F220M]]
 
* [[TWR-KV58F220M]]
   
===== ST =====
+
==== ST ====
 
* [[SPC560D-Discovery Evalboard]]
 
* [[SPC560D-Discovery Evalboard]]
 
* [[STM3241G-EVAL]]
 
* [[STM3241G-EVAL]]
Line 216: Line 240:
 
* [[NUCLEO-F070RB]]
 
* [[NUCLEO-F070RB]]
   
===== Xilinx =====
+
==== Xilinx ====
 
* [[Zedboard Evalboard]]
 
* [[Zedboard Evalboard]]
 
* [[MicroZed Evalboard]]
 
* [[MicroZed Evalboard]]
   
==== Flash programming ====
+
=== Flash programming ===
 
* [[Programming non memory-mapped flash]]
 
* [[Programming non memory-mapped flash]]
 
* [[Read-Modify-Write Flash]]
 
* [[Read-Modify-Write Flash]]
   
=== J-Trace ===
+
== J-Trace ==
  +
J-Trace PRO is an advanced debug probe that supports the advanced tracing features of Arm Cortex cores. It can capture complete instruction traces over long periods of time—thereby enabling the recording of infrequent, hard-to-reproduce bugs. This is particularly helpful when the program flow "runs off the rails" and stops in a fault state.
  +
Using the right software tools, J-Trace PRO trace probes are particularly helpful in analyzing system behaviour enabling uninstrumented live code coverage and code profiling.
  +
 
* [[General information about tracing]]
 
* [[General information about tracing]]
 
* [[MTB specifics]]
 
* [[MTB specifics]]
 
* [[How to configure JLinkScript files to enable tracing]]
 
* [[How to configure JLinkScript files to enable tracing]]
  +
* [[Getting unknown addresses in instruction trace]]
  +
=== Device Specifics ===
 
* [[Tracing on Atmel ATSAMA5D2]]
 
* [[Tracing on Atmel ATSAMA5D2]]
 
* [[Tracing on Atmel ATSAMD51]]
 
* [[Tracing on Atmel ATSAMD51]]
Line 233: Line 262:
 
* [[Tracing on Atmel ATSAME70]]
 
* [[Tracing on Atmel ATSAME70]]
 
* [[Tracing on Atmel ATSAMV71]]
 
* [[Tracing on Atmel ATSAMV71]]
  +
* [[Tracing on Hilscher netX90]]
 
* [[Tracing on Infineon XMC4400 series MCUs]]
 
* [[Tracing on Infineon XMC4400 series MCUs]]
 
* [[Tracing on Infineon XMC4500 series MCUs]]
 
* [[Tracing on Infineon XMC4500 series MCUs]]
Line 260: Line 290:
 
* [[Tracing on NXP Kinetis MKW36A]]
 
* [[Tracing on NXP Kinetis MKW36A]]
 
* [[Tracing on NXP Kinetis KE1xZ]]
 
* [[Tracing on NXP Kinetis KE1xZ]]
  +
* [[Tracing on NXP S32K148]]
 
* [[Tracing on Renesas Synergy R7FS7G2]]
 
* [[Tracing on Renesas Synergy R7FS7G2]]
 
* [[Tracing on Renesas Synergy R7FS5D5]]
 
* [[Tracing on Renesas Synergy R7FS5D5]]
Line 293: Line 324:
 
* [[Tracing on ST STM32L152]]
 
* [[Tracing on ST STM32L152]]
 
* [[Tracing on TI MSP432E4]]
 
* [[Tracing on TI MSP432E4]]
  +
* [[Tracing on TI RM57L843]]
 
* [[Tracing on TI TM4C129]]
 
* [[Tracing on TI TM4C129]]
 
* [[Tracing on Toshiba TMPM370]]
 
* [[Tracing on Toshiba TMPM370]]
 
* [[Tracing on Toshiba TMPM440]]
 
* [[Tracing on Toshiba TMPM440]]
  +
==== Keil MDK ====
* [[Getting unknown addresses in instruction trace]]
 
===== Keil MDK =====
 
 
* [[4-Pin Trace with STM32F2 / STM32F4]]
 
* [[4-Pin Trace with STM32F2 / STM32F4]]
 
* [[4-Pin Trace with LPC4357]]
 
* [[4-Pin Trace with LPC4357]]
   
  +
== RTT ==
=== Getting Started with Various IDEs ===
 
* [[Renesas e²studio]]
 
 
=== RTT ===
 
 
* [[General information about RTT]]
 
* [[General information about RTT]]
 
* [[RTT Ramcode Sample for Cortex-M0+ (Keil MDK)]]
 
* [[RTT Ramcode Sample for Cortex-M0+ (Keil MDK)]]
   
=== Ozone ===
+
== WebUSB ==
  +
* [[J-Link:WebUSB | WebUSB]]
  +
  +
== J-Flash ==
  +
* [[CRC calculation]]
  +
  +
== J-Flash SPI ==
  +
* [[Adesto AT25PExx/AT45DBxx1E serial Flashes]]
  +
  +
== IDE and Debugger specifics ==
  +
* [[Atollic TrueSTUDIO]]
  +
* [[Eclipse]]
  +
* [[IAR EWARM]]
  +
* [[Infineon DAVE 4]]
  +
* [[J-Link Commander]]
  +
* [[Keil MDK-ARM]]
  +
* [[NXP KDS]]
  +
* [[Renesas e²studio]]
  +
* [[TI Code Composer Studio]]
  +
* [[Visual Studio Code ]]
  +
* [[System Workbench]]
  +
  +
== Ozone ==
 
* [[SEGGER Ozone | About]]
 
* [[SEGGER Ozone | About]]
 
*[[SEGGER Ozone#Automated_test_example|Automated test example]]
 
*[[SEGGER Ozone#Automated_test_example|Automated test example]]
Line 315: Line 365:
 
*[[SEGGER Ozone#Start_debug_session_with_bootloader|Watch window expression examples]]
 
*[[SEGGER Ozone#Start_debug_session_with_bootloader|Watch window expression examples]]
   
=== FAQ ===
+
== FAQ ==
 
* [[Using Ethernet in TI's Code Composer Studio (CCS)]]
 
* [[Using Ethernet in TI's Code Composer Studio (CCS)]]
 
* [[Software and Hardware Features Overview]]
 
* [[Software and Hardware Features Overview]]
Line 326: Line 376:
 
* [[J-Trace vs. J-Trace PRO]]
 
* [[J-Trace vs. J-Trace PRO]]
   
=== Glossary / Definitions ===
+
== Glossary / Definitions ==
 
* [[DAP | ARM DAP]]
 
* [[DAP | ARM DAP]]
 
* [[DAP | ARM DP]]
 
* [[DAP | ARM DP]]

Revision as of 17:00, 10 September 2019

The J-Link debug probes with their outstanding performance, robustness, and ease of use are the market leading debug probes today. The J-Trace PRO sets a benchmark for instruction tracing with its streaming trace function that enables unlimited tracing at full clock speed.

This wiki page explains and links to details and device specifics that can not be found on the debug and trace probes product pages.

Glossary / Definitions of Debug and Trace specific terms

J-Link

SEGGER J-Links are the most widely used line of debug probes available today. They've proven their value for more than 10 years in embedded development. This popularity stems from the unparalleled performance, extensive feature set, large number of supported CPUs, and compatibility with all popular development environments.

J-Link software

J-Link model specifics

Extending device support

Troubleshooting

Device specifics

Ambiq Micro

Analog Devices

AndesTech

ARM

Atmel

Cypress

Dialog Semiconductor

Infineon

Intel

MediaTek

Microchip

Nordic Semi

Nuvoton

NXP

Renesas

Silicon Labs

SiFive

ST

Syntacore

TI

Toshiba

Xilinx

Zilog

Core specifics

Evaluation board specifics

ARM

Ambiq Micro

Adafruit

Atmel

Infineon

MediaTek

Microchip

Nuvoton

Renesas

SiFive

Silicon Labs

Syntacore

TI

NXP

ST

Xilinx

Flash programming

J-Trace

J-Trace PRO is an advanced debug probe that supports the advanced tracing features of Arm Cortex cores. It can capture complete instruction traces over long periods of time—thereby enabling the recording of infrequent, hard-to-reproduce bugs. This is particularly helpful when the program flow "runs off the rails" and stops in a fault state. Using the right software tools, J-Trace PRO trace probes are particularly helpful in analyzing system behaviour enabling uninstrumented live code coverage and code profiling.

Device Specifics

Keil MDK

RTT

WebUSB

J-Flash

J-Flash SPI

IDE and Debugger specifics

Ozone

FAQ

Glossary / Definitions