전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

PIC24F16KA102 데이터시트(PDF) 39 Page - Microchip Technology

부품명 PIC24F16KA102
상세설명  Flash Programming Specifications
PDF  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24F16KA102 데이터시트(HTML) 39 Page - Microchip Technology

Back Button PIC24F16KA102 Datasheet HTML 35Page - Microchip Technology PIC24F16KA102 Datasheet HTML 36Page - Microchip Technology PIC24F16KA102 Datasheet HTML 37Page - Microchip Technology PIC24F16KA102 Datasheet HTML 38Page - Microchip Technology PIC24F16KA102 Datasheet HTML 39Page - Microchip Technology PIC24F16KA102 Datasheet HTML 40Page - Microchip Technology PIC24F16KA102 Datasheet HTML 41Page - Microchip Technology PIC24F16KA102 Datasheet HTML 42Page - Microchip Technology PIC24F16KA102 Datasheet HTML 43Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 48 page
background image
PIC24FXXKAXXX
© 2008 Microchip Technology Inc.
Advance Information
DS39919A-page 39
5.3.1.3
QE_Code Field
The QE_Code is a byte in the first word of the
response. This byte is used to return data for query
commands and error codes for all of the other
commands.
When the programming executive processes one of the
two query commands (QBLANK or QVER), the returned
opcode is always PASS and the QE_Code holds the
query response data.
Table 5-3 provides the format of the QE_Code for both
queries.
TABLE 5-3:
QE_Code FOR QUERIES
When the programming executive processes any
command other than a query, the QE_Code represents
an error code. Table 5-4 provides the supported error
codes.
If a command is successfully processed, the returned
QE_Code is set to 0h, which indicates that there was
no error in the command processing. If the verify of the
programming for the PROGP or PROGC command fails,
the QE_Code is set to 1h. For all other programming
executive errors, the QE_Code is 2h.
TABLE 5-4:
QE_Code FOR NON-QUERY
COMMANDS
5.3.1.4
Response Length
The response length indicates the length of the
programming executive’s response in 16-bit words.
This field includes the two words of the response
header.
With the exception of the response for the READP
command, the length of each response is only two
words.
The response to the READP command uses the packed
instruction word format described in Section 5.2.2
“Packed Data Format”. When reading an odd number
of program memory words (N odd), the response to the
READP
command is (3 * (N + 1)/2 + 2) words. When
reading an even number of program memory words
(N even), the response to the READP command is
(3 * N/2 + 2) words.
5.4
Programming the Programming
Executive to Memory
This section describes the programming of the
programming executive to memory and also provides
the procedure to perform this.
5.4.1
OVERVIEW
If it is determined that the programming executive is not
present in the executive memory (as described
in Section 4.2 “Confirming the Presence of the
Programming Executive”), it must be programmed
into the executive memory using ICSP, as described in
Section 3.0 “Device Programming – ICSP”.
Storing the programming executive to executive
memory is the same as normal programming of code
memory:
The executive memory should be erased and then the
programming
executive
must
be
programmed
32 words at a time.
Erasing the last eight words causes the device
diagnostic data in the Diagnostic Words at addresses
8007F0h to 8007FEh to be erased. In order to retain
these, the memory locations should be read and
stored, and then be reprogrammed in the last eight
words of program memory. Table 5-5 provides this
control flow.
Query
QE_Code
QBLANK 0Fh = Code memory is NOT blank
F0h = Code memory is blank
QVER
0xMN, where programming executive
software version = M.N (i.e., 32h stands
for version 3.2 of the programming
executive software)
QE_Code
Description
0h
No error.
1h
Verify failed.
2h
Other error.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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