192 CHAPTER 5 Working with J-Link and J-Trace
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
Older J-Links may report USB0-3 instead of unique serial number when enumerating
via USB. For these J-Links, we recommend to re-configure them to use the new enu-
meration method (report real serial number) since the USB0-3 behavior is obsolete.
Re-configuration can be done by using the J-Link Configurator, which is part of the J-
Link software and documentation package. For further information about the J-Link
configurator and how to use it, please refer to J-Link Configurator on page 167.
Re-configuration to the old USB 0-3 enumeration method
In some special cases, it may be necessary to switch back to the obsolete USB 0-3
enumeration method. For example, old IAR EWARM versions supports connecting to a
J-Link via the USB0-3 method only. As soon as more than one J-Link is connected to
the pc, there is no oppertunity to pre-select the J-Link which should be used for a
debug session.
Below, a small instruction of how to re-configure J-Link to enumerate with the old
obsolete enumeration method in order to prevent compatibility problems, a short
instruction is give on how to set USB enumeration method to USB 2 is given:
Example for setting enumeration method to USB 2:
1. Start J-Link Commander (JLink.exe) which is part of the J-Link software
2. Enter wconf 0 02 // Set USB-Address 2
3. Enter wconf 1 00 // Set enumeration method to USB-Address
4. Power-cycle J-Link in order to apply new configuration.
Re-configuration to REAL-SN enumeration can be done by using the J-Link Configura-
tor, which is part of the J-Link software and documentation package. For further
information about the J-Link configurator and how to use it, please refer to J-Link
Configurator on page 167.
Config area byte Meaning
0
USB-Address. Can be set to 0-3, 0xFF is default which
means USB-Address 0.
1
Enumeration method
0x00 / 0xFF: USB-Address is used for enumeration.
0x01: Real-SN is used for enumeration.
Table 5.10: Config area layout: USB-Enumeration settings