J-Link Microchip Adapter

A adapter to use the J-Link probe with Microchip PIC32 devices is provided with a SEGGER J-Link probe purchased through Microchip. If you already own a supported SEGGER J-Link probe, you may purchase the adapter separately at:
https://www.segger.com/jlink-adapters.html

Adapter configurations are shown in the figures below.

Figure: J-Link Microchip Adapter - 2-Wire Joint Test Action Group (JTAG)

SEGGER_JLink_1_3_1.jpg

Figure: J-Link Microchip Adapter - 4-Wire JTAG

SEGGER_JLink_1_3_2.jpg

Available target interfaces

In general, there are three target interfaces available on PIC32 devices:

  1. Debug via traditional 4-wire JTAG (IEEE1149.1)
  2. Debug via Microchip proprietary 2-wire JTAG
  3. Programming via Microchip proprietary 2-wire JTAG

(1) and (3) are supported by all PIC32 devices. (2) is supported by all later PIC32 devices, but not by some old ones. On such devices, debugging via 4-wire JTAG should be used. The following devices do not support full debugging via 2-wire JTAG:

  • PIC32MX320 / 340 / 360 series devices
  • PIC32MX420 / 440 / 460 series devices
  • PIC32MX534 / 564 / 575 series devices
  • PIC32MX664 / 675 / 695 series devices
  • PIC32MX775 / 764 / 795 series devices

When using 4-wire JTAG (1), the device must be fully erased first so that configuration bits can be selected accordingly for 4-wire operation.

The J-Link PIC32 Adapter provides connectors for all commonly used headers for PIC32:

  • 14-pin 0.1" connector for 4-wire JTAG
  • RJ11 connector for 2-wire JTAG
  • 6-pin PICkit connector (soldering option)

What is 2-wire JTAG?

2-wire JTAG is a proprietary debug interface defined by Microchip. Based on 4-wire JTAG device internally, using a 2-wire converter that multiplexes the TMS, TDI, TDO JTAG lines to a single data line to the outside and demultiplexes it to the inside. Requires a special conversion unit in the device. On older devices, this conversion unit was only activated in case the device was in the special 2-wire programming mode, but did not allow full debugging using the 2-wire protocol.

© 2017 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.