| 전자부품 데이터시트 검색엔진 |
|
PIC24F16KA102 데이터시트(PDF) 38 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC24F16KA102 데이터시트(HTML) 38 Page - Microchip Technology |
|
38 / 48 page ![]() PIC24FXXKAXXX DS39919A-page 38 Advance Information © 2008 Microchip Technology Inc. 5.2.13 QVER COMMAND The QVER command queries the version of the programming executive software stored in the test memory. The “version.revision” information is returned in the response‘s QE_Code using a single byte in the following format: Main version in upper nibble and revision in the lower nibble (i.e., 23h stands for version 2.3 of the programming executive software). Expected Response (2 words): 1BMNh (“MN” stands for version M.N) 0002h 5.3 Programming Executive Responses 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. The programming executive response set is provided in Table 5-2. This table contains the opcode, mnemonic and description for each response. The response format is described in Section 5.3.1 “Response Format”. TABLE 5-2: PROGRAMMING EXECUTIVE RESPONSE OPCODES 5.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. 5.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 5-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. 5.3.1.2 Last_Cmd Field The Last_Cmd is a 4-bit field in the first word of the response and it indicates the command that the programming executive processed. As the program- ming executive can process only one command at a time, this field is technically not required. However, it can be used to verify if the programming executive correctly received the command that the programmer transmitted. 15 12 11 0 Opcode Length Field Description Opcode Bh Length 1h Opcode Mnemonic Description 1h PASS Command successfully processed. 2h FAIL Command unsuccessfully processed. 3h NACK Command not known. Field Description Opcode Response opcode. Last_Cmd Programmer command that generated the response. QE_Code Query code or error code. Length Response length in 16-bit words (includes 2 header words). D_1 First 16-bit data word (if applicable). D_N Last 16-bit data word (if applicable). 15 12 11 8 7 0 Opcode Last_Cmd QE_Code Length D_1 (if applicable) ... D_N (if applicable) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |