24.10.2012 Views

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.5 Multi-core debugging<br />

J-<strong>Link</strong> / J-<strong>Trace</strong> is able to debug multiple cores on one target system connected to the<br />

same scan chain. Configuring and using this feature is described in this section.<br />

5.5.1 How multi-core debugging works<br />

Multi-core debugging requires multiple debuggers or multiple instances of the same<br />

debugger. Two or more debuggers can use the same J-<strong>Link</strong> / J-<strong>Trace</strong> simultaneously.<br />

Configuring a debugger to work with a core in a multi-core environment does not<br />

require special settings. All that is required is proper setup of the scan chain for each<br />

debugger. This enables J-<strong>Link</strong> / J-<strong>Trace</strong> to debug more than one core on a target at<br />

the same time.<br />

The following figure shows a host, debugging two ARM cores with two instances of<br />

the same debugger.<br />

Debugger<br />

Instance 1<br />

ARM1<br />

Host (PC)<br />

USB<br />

J-<strong>Link</strong><br />

JTAG<br />

Debugger<br />

Instance 2<br />

Target hardware ARM2<br />

Both debuggers share the same physical connection. The core to debug is selected<br />

through the JTAG-settings as described below.<br />

J-<strong>Link</strong> / J-<strong>Trace</strong> (<strong>UM08001</strong>) © 2004-2010 SEGGER Microcontroller GmbH & Co. KG<br />

99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!