DataSheet.es    


PDF PIC32 Data sheet ( Hoja de datos )

Número de pieza PIC32
Descripción Flash Programming Specification
Fabricantes Microchip Technology 
Logotipo Microchip Technology Logotipo



Hay una vista previa y un enlace de descarga de PIC32 (archivo pdf) en la parte inferior de esta página.


Total 30 Páginas

No Preview Available ! PIC32 Hoja de datos, Descripción, Manual

PIC32
PIC32 Flash Programming Specification
1.0 DEVICE OVERVIEW
This document defines the programming specification
for the PIC32 families of 32-bit microcontrollers. This
programming specification is designed to guide
developers of external programmer tools. Customers
who are developing applications for PIC32 devices
should use development tools that already provide
support for device programming.
The major topics of discussion include:
Section 1.0 “Device Overview”
Section 2.0 “Programming Overview”
Section 3.0 “Programming Steps”
Section 4.0 “Connecting to the Device”
Section 5.0 “EJTAG vs. ICSP”
Section 6.0 “Pseudo Operations”
Section 7.0 “Entering 2-Wire Enhanced ICSP Mode”
Section 8.0 “Check Device Status”
Section 9.0 “Erasing the Device”
Section 10.0 “Entering Serial Execution Mode”
Section 11.0 “Downloading the Programming Executive (PE)”
Section 12.0 “Downloading a Data Block”
Section 13.0 “Initiating a Flash Row Write”
Section 14.0 “Verify Device Memory”
Section 15.0 “Exiting Programming Mode”
Section 16.0 “The Programming Executive”
Section 17.0 “Checksum”
Section 18.0 “Configuration Memory and Device ID”
Section 19.0 “TAP Controllers”
Section 20.0 “AC/DC Characteristics and Timing Requirements”
Appendix A: “PIC32 Flash Memory Map”
Appendix B: “Hex File Format”
Appendix C: “Revision History”
2.0 PROGRAMMING OVERVIEW
All PIC32 devices can be programmed through two
primary methods:
• Self-programming
• External tool programming
The self-programming method requires that the target
device already contains executable code with the logic
necessary to complete the programming sequence.
The external tool programming method does not
require any code in the target device – it can program
all target devices with or without any executable code.
This document describes the external tool
programming method. Refer to the individual sections
of the “PIC32 Family Reference Manual” and the
specific device data sheet for more information about
using the self-programming method.
An external tool programming setup consists of an
external programmer tool and a target PIC32 device.
Figure 2-1 illustrates the block diagram view of the
typical programming setup. The programmer tool is
responsible for executing necessary programming
steps and completing the programming operation.
FIGURE 2-1:
PROGRAMMING SYSTEM
SETUP
Target PIC32 Device
External
Programmer
CPU
On-Chip Memory
2.1 Devices with Dual Flash Panel and
Dual Boot Regions
The PIC32MZ Embedded Connectivity (EC) family of
devices incorporate several features useful for field
(self) programming of the device. These features
include dual Flash panels with dual Boot regions, an
aliasing scheme for the Boot regions allowing auto-
matic selection of Boot code at start-up and a panel
swap feature for program Flash. The two Flash panels
and their associated Boot regions can be erased and
programmed separately. Refer to Section 3. “Memory
Organization” (DS61115) in the “PIC32 Family
Reference Manual” for a detailed explanation of these
features.
A development tool used for production programming
will not be concerned about most of these features with
the following exceptions:
• Insuring that the SWAP bit (NVMCON<7>) is in the
proper setting. The default setting is ‘0’ for no swap
of panels. The development tool should assume the
default setting when generating source files for the
programming tool.
• Proper handling of the aliasing of the Boot memory
in the checksum calculation. The aliased sections
will be duplicates of the fixed sections. See
Section 17.0 “Checksum” for more information on
checksum calculations with aliased regions.
2007-2013 Microchip Technology Inc.
DS61145L-page 1
Free Datasheet http://www.datasheet4u.com/

1 page




PIC32 pdf
PIC32
4.0 CONNECTING TO THE DEVICE
The PIC32 family provides two possible physical
interfaces for connecting to and programming the
memory contents (Figure 4-1). For all programming
interfaces, the target device must be properly powered
and all required signals must be connected. In addition,
the interface must be enabled, either through its
Configuration bit, as in the case of the JTAG 4-wire
interface, or though a special initialization sequence, as
is the case for the 2-wire ICSP interface.
The JTAG interface is enabled by default in blank
devices shipped from the factory.
Enabling ICSP is described in Section 7.0 “Entering
2-Wire Enhanced ICSP Mode”.
FIGURE 4-1:
PROGRAMMING
INTERFACES
Programmer
2-wire
ICSP™
OR
4-wire
JTAG
+ MCLR, VDD, VSS
PIC32
4.1 4-wire Interface
One possible interface is the 4-wire JTAG (IEEE
1149.1) port. Table 4-1 lists the required pin
connections. This interface uses the following four
communication lines to transfer data to and from the
PIC32 device being programmed:
• TCK – Test Clock Input
• TMS – Test Mode Select Input
• TDI – Test Data Input
• TDO – Test Data Output
These signals are described in the following four
sections. Refer to the specific device data sheet for the
connection of the signals to the device pins.
4.1.1 TEST CLOCK INPUT (TCK)
TCK is the clock that controls the updating of the TAP
controller and the shifting of data through the Instruc-
tion or selected Data register(s). TCK is independent of
the processor clock with respect to both frequency and
phase.
4.1.2 TEST MODE SELECT INPUT (TMS)
TMS is the control signal for the TAP controller. This
signal is sampled on the rising edge of TCK.
4.1.3 TEST DATA INPUT (TDI)
TDI is the test data input to the Instruction or selected
Data register(s). This signal is sampled on the rising
edge of TCK for some TAP controller states.
4.1.4 TEST DATA OUTPUT (TDO)
TDO is the test data output from the Instruction or Data
register(s). This signal changes on the falling edge of
TCK. TDO is only driven when data is shifted out,
otherwise the TDO is tri-stated.
TABLE 4-1: 4-WIRE INTERFACE PINS
Device Pin Name
Pin Type
Pin Description
MCLR
ENVREG(2)
VDD and AVDD(1)
VSS and AVSS(1)
I Programming Enable
I Enable for On-Chip Voltage Regulator
P Power Supply
P Ground
VCAP
P CPU logic filter capacitor connection
TDI I Test Data In
TDO
O Test Data Out
TCK
I Test Clock
TMS
I Test Mode State
Legend: I = Input
O = Output
P = Power
Note 1: All power supply and ground pins must be connected, including analog supplies (AVDD) and ground
(AVSS).
2: The ENVREG pin is not available on all devices. Please refer to the “Pin Diagrams” section in the
specific device data sheet to determine availability.
2007-2013 Microchip Technology Inc.
DS61145L-page 5
Free Datasheet http://www.datasheet4u.com/

5 Page





PIC32 arduino
PIC32
TABLE 5-1: CODE MEMORY SIZE (CONTINUED)
PIC32 Device
Row Size Page Size Boot Flash Memory Address
(Words) (Words)
(Bytes)
Program Flash Memory Address
(Bytes)
PIC32MX350F128L
PIC32MX440F128L
PIC32MX450F128L
PIC32MX564F128L
PIC32MX664F128L
PIC32MX764F128L
PIC32MX340F256H
PIC32MX350F256H
PIC32MX440F256H
PIC32MX450F256H
PIC32MX575F256H
PIC32MX675F256H
PIC32MX775F256H
PIC32MX350F256L
PIC32MX360F256L
PIC32MX450F256L
PIC32MX460F256L
PIC32MX575F256L
PIC32MX675F256L
PIC32MX775F256L
PIC32MX340F512H
PIC32MX360F512H
PIC32MX370F512H
PIC32MX440F512H
PIC32MX470F512H
PIC32MX575F512H
PIC32MX675F512H
PIC32MX695F512H
PIC32MX775F512H
PIC32MX795F512H
PIC32MX360F512L
PIC32MX370F512L
PIC32MX460F512L
PIC32MX470F512L
PIC32MX575F512L
PIC32MX675F512L
PIC32MX695F512L
PIC32MX775F512L
PIC32MX795F512L
PIC32MZ0256ECE064
PIC32MZ0256ECE100
PIC32MZ0256ECE124
PIC32MZ0256ECE144
PIC32MZ0256ECF064
PIC32MZ0256ECF100
PIC32MZ0256ECF124
PIC32MZ0256ECF144
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
512
512
512
512
512
512
512
512
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
1024
4096
4096
4096
4096
4096
4096
4096
4096
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC02FFF (12 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1FC00000-0x1FC13FFF (80 KB)
0x1D000000-0x1D01FFFF (128 KB)
0x1D000000-0x1D01FFFF (128 KB)
0x1D000000-0x1D01FFFF (128 KB)
0x1D000000-0x1D01FFFF (128 KB)
0x1D000000-0x1D01FFFF (128 KB)
0x1D000000-0x1D01FFFF (128 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D07FFFF (512 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
0x1D000000-0x1D03FFFF (256 KB)
2007-2013 Microchip Technology Inc.
DS61145L-page 11
Free Datasheet http://www.datasheet4u.com/

11 Page







PáginasTotal 30 Páginas
PDF Descargar[ Datasheet PIC32.PDF ]




Hoja de datos destacado

Número de piezaDescripciónFabricantes
PIC30F2010 DSPIC30FxxxxMicrochip Technology
Microchip Technology
PIC30F2011 DSPIC30F2011Microchip Technology
Microchip Technology
PIC30F301116-Bit Digital Signal ControllersMicrochip Technology
Microchip Technology
PIC30F4011(PIC30F4011 / PIC30F4012) 16-Bit Digital Signal ControllersMicrochip Technology
Microchip Technology

Número de piezaDescripciónFabricantes
SLA6805M

High Voltage 3 phase Motor Driver IC.

Sanken
Sanken
SDC1742

12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters.

Analog Devices
Analog Devices


DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares,
permitiéndote verlos en linea o descargarlos en PDF.


DataSheet.es    |   2020   |  Privacy Policy  |  Contacto  |  Buscar