pic32mx320f064h Microchip Technology Inc., pic32mx320f064h Datasheet - Page 493

no-image

pic32mx320f064h

Manufacturer Part Number
pic32mx320f064h
Description
64/100-pin General Purpose, 32-bit Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
pic32mx320f064h-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064hT-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
27.2
The PIC32MX Family of devices has multiple
programming and Debugging options including:
• In-Circuit Serial Programming via ICSP
• In-Circuit Programming EJTAG
• Debugging via ICSP
• Debugging via EJTAG
• Special Debug modes for Select Communication
• Boundary Scan
27.2.1
27.2.1.1
ICSP is Microchip’s proprietary solution to providing
microcontroller programming in the target application.
ICSP is also the most direct method to program the
device, whether the controller is embedded in a system
or loaded into a device programmer.
27.2.1.2
ICSP uses two pins as the core of its interface. The
Programming Data (PGD) line functions as both an
input and an output, allowing programming data to be
read in and device information to be read out on com-
mand. The Programming Clock (PGC) line is used to
clock in data and control the overall process.
PIC32MX Family devices have more than one pair of
PGC and PGD pins; these are multiplexed with other
I/O or peripheral functions. Individual ICSP pin pairs
are indicated by number (e.g., PGC1/PGD1, etc.), and
are generically referred to as ‘PGCx’ and ‘PGDx’. The
multiple PGCx/PGDx pairs provide additional flexibility
in system design by allowing users to incorporate ICSP
on the pair of pins that is least constrained by the circuit
design. All PGCx and PGDx pins are functionally tied
together and behave identically, and any one pair can
be used for successful device programming. The only
limitation is that both pins from the same pair must be
used.
In addition to the PGCx and PGDx pins, ICSP requires
that all voltage supply (including voltage regulator pin
ENVREG) and ground pins on the device must be con-
nected. The MCLR pin, which is used with PGCx to
enter and control the programming process, must also
be connected to the programmer.
A typical In-Circuit Serial Programming connection is
shown in Figure 27-2.
© 2007 Microchip Technology Inc.
Peripherals
Note:
Operation
DEVICE PROGRAMMING OPTIONS
The following sections provide a brief
overview of each programming option. For
more
“PIC32MX Flash Programming Specifica-
tion” (DS61145).
In-Circuit Serial Programming
ICSP Interface
detailed
information,
Advance Information
refer
to
FIGURE 27-2:
27.2.1.3
ICSP uses a combination of internal hardware and
external control to program the target device. Program-
ming data and instructions are provided on PGD. ICSP
uses a special set of commands to control the overall
process, combined with standard PIC32MX Family
instructions to execute the actual writing of the program
memory. PGD also returns data to the external
programmer when responding to queries.
Users who are interested in a more detailed description,
or
programming interface for PIC32MX Family devices,
should consult the appropriate PIC32MX Family device
programming specification.
27.2.1.4
The Enhanced In-Circuit Serial Programming (ICSP)
protocol is an extension of the original ICSP. It uses the
same physical interface as the original, but changes
the location and execution of programming control to a
software application written to the PIC32MX Family
device. Use of Enhanced ICSP results in significant
decrease in overall programming time.
For additional information on Enhanced ICSP and the
program executive, refer to the appropriate PIC32MX
Family device programming specification.
Data I/O
ICSP™
who
CLK
V
V
V
PIC32MX FAMILY
DD
SS
PP
are
Enhanced In-Circuit Serial
ICSP Operation
Programming
considering
TYPICAL IN-CIRCUIT
SERIAL
PROGRAMMING™
CONNECTION
designing
DS61143A-page 491
V
V
MCLR/V
PGCx
PGDx
SS
DD
PIC32MX
their
PP
own

Related parts for pic32mx320f064h