How Multi-core Debugging Works

Multi-core debugging requires multiple debuggers or multiple instances of the same debugger. Two or more debuggers can use the same SAM-ICE simultaneously. Configuring a debugger to work with a core in a multi-core environment does not require special settings. All that is required is proper setup of the scan chain for each debugger. This enables SAM-ICE to debug more than one core on a target at the same time.

The following figure shows a host, debugging two CPU cores with two instances of the same debugger.

Figure 1. Multi-core Debugging Setup. Figure from Segger J-Link/J-Trace User Guide UM08001.

Both debuggers share the same physical connection. The core to debug is selected through the JTAG settings as described below.