JTAG and the PIC32

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 Joint Test Action Group (JTAG) interface
  • Incorporates an Enhanced JTAG (EJTAG) extension of standard JTAG interfaces
  • JTAG Boundary scan testing for device and board diagnostics
PIC32BlockDiagram.png
PIC32CoreDiagram.png

PIC32 Programming/Debugging Resources

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

pic32_jtag.jpg

JTAG Pins

Pin NameJTAG Pin Description
TMSTest Mode Select
TCKTest Clock Input
TDITest Data Input
TDOTest Data Output
TRSTTest Reset (optional)

In Circuit Serial Programming (ICSP) Pins

Pin NameICSP Pin Description
PGED1Program Data I/O for Channel 1
PGEC1Program Clock Input Channel 1
PGED2Program Data I/O for Channel 2
PDEC2Program Clock Input Channel 2

Trace Pins

Pin NameTrace Pin Description
TRCLKTrace Clock Output
TRD0Trace Data Output Bit 0
TRD1Trace Data Output Bit 1
TRD2Trace Data Output Bit 2
TRD3Trace Data Output Bit 3