herunterladen

2011-2012 Microchip Technology Inc. DS75012B-page 1
PIC24FJXXMC
1.0 DEVICE OVERVIEW
This document defines the programming specification
for the PIC24FJXXMC 16-bit Microcontroller (MCU)
family of devices. This programming specification is
required only for those developing programming support
for the following devices:
• PIC24FJ16MC101
• PIC24FJ16MC102
• PIC24FJ32MC101
• PIC24FJ32MC102
• PIC24FJ32MC104
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 for programming the devices
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 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
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
PIC24F
Programmer
Programming
Executive
On-Chip Memory
PIC24FJXXMC Family Flash Programming Specification
Verzeichnis