Information
© 2010 Microchip Technology Inc. DS70152H-page 25
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
TABLE 4-1: PROGRAMMING EXECUTIVE COMMAND SET
4.2.4 COMMAND DESCRIPTIONS
All commands supported by the programming executive
are described in Section 4.2.5 “SCHECK Command”
through Section 4.2.13 “QVER Command”.
4.2.5 SCHECK COMMAND
The SCHECK command instructs the programming
executive to do nothing but generate a response. This
command is used as a “Sanity Check” to verify that the
programming executive is operational.
Expected Response (2 words):
0x1000
0x0002
Opcode Mnemonic
Length
(16-bit words)
Time Out Description
0x0
SCHECK 1 1 ms Sanity check.
0x1 READC 3 1 ms Read an 8-bit word from the specified Configuration register
or Device ID register.
0x2 READP 4 1 ms/row Read ‘N’ 24-bit instruction words of code memory starting
from the specified address.
0x3 Reserved N/A N/A This command is reserved. It will return a NACK.
0x4 PROGC 4 5 ms Write an 8-bit word to the specified Configuration register.
0x5 PROGP 99 5 ms Program one row of code memory at the specified address,
then verify.
0x6 Reserved N/A N/A This command is reserved. It will return a NACK.
0x7 Reserved N/A N/A This command is reserved. It will return a NACK.
0x8 Reserved N/A N/A This command is reserved. It will return a NACK.
0x9 ERASEP 3 20 ms Command to erase a page.
0xA Reserved N/A N/A This command is reserved. It will return a NACK.
0xB QVER 1 1 ms Query the programming executive software version.
0xC CRCP 5 1s Performs a CRC-16 on the specified range of memory.
0xD Reserved N/A N/A This command is reserved. It will return a NACK.
0xE QBLANK 5 700 ms Query to check whether the code memory is blank.
Note: One row of code memory consists of (64) 24-bit words. Refer to Table 2-2 for device-specific information.
15 12 11 0
Opcode Length
Field Description
Opcode 0x0
Length 0x1
Note: This instruction is not required for
programming, but is provided for
development purposes only.