2 Programming Overview

When developing a programming tool, it is necessary to understand the internal Flash program operations of the target device and the Special Function Registers (SFRs) used to control Flash programming, as these same operations and registers are used by an external programming tool and its software. These operations and control registers are described in the “Flash Program Memory” chapter in the specific device data sheet, and the related “PIC32 Family Reference Manual” section. It is highly recommended that these documents be used in conjunction with this programming specification.

An external programming setup includes an external programmer tool and a target PIC32 device. Figure 2-1 illustrates a typical programming setup. The programmer tool executes the necessary programming steps and completes the programming operation.
Figure 2-1. Programming System Setup