DataSheet.jp

PIC32 の電気的特性と機能

PIC32のメーカーはMicrochip Technologyです、この部品の機能は「Flash Programming Specification」です。


製品の詳細 ( Datasheet PDF )

部品番号 PIC32
部品説明 Flash Programming Specification
メーカ Microchip Technology
ロゴ Microchip Technology ロゴ 




このページの下部にプレビューとPIC32ダウンロード(pdfファイル)リンクがあります。

Total 30 pages

No Preview Available !

PIC32 Datasheet, PIC32 PDF,ピン配置, 機能
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, ピン配列
3.0 PROGRAMMING STEPS
All tool programmers must perform a common set of
steps, regardless of the actual method being used.
Figure 3-1 shows the set of steps to program PIC32
devices.
FIGURE 3-1:
PROGRAMMING FLOW
Start
Enter Enhanced ICSP™
(Only required for 2-wire)
Check Device Status
Erase Device
Enter Serial Exec Mode
Download the PE
(Optional)
Download a Data Block
Initiate Flash Write
No
Done
Yes
Verify Device
Exit Programming Mode
PIC32
The following sequence lists the steps, with a brief
explanation of each step. More detailed information
about the steps is available in the following sections.
1. Connect to the Target Device.
To ensure successful programming, all required
pins must be connected to appropriate signals.
See Section 4.0 “Connecting to the Device”
in this document for more information.
2. Place the Target Device in Programming Mode.
For 2-wire programming methods, the target
device must be placed in a special programming
mode (Enhanced ICSP™) before executing any
other steps.
Note: For the 4-wire programming methods,
Step 2 is not required.
See Section 7.0 “Entering 2-Wire Enhanced
ICSP Mode” for more information.
3. Check the Status of the Device.
Step 3 checks the status of the device to ensure
it is ready to receive information from the
programmer.
See Section 8.0 “Check Device Status” for
more information.
4. Erase the Target Device.
If the target memory block in the device is not
blank, or if the device is code-protected, an
erase step must be performed before
programming any new data.
See Section 9.0 “Erasing the Device” for
more information.
5. Enter Programming Mode.
Step 5 verifies that the device is not code-
protected and boots the TAP controller to start
sending and receiving data to and from the
PIC32 CPU.
See Section 10.0 “Entering Serial Execution
Mode” for more information.
6. Download the Programming Executive (PE).
The PE is a small block of executable code that
is downloaded into the RAM of the target device.
It will receive and program the actual data.
Note:
If the programming method being used
does not require the PE, Step 6 is not
required.
See Section 11.0 “Downloading the
Programming Executive (PE)” for more
information.
Done
2007-2013 Microchip Technology Inc.
DS61145L-page 3
Free Datasheet http://www.datasheet4u.com/


3Pages


PIC32 電子部品, 半導体
PIC32
4.2 2-wire Interface
Another possible interface is the 2-wire ICSP port.
Table 4-2 lists the required pin connections. This
interface uses the following two communication lines to
transfer data to and from the PIC32 device being
programmed:
• PGECx – Serial Program Clock
• PGEDx – Serial Program Data
These signals are described in the following two
sections. Refer to the specific device data sheet for the
connection of the signals to the chip pins.
4.2.1
SERIAL PROGRAM CLOCK
(PGECX)
PGECx is the clock that controls the updating of the
TAP controller and the shifting of data through the
Instruction or selected Data register(s). PGECx is
independent of the processor clock, with respect to
both frequency and phase.
4.2.2 SERIAL PROGRAM DATA (PGEDX)
PGEDx is the data input/output to the Instruction or
selected Data Register(s), it is also the control signal
for the TAP controller. This signal is sampled on the
falling edge of PGECx for some TAP controller states.
TABLE 4-2:
Device
Pin Name
2-WIRE INTERFACE PINS
Programmer
Pin Name
Pin Type
Pin Description
MCLR
ENVREG(2)
VDD and AVDD(1)
VSS and AVSS(1)
MCLR
N/A
VDD
VSS
P Programming Enable
I Enable for On-Chip Voltage Regulator
P Power Supply
P Ground
VCAP
N/A
P CPU logic filter capacitor connection
PGEC1
PGEC
I Primary Programming Pin Pair: Serial Clock
PGED1
PGED
I/O Primary Programming Pin Pair: Serial Data
PGEC2
PGEC
I Secondary Programming Pin Pair: Serial Clock
PGED2
PGED
I/O Secondary Programming Pin Pair: Serial Data
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 either the “Pin Diagrams” or “Pin
Tables” section in the specific device data sheet to determine availability.
DS61145L-page 6
2007-2013 Microchip Technology Inc.
Free Datasheet http://www.datasheet4u.com/

6 Page



ページ 合計 : 30 ページ
 
PDF
ダウンロード
[ PIC32 データシート.PDF ]


データシートを活用すると、その部品の主な機能と仕様を詳しく理解できます。 ピン構成、電気的特性、動作パラメータ、性能を確認してください。


共有リンク

Link :


部品番号部品説明メーカ
PIC30F2010

DSPIC30Fxxxx

Microchip Technology
Microchip Technology
PIC30F2011

DSPIC30F2011

Microchip Technology
Microchip Technology
PIC30F3011

16-Bit Digital Signal Controllers

Microchip Technology
Microchip Technology
PIC30F4011

(PIC30F4011 / PIC30F4012) 16-Bit Digital Signal Controllers

Microchip Technology
Microchip Technology


www.DataSheet.jp    |   2020   |  メール    |   最新    |   Sitemap