PIC24H Microchip Technology, PIC24H Datasheet - Page 33
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC24H
Manufacturer Part Number
PIC24H
Description
Flash Programming Specification
Manufacturer
Microchip Technology
Datasheet
1.PIC24H.pdf
(80 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC24HI16GP-3041/PT
Manufacturer:
MICROCHIP
Quantity:
250
Company:
Part Number:
PIC24HJ128GP202-E/MM
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC24HJ128GP204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC24HJ128GP204T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
SMSC
Quantity:
7 600
Company:
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC24HJ128GP206A-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24HJ128GP206A-I/MR
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC24HJ128GP206A-I/PT
Manufacturer:
Microchip Technology
Quantity:
1 987
3.0
This section discusses programming the device
through Enhanced ICSP and the programming execu-
tive. The programming executive resides in executive
memory (separate from code memory) and is executed
when Enhanced ICSP Programming mode is entered.
The programming executive provides the mechanism
for the programmer (host device) to program and verify
the dsPIC33F/PIC24H Programming Specification
family devices using a simple command set and com-
munication protocol. There are several basic functions
provided by the programming executive:
• Read Memory
• Erase Memory
• Program Memory
• Blank Check
• Read Executive Firmware Revision
The programming executive performs the low-level
tasks required for erasing, programming and verifying
a device. This allows the programmer to program the
device by issuing the appropriate commands and data.
Table 3-1 summarizes the commands. A detailed
description for each command is provided in
Section 4.2 “Programming Executive Commands”.
TABLE 3-1:
The programming executive uses the device’s data
RAM for variable storage and program execution. After
the programming executive has run, no assumptions
should be made about the contents of data RAM.
© 2007 Microchip Technology Inc.
SCHECK
READC
READP
PROGC
PROGP
PROGW
QBLANK
QVER
Command
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
DEVICE PROGRAMMING –
ENHANCED ICSP
Sanity check
Read Configuration registers or Device
ID registers
Read code memory
Program a Configuration register and
verify
Program one row of code memory and
verify
Program one word of code memory
and verify
Query if the code memory is blank
Query the software version
COMMAND SET SUMMARY
Description
Preliminary
3.1
Figure 3-1 shows the high-level overview of the
programming process. After entering Enhanced ICSP
mode, the programming executive is verified. Next, the
device is erased. Then, the code memory is pro-
grammed, followed by the nonvolatile device Configu-
ration
Configuration registers) is then verified to ensure that
programming was successful.
After the programming executive has been verified
in memory (or loaded if not present), the dsPIC33F/
PIC24H Programming Specification can be pro-
grammed using the command set shown in Table 3-1.
FIGURE 3-1:
registers.
Overview of the Programming
Process
Program Configuration Bits
Enter Enhanced ICSP™
Verify Configuration Bits
Exit Enhanced ICSP
Program Memory
Code
Verify Program
Perform Bulk
HIGH-LEVEL ENHANCED
ICSP™ PROGRAMMING
FLOW
Erase
Done
Start
memory
www.DataSheet4U.com
DS70152D-page 33
(including
the