English
Language : 

DSPIC33F Datasheet, PDF (49/80 Pages) Microchip Technology – Flash Programming Specification
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
TABLE 4-1: PROGRAMMING EXECUTIVE COMMAND SET
Opcode
Mnemonic
Length
(16-bit words)
Time Out
Description
0x0 SCHECK
1
1 msec Sanity check.
0x1 READC
3
1 msec 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 RESERVED
N/A
N/A
This command is reserved. It will return a NACK.
0x4 PROGC
4
5 msec Write an 8-bit word to the specified Configuration register.
0x5 PROGP
99
5 msec 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 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 RESERVED
N/A
N/A
This command is reserved. It will return a NACK.
0xA QBLANK
2
TBD Query if the code memory is blank.
0xB QVER
1
1 msec Query the programming executive software version.
0xC RESERVED
N/A
N/A
This command is reserved. It will return a NACK.
0xD RESERVED
N/A
N/A
This command is reserved. It will return a NACK.
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 SCHECK COMMAND
15
12 11
Opcode
0
Length
Field
Description
Opcode
0x0
Length
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