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

DSPIC33FJ128GP306 参数 Datasheet PDF下载

DSPIC33FJ128GP306图片预览
型号: DSPIC33FJ128GP306
PDF下载: 下载PDF文件 查看货源
内容描述: 闪存编程规范 [Flash Programming Specification]
分类和应用: 闪存
文件页数/大小: 80 页 / 943 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第49页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第50页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第51页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第52页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第54页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第55页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第56页浏览型号DSPIC33FJ128GP306的Datasheet PDF文件第57页  
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION  
4.2.12  
15  
QVERCOMMAND  
4.3.1  
RESPONSE FORMAT  
All programming executive responses have a general  
format consisting of a two-word header and any  
required data for the command.  
12 11  
0
Opcode  
Length  
Field  
Opcode  
Length  
Description  
15  
12 11  
8
7
0
0xB  
0x1  
Opcode  
Last_Cmd  
Length  
QE_Code  
The QVER command queries the version of the  
programming executive software stored in test  
memory. The “version.revision” information is returned  
in the response’s QE_Code using a single byte with the  
following format: main version in upper nibble and  
revision in the lower nibble (i.e., 0x23 means  
version 2.3 of programming executive software).  
D_1 (if applicable)  
...  
D_N (if applicable)  
Expected Response (2 words):  
Field  
Description  
Response opcode.  
0x1BMN (where “MN” stands for version M.N)  
0x0002  
Opcode  
Last_Cmd  
Programmer command that  
generated the response.  
4.3  
Programming Executive  
Responses  
QE_Code  
Length  
Query code or error code.  
The programming executive sends a response to the  
programmer for each command that it receives. The  
response indicates if the command was processed  
correctly. It includes any required response data or  
error data.  
Response length in 16-bit words  
(includes 2 header words).  
D_1  
D_N  
First 16-bit data word (if applicable).  
Last 16-bit data word (if applicable).  
The programming executive response set is shown in  
Table 4-2. This table contains the opcode, mnemonic  
and description for each response. The response format  
is described in Section 4.3.1 “Response Format”.  
4.3.1.1  
Opcode Field  
The opcode is a 4-bit field in the first word of the  
response. The opcode indicates how the command  
was processed (see Table 4-2). If the command was  
processed successfully, the response opcode is PASS.  
If there was an error in processing the command, the  
response opcode is FAIL and the QE_Code indicates  
the reason for the failure. If the command sent to  
the programming executive is not identified, the  
programming executive returns a NACK response.  
TABLE 4-2:  
PROGRAMMING EXECUTIVE  
RESPONSE OPCODES  
Opcode Mnemonic  
Description  
0x1  
PASS  
Command successfully  
processed.  
4.3.1.2  
Last_Cmd Field  
0x2  
0x3  
FAIL  
Command unsuccessfully  
processed.  
The Last_Cmd is a 4-bit field in the first word of  
the response and indicates the command that the  
programming executive processed. Since the program-  
ming executive can only process one command at a  
time, this field is technically not required. However, it  
can be used to verify that the programming executive  
correctly received the command that the programmer  
transmitted.  
NACK  
Command not known.  
© 2007 Microchip Technology Inc.  
Preliminary  
DS70152D-page 53  
 复制成功!