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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.6 Connecting multiple J-<strong>Link</strong>s / J-<strong>Trace</strong>s to your PC<br />

You can connect up to 4 J-<strong>Link</strong>s / J-<strong>Trace</strong>s to your PC. In this case, all J-<strong>Link</strong>s / J-<br />

<strong>Trace</strong>s must have different USB-addresses. The default USB-address is 0.<br />

In order to do this, 3 J-<strong>Link</strong>s / J-<strong>Trace</strong>s must be configured as described below. Every<br />

J-<strong>Link</strong> / J-<strong>Trace</strong> need its own J-<strong>Link</strong> USB driver which can be downloaded from<br />

www.segger.com.<br />

This feature is supported by J-<strong>Link</strong> Rev. 5.0 and up and by J-<strong>Trace</strong>.<br />

5.6.1 How does it work?<br />

USB devices are identified by the OS by their product id, vendor id and serial number.<br />

The serial number reported by J-<strong>Link</strong>s / J-<strong>Trace</strong>s is always the same. The product id<br />

depends on the configured USB-address.<br />

• The vendor id (VID) representing SEGGER is always 1366<br />

• The product id (PID) for J-<strong>Link</strong> / J-<strong>Trace</strong> #1 is 101<br />

• The product id (PID) for J-<strong>Link</strong> / J-<strong>Trace</strong> #2 is 102 and so on.<br />

A different PID means that J-<strong>Link</strong> / J-<strong>Trace</strong> is identified as a different device, requiring<br />

a new driver. The driver for a new J-<strong>Link</strong> device will be installed automatically.<br />

The sketch below shows a host, running two application programs. Each application<br />

communicates with one ARM core via a separate J-<strong>Link</strong>.<br />

Application<br />

Instance 1<br />

USB<br />

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

1<br />

JTAG<br />

ARM1<br />

Target hardware 1<br />

Host (PC)<br />

Application<br />

Instance 2<br />

ARM2<br />

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

USB<br />

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

2<br />

JTAG<br />

Target hardware 2<br />

103

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

Saved successfully!

Ooh no, something went wrong!