herunterladen
© 2011-2012 Microchip Technology Inc. DS70663D-page 1
dsPIC33E/PIC24E
1.0 DEVICE OVERVIEW
This document defines the programming specification
for the dsPIC33E/PIC24E 16-bit Digital Signal Controller
(DSC) and 16-bit Microcontroller families with volatile
Configuration bits. This programming specification is
required only for those developing programming support
for the following devices:
• dsPIC33EPXXXGP50X
• dsPIC33EPXXXMC50X
• dsPIC33EPXXXMC20X
• PIC24EPXXXMC20X
• PIC24EPXXXGP20X
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 that are
discussed in this programming specification:
• 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 device.
The Enhanced ICSP protocol uses a faster method that
takes advantage of the programming executive, as
illustrated in Figure 2-1. The programming executive
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 dsPIC33E/PIC24E device without dealing
with the low-level programming protocols.
FIGURE 2-1: PROGRAMMING SYSTEM
OVERVIEW FOR
ENHANCED ICSP™
This programming 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.
dsPIC33E/PIC24E
Programmer
Programming
Executive
On-Chip Memory
dsPIC33E/PIC24E Flash Programming Specification for
Devices with Volatile Configuration Bits
Verzeichnis