English
Language : 

PIC32MX795F512L-80IPT Datasheet, PDF (38/68 Pages) Microchip Technology – PIC32 Flash Programming Specification
PIC32
16.2.6 WORD_PROGRAM COMMAND
The WORD_PROGRAM command instructs the PE to
program a 32-bit word of data at the specified address.
FIGURE 16-10:
WORD_PROGRAM
COMMAND
31
16
Op code
15
0
Operand
31
16
Addr_High
15
0
Addr_Low
31
16
Data_High
15
0
Data_Low
TABLE 16-7: WORD_PROGRAM FORMAT
Field
Description
Op code
Operand
Addr_High
Addr_Low
Data_High
Data_Low
0x3
Not used
High 16 bits of 32-bit destination
address
Low 16 bits of 32-bit destination
address
High 16 bits data word
Low 16 bits data word
Expected Response (1 word):
FIGURE 16-11:
WORD_PROGRAM
RESPONSE
31
16
Last Command
15
0
Response Code
16.2.7 CHIP_ERASE COMMAND
The CHIP_ERASE command erases the entire chip,
including the configuration block.
After the erase is performed, the entire Flash memory
contains 0xFFFFFFFF.
FIGURE 16-12:
31
15
CHIP_ERASE COMMAND
16
Op code
0
Operand
TABLE 16-8: CHIP_ERASE FORMAT
Field
Description
Op code
Operand
Addr_Low
Addr_High
0x4
Not used
Low 16 bits of 32-bit destination
address
High 16 bits of 32-bit destination
address
Expected Response (1 word):
FIGURE 16-13: CHIP_ERASE RESPONSE
31
16
Last Command
15
0
Response Code
DS61145L-page 38
 2007-2013 Microchip Technology Inc.