下载

2011-2012 Microchip Technology Inc. DS70659C-page 1
dsPIC33F
1.0 DEVICE OVERVIEW
This document defines the programming specification
for the dsPIC33F 16-bit Digital Signal Controller (DSC)
families with volatile Configuration bits. This program-
ming specification is required only for those developing
programming support for the following devices:
Customers using only one of these devices should use
development tools that already provide support for
device programming.
Topics covered include:
• Section 1.0 “Device Overview”
• Section 2.0 “Programming Overview”
• Section 3.0 “Device Programming – ICSP”
• Section 4.0 “Device Programming – Enhanced
ICSP”
• Section 5.0 “Programming the Programming
Executive to Memory”
• Section 6.0 “The Programming Executive”
• Section 7.0 “Device ID”
• Section 8.0 “Checksum Computation”
• Section 9.0 “AC/DC Characteristics and
Timing Requirements”
• Appendix A: “Hex File Format”
• Appendix B: “Revision History”
2.0 PROGRAMMING OVERVIEW
There are two methods of programming the devices
discussed in this programming specification. They are:
• In-Circuit Serial Programming™ (ICSP™)
programming capability
• Enhanced In-Circuit Serial Programming
The ICSP programming method is the most direct
method to program the device; however, it is also the
slower of the two methods. It provides native, low-level
programming capability to erase, program and verify
the chip.
The Enhanced ICSP protocol uses a faster method that
takes advantage of the Programming Executive, as
illustrated in Figure 2-1. The Programming Executive
(PE) provides all the necessary functionality to erase,
program and verify the chip through a small command
set. The command set allows the programmer to
program a device without having to deal with the
low-level programming protocols of the chip.
FIGURE 2-1: PROGRAMMING SYSTEM
OVERVIEW FOR
ENHANCED ICSP™
This specification is divided into two major sections that
describe the programming methods independently.
Section 3.0 “Device Programming – ICSP”
describes the ICSP method. Section 4.0 “Device
Programming – Enhanced ICSP” describes the
Enhanced ICSP method.
• dsPIC33FJ16GP101 • dsPIC33FJ06GS202A
• dsPIC33FJ16GP102 • dsPIC33FJ09GS302
• dsPIC33FJ32GP101 • dsPIC33FJ16MC101
• dsPIC33FJ32GP102 • dsPIC33FJ16MC102
• dsPIC33FJ32GP104 • dsPIC33FJ32MC101
• dsPIC33FJ06GS001 • dsPIC33FJ32MC102
• dsPIC33FJ06GS101A • dsPIC33FJ32MC104
• dsPIC33FJ06GS102A
dsPIC33F
Programmer
Programming
Executive
On-Chip Memory
dsPIC33F Flash Programming Specification for
Devices with Volatile Configuration Bits