JTAG and the PIC32 (ver 2.15)

NOTE: Microchip updates its tools regularly. This page is an older version that we have preserved for the convenience of those who are supporting existing designs based upon older versions of our tools. Please check www.microchip.com/developerhelp for the updated version of this page.

PIC32 Overview

PIC32 devices provide a complete range of programming and diagnostic features that can increase the flexibility of any application using them. These features allow system designers to include:

  • Simplified field programming using the two-wire In-Circuit Serial Programming™ (ICSP™) interface
  • Debugging using ICSP
  • Programming and debugging through JTAG (Joint Test Action Group) interface
  • Incorporates an Enhanced JTAG (EJTAG) extension of standard JTAG interfaces
  • JTAG Boundary scan testing for device and board diagnostics

PIC32 Programming/Debugging Resources

PIC32 devices incorporate two programming/diagnostic modules and a trace controller that provide a range of debugging functions to the application developer.



Pin Name JTAG Pin Description
TMS Test Mode Select
TCK Test Clock Input
TDI Test Data Input
TDO Test Data Output
TRST Test Reset (optional)

In Circuit Serial Programming (ICSP) Pins

Pin Name ICSP Pin Description
PGED1 Program Data I/O for Channel 1
PGEC1 Program Clock Input Channel 1
PGED2 Program Data I/O for Channel 2
PGEC2 Program Clock Input Channel 2

Trace Pins

Pin Name Trace Pin Description
TRCLK Trace Clock Output
TRD0 Trace Data Output Bit 0
TRD1 Trace Data Output Bit 1
TRD2 Trace Data Output Bit 2
TRD3 Trace Data Output Bit 3
© 2024 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.