Information
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
DS70152H-page 46 © 2010 Microchip Technology Inc.
Step 4: Output W0:W5 using the VISI register and REGOUT command.
0000
0000
0001
0000
0000
0000
0001
0000
0000
0000
0001
0000
0000
0000
0001
0000
0000
0000
0001
0000
0000
0000
0001
0000
883C20
000000
<VISI>
000000
883C21
000000
<VISI>
000000
883C22
000000
<VISI>
000000
883C23
000000
<VISI>
000000
883C24
000000
<VISI>
000000
883C25
000000
<VISI>
000000
MOV W0, VISI
NOP
Clock out contents of VISI register.
NOP
MOV W1, VISI
NOP
Clock out contents of VISI register.
NOP
MOV W2, VISI
NOP
Clock out contents of VISI register.
NOP
MOV W3, VISI
NOP
Clock out contents of VISI register.
NOP
MOV W4, VISI
NOP
Clock out contents of VISI register.
NOP
MOV W5, VISI
NOP
Clock out contents of VISI register.
NOP
Step 5: Repeat step 4 until all desired code memory is read.
Step 6: Reset device internal PC.
0000
0000
040200
000000
GOTO 0x200
NOP
TABLE 5-8: SERIAL INSTRUCTION EXECUTION FOR READING CODE MEMORY (CONTINUED)
Command
(Binary)
Data
(Hex)
Description