3 Device Programming – Enhanced ICSP
This section discusses programming the device through Enhanced ICSP and the Programming Executive. 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 dsPIC33CK256MC006 devices using a simple command set and communication protocol. There are several basic functions provided by the Programming Executive:
- Read Memory
- Erase Memory
- Program Memory
- Blank Check
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. A detailed description of each command is provided in Programming Executive Commands.
