Microchip Technology MA320002 Data Sheet

Page of 214
© 2011 Microchip Technology Inc.
DS61143H-page 139
PIC32MX3XX/4XX
26.4
Programming and Diagnostics
PIC32MX3XX/4XX 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 programmability using two-wire In-
Circuit Serial Programming™ (ICSP™) interfaces
• Debugging using ICSP
• Programming and debugging capabilities using 
the EJTAG extension of JTAG
• JTAG boundary scan testing for device and board 
diagnostics
PIC32MX devices incorporate two programming and
diagnostic modules, and a trace controller, that provide
a range of functions to the application developer.
FIGURE 26-3:
BLOCK DIAGRAM OF PROGRAMMING, DEBUGGING AND TRACE PORTS
TDI
TDO
TCK
TMS
JTAG
Controller
ICSP™
Controller
Core
JTAGEN
DEBUG<1:0>
Instruction Trace
Controller
DEBUG<1:0>
ICESEL
PGEC1
PGED1
PGEC2
PGED2
TRCLK
TRD0
TRD1
TRD2
TRD3