dsPIC33F Microchip Technology, dsPIC33F Datasheet - Page 33

no-image

dsPIC33F

Manufacturer Part Number
dsPIC33F
Description
(dsPIC24H / dsPIC33F) Flash Programming Specification
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
dsPIC33FJ06GS001-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
dsPIC33FJ06GS101-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
dsPIC33FJ06GS101-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ06GS101-I/S0
Quantity:
7 046
Part Number:
dsPIC33FJ06GS102-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ06GS202-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
dsPIC33FJ06GS202-I/SO
Manufacturer:
ZORAN
Quantity:
1 000
Part Number:
dsPIC33FJ06GS202A-I/MM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ128GP202-E/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ128GP204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
dsPIC33FJ128GP204-E/PT
Quantity:
7
Part Number:
dsPIC33FJ128GP204-I/ML
Manufacturer:
ST
0
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
DS70152D-page 33
(including
the

Related parts for dsPIC33F