English
Language : 

PIC32MX795F512L-80IPT Datasheet, PDF (43/68 Pages) Microchip Technology – PIC32 Flash Programming Specification
16.2.16 QUAD_WORD_PROGRAM COMMAND
QUAD_WORD_PROGRAM instructs the PE to program
four, 32-bit words at the specified address. The
address must be an aligned four word boundary (bits 0-
1 must be ‘0’). If not, the command will return a FAIL
response value and no data will be programmed.
FIGURE 16-30:
31
15
31
15
31
15
31
15
31
15
31
15
QUAD_WORD_PROGRAM
COMMAND
16
Op code
0
Operand
16
Addr_High
0
Addr_Low
16
Data0_High
0
Data0_Low
16
Data1_High
0
Data1_Low
16
Data2_High
0
Data2_Low
16
Data3_High
0
Data3_Low
PIC32
TABLE 16-17: QUAD_WORD_PROGRAM
FORMAT
Field
Description
Op code
Operand
Addr_High
Addr_Low
Data0_High
Data0_Low
0x0C
Not used
High-order 16 bits of the 32-bit starting
address.
Low -order 16 bits of the 32-bit starting
address.
High-order 16 bits of Data Word 0.
Low-order 16 bits of Data Word 0.
Data1_High
Data1_Low
Data2_High
High-order 16 bits of Data Word 1.
Low-order 16 bits of Data Word 1.
High-order 16 bits of Data Word 2.
Data2_Low
Data3_High
Data3_Low
Low-order 16 bits of Data Word 2.
High-order 16 bits of Data Word 3.
Low-order 16 bits of Data Word 3.
Expected Response (1 word):
FIGURE 16-31:
31
QUAD_WORD_PROGRAM
RESPONSE
16
Last Command
15
0
Response Code
 2007-2013 Microchip Technology Inc.
DS61145L-page 43