dsPIC33F Microchip Technology, dsPIC33F Datasheet - Page 60
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
dsPIC33F
Manufacturer Part Number
dsPIC33F
Description
(dsPIC24H / dsPIC33F) Flash Programming Specification
Manufacturer
Microchip Technology
Datasheet
1.DSPIC33F.pdf
(80 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
dsPIC33FJ06GS001-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Company:
Part Number:
dsPIC33FJ06GS101-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
dsPIC33FJ06GS101-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ06GS102-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
dsPIC33FJ06GS202-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
dsPIC33FJ06GS202-I/SO
Manufacturer:
ZORAN
Quantity:
1 000
Part Number:
dsPIC33FJ06GS202A-I/MM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
dsPIC33FJ128GP202-E/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
dsPIC33FJ128GP204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
TABLE 5-5:
DS70152D-page 60
Step 1: Exit the Reset vector.
Step 2: Set the NVMCON to program 64 instruction words.
Step 3: Initialize the write pointer (W7) for TBLWT instruction.
Step 4: Initialize the read pointer (W6) and load W0:W5 with the next 4 instruction words to program.
Step 5: Set the read pointer (W6) and load the (next set of) write latches.
Step 6: Repeat steps 4-5 sixteen times to load the write latches for 64 instructions.
Step 7: Initiate the write cycle.
Step 8: Wait for Row Program operation to complete and make sure WR bit is clear.
Command
(Binary)
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
SERIAL INSTRUCTION EXECUTION FOR WRITING CODE MEMORY
000000
000000
040200
000000
24001A
883B0A
200xx0
880190
2xxxx7
2xxxx0
2xxxx1
2xxxx2
2xxxx3
2xxxx4
2xxxx5
EB0300
000000
BB0BB6
000000
000000
BBDBB6
000000
000000
BBEBB6
000000
000000
BB1BB6
000000
000000
BB0BB6
000000
000000
BBDBB6
000000
000000
BBEBB6
000000
000000
BB1BB6
000000
000000
A8E761
000000
000000
(Hex)
Data
NOP
NOP
GOTO
NOP
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
CLR
NOP
TBLWTL
NOP
NOP
TBLWTH.B[W6++], [W7++]
NOP
NOP
TBLWTH.B[W6++], [++W7]
NOP
NOP
TBLWTL
NOP
NOP
TBLWTL
NOP
NOP
TBLWTH.B[W6++], [W7++]
NOP
NOP
TBLWTH.B[W6++], [++W7]
NOP
NOP
TBLWTL
NOP
NOP
BSET
NOP
NOP
0x200
#0x4001, W10
W10, NVMCON
#<DestinationAddress23:16>, W0
W0, TBLPAG
#<DestinationAddress15:0>, W7
#<LSW0>, W0
#<MSB1:MSB0>, W1
#<LSW1>, W2
#<LSW2>, W3
#<MSB3:MSB2>, W4
#<LSW3>, W5
W6
[W6++], [W7]
[W6++], [W7++]
[W6++], [W7]
[W6++], [W7++]
NVMCON, #WR
Preliminary
Description
© 2007 Microchip Technology Inc.