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

DSPIC33FJ128GP306 参数 Datasheet PDF下载

DSPIC33FJ128GP306图片预览
型号: DSPIC33FJ128GP306
PDF下载: 下载PDF文件 查看货源
内容描述: 闪存编程规范 [Flash Programming Specification]
分类和应用: 闪存
文件页数/大小: 80 页 / 943 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第32页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第33页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第34页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第35页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第37页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第38页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第39页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第40页  
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION  
FIGURE 3-4:  
FLOWCHART FOR  
PROGRAMMING CODE  
MEMORY  
3.5.2  
PROGRAMMING VERIFICATION  
After code memory is programmed, the contents of  
memory can be verified to ensure that programming  
was successful. Verification requires code memory to  
be read back and compared against the copy held in  
the programmer’s buffer.  
Start  
The READPcommand can be used to read back all the  
BaseAddress = 0x0  
RemainingCmds = 1368  
programmed code memory.  
Alternatively, you can have the programmer perform  
the verification after the entire device is programmed,  
using a checksum computation.  
Send PROGP  
Command to Program  
BaseAddress  
3.5.3  
CHECKSUM COMPUTATION  
Only the Configuration registers are included in the  
checksum computation. The Device ID and Unit ID are  
not included in the checksum computation.  
Is  
No  
PROGPresponse  
PASS?  
Table 3-2 shows how this 16-bit computation can be  
made for each dsPIC33F and PIC24H device. Compu-  
tations for read code protection are shown both  
enabled and disabled. The checksum values shown  
here assume that the Configuration registers are also  
erased. However, when code protection is enabled,  
the value of the FGS register is assumed to be 0x5.  
Yes  
RemainingCmds =  
RemainingCmds – 1  
BaseAddress =  
BaseAddress + 0x80  
Is  
RemainingCmds  
0’?  
No  
Yes  
Failure  
Report Error  
Finish  
DS70152D-page 36  
Preliminary  
© 2007 Microchip Technology Inc.  
 复制成功!