English
Language : 

PIC24FJ64GA705 Datasheet, PDF (76/412 Pages) –
PIC24FJ256GA705 FAMILY
EXAMPLE 6-2: INITIATING A PROGRAMMING SEQUENCE
DISI #5
MOV.B
MOV
MOV.B
MOV
BSET
NOP
NOP
BTSC
BRA
#0x55, W0
W0, NVMKEY
#0xAA, W1
W1, NVMKEY
NVMCON, #WR
NVMCON, #15
$-2
; Block all interrupts with priority <7
; for next 5 instructions
; Write the 0x55 key
;
; Write the 0xAA key
; Start the programming sequence
; Required delays
; and wait for it to be
; completed
DS30010118B-page 76
 2016 Microchip Technology Inc.