
dsPIC30F Flash Programming Specification
DS70102K-page 48
2010 Microchip Technology Inc.
Step 7: Unlock the NVMCON for writing.
0000
200558
883B38
200AA9
883B39
MOV
#0x55, W8
MOV
W8, NVMKEY
MOV
#0xAA, W9
MOV
W9, NVMKEY
Step 8: Initiate the write cycle.
0000
—
0000
A8E761
000000
—
000000
A9E761
000000
BSET NVMCON, #WR
NOP
NOP
BCLR NVMCON, #WR
NOP
Step 9: Reset device internal PC.
0000
040100
000000
GOTO 0x100
NOP
Step 10: Repeat steps 2-9 until all data memory is programmed.
TABLE 11-9:
SERIAL INSTRUCTION EXECUTION FOR WRITING DATA EEPROM (CONTINUED)
Command
(Binary)
Data
(Hexadecimal)
Description