dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
TABLE 4-1:
PROGRAMMING EXECUTIVE COMMAND SET
Length
Opcode Mnemonic
Time Out
Description
(16-bit words)
0x0
0x1
SCHECK
READC
1
3
1 msec
1 msec
Sanity check.
Read an 8-bit word from the specified Configuration register or
Device ID register.
0x2
READP
4
1 msec/row Read ‘N’ 24-bit instruction words of code memory starting from
the specified address.
0x3
0x4
0x5
RESERVED
PROGC
N/A
4
N/A
This command is reserved. It will return a NACK.
5 msec
5 msec
Write an 8-bit word to the specified Configuration register.
PROGP
99
Program one row of code memory at the specified address,
then verify.
0x6
PROGW
5
5 msec
Program one instruction word of code memory at the specified
address, then verify.
0x7
0x8
0x9
0xA
0xB
0xC
0xD
RESERVED
RESERVED
RESERVED
QBLANK
N/A
N/A
N/A
2
N/A
N/A
This command is reserved. It will return a NACK.
This command is reserved. It will return a NACK.
This command is reserved. It will return a NACK.
Query if the code memory is blank.
N/A
TBD
1 msec
N/A
QVER
1
Query the programming executive software version.
This command is reserved. It will return a NACK.
This command is reserved. It will return a NACK.
RESERVED
RESERVED
N/A
N/A
N/A
Legend: TBD = To Be Determined
Note:
One row of code memory consists of (64) 24-bit words. Refer to Table 2-2 for device-specific information.
4.2.4
COMMAND DESCRIPTIONS
All commands supported by the programming executive
are described in Section 5.2.5 “SCHECK Command”
through Section 4.2.12 “QVER Command”.
4.2.5
15
SCHECKCOMMAND
12 11
0
Opcode
Length
Field
Description
Opcode
Length
0x0
0x1
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
Note:
This instruction is not required for
programming, but is provided for
development purposes only.
© 2007 Microchip Technology Inc.
Preliminary
DS70152D-page 49