欢迎访问ic37.com |
会员登录 免费注册
发布采购

DSPIC33FJ128GP306 参数 Datasheet PDF下载

DSPIC33FJ128GP306图片预览
型号: DSPIC33FJ128GP306
PDF下载: 下载PDF文件 查看货源
内容描述: 闪存编程规范 [Flash Programming Specification]
分类和应用: 闪存
文件页数/大小: 80 页 / 943 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第56页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第57页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第58页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第59页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第61页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第62页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第63页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第64页  
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION  
TABLE 5-5:  
SERIAL INSTRUCTION EXECUTION FOR WRITING CODE MEMORY  
Command  
(Binary)  
Data  
(Hex)  
Description  
Step 1: Exit the Reset vector.  
0000  
0000  
0000  
0000  
000000  
000000  
040200  
000000  
NOP  
NOP  
GOTO  
NOP  
0x200  
Step 2: Set the NVMCON to program 64 instruction words.  
0000  
0000  
24001A  
883B0A  
MOV  
MOV  
#0x4001, W10  
W10, NVMCON  
Step 3: Initialize the write pointer (W7) for TBLWTinstruction.  
0000  
0000  
0000  
200xx0  
880190  
2xxxx7  
MOV  
MOV  
MOV  
#<DestinationAddress23:16>, W0  
W0, TBLPAG  
#<DestinationAddress15:0>, W7  
Step 4: Initialize the read pointer (W6) and load W0:W5 with the next 4 instruction words to program.  
0000  
0000  
0000  
0000  
0000  
0000  
2xxxx0  
2xxxx1  
2xxxx2  
2xxxx3  
2xxxx4  
2xxxx5  
MOV  
MOV  
MOV  
MOV  
MOV  
MOV  
#<LSW0>, W0  
#<MSB1:MSB0>, W1  
#<LSW1>, W2  
#<LSW2>, W3  
#<MSB3:MSB2>, W4  
#<LSW3>, W5  
Step 5: Set the read pointer (W6) and load the (next set of) write latches.  
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  
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  
CLR  
NOP  
W6  
TBLWTL [W6++], [W7]  
NOP  
NOP  
TBLWTH.B[W6++], [W7++]  
NOP  
NOP  
TBLWTH.B[W6++], [++W7]  
NOP  
NOP  
TBLWTL [W6++], [W7++]  
NOP  
NOP  
TBLWTL [W6++], [W7]  
NOP  
NOP  
TBLWTH.B[W6++], [W7++]  
NOP  
NOP  
TBLWTH.B[W6++], [++W7]  
NOP  
NOP  
TBLWTL [W6++], [W7++]  
NOP  
NOP  
Step 6: Repeat steps 4-5 sixteen times to load the write latches for 64 instructions.  
Step 7: Initiate the write cycle.  
0000  
0000  
0000  
A8E761  
000000  
000000  
BSET  
NOP  
NOP  
NVMCON, #WR  
Step 8: Wait for Row Program operation to complete and make sure WR bit is clear.  
DS70152D-page 60  
Preliminary  
© 2007 Microchip Technology Inc.  
 复制成功!