PIC24H Microchip Technology, PIC24H Datasheet - Page 55

no-image

PIC24H

Manufacturer Part Number
PIC24H
Description
Flash Programming Specification
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24HI16GP-3041/PT
Manufacturer:
MICROCHIP
Quantity:
250
Part Number:
PIC24HJ128GP202-E/MM
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC24HJ128GP204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24HJ128GP204T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
SMSC
Quantity:
7 600
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24HJ128GP206A-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206A-I/MR
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC24HJ128GP206A-I/PT
Manufacturer:
Microchip Technology
Quantity:
1 987
Company:
Part Number:
PIC24HJ128GP206A-I/PT
Quantity:
2 000
5.0
ICSP mode is a special programming protocol that
allows you to read and write to dsPIC33F/PIC24H
device family memory. The ICSP mode is the most
direct method used to program the device; note, how-
ever, that Enhanced ICSP is faster. ICSP mode also
has the ability to read the contents of executive mem-
ory to determine if the programming executive is
present. This capability is accomplished by applying
control codes and instructions serially to the device
using pins PGC and PGD.
In ICSP mode, the system clock is taken from the PGC
pin, regardless of the device’s oscillator Configuration
bits. All instructions are shifted serially into an internal
buffer, then loaded into the instruction register and
executed. No program fetching occurs from internal
memory. Instructions are fed in 24 bits at a time. PGD
is used to shift data in, and PGC is used as both the
serial shift clock and the CPU execution clock.
5.1
Figure 5-1 shows the high-level overview of the
programming process. After entering ICSP mode, the
first action is to Bulk Erase the device. Next, the code
memory is programmed, followed by the device Con-
figuration registers. Code memory (including the
Configuration registers) is then verified to ensure that
programming was successful. Then, program the
code-protect Configuration bits, if required.
© 2007 Microchip Technology Inc.
Note:
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
DEVICE PROGRAMMING –
ICSP
Overview of the Programming
Process
During ICSP operation, the operating
frequency of PGC must not exceed
5 MHz.
Preliminary
FIGURE 5-1:
5.2
Upon entry into ICSP mode, the CPU is Idle. Execution
of the CPU is governed by an internal state machine. A
4-bit control code is clocked in using PGC and PGD and
this control code is used to command the CPU (see
Table 5-1).
The SIX control code is used to send instructions to the
CPU for execution and the REGOUT control code is
used to read data out of the device via the VISI register.
TABLE 5-1:
Control Code
0000b
0001b
0010b-1111b
4-Bit
ICSP Operation
Program Configuration Bits
Verify Configuration Bits
SIX
REGOUT
N/A
Mnemonic
CPU CONTROL CODES IN
ICSP™ MODE
Program Memory
Verify Program
Enter ICSP™
Perform Bulk
HIGH-LEVEL ICSP™
PROGRAMMING FLOW
Exit ICSP
Erase
Done
Start
Shift in 24-bit instruction
and execute.
Shift out the VISI
register.
Reserved.
www.DataSheet4U.com
Description
DS70152D-page 55

Related parts for PIC24H