| 전자부품 데이터시트 검색엔진 |
|
18F45K80 데이터시트(PDF) 21 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
18F45K80 데이터시트(HTML) 21 Page - Microchip Technology |
|
21 / 52 page ![]() 2011 Microchip Technology Inc. DS39972B-page 21 PIC18FXXK80 FAMILY 3.2 Code Memory Programming Programming code memory is accomplished by first loading data into the write buffer and then initiating a programming sequence. The write and erase buffer sizes, shown in Table 3-10, can be mapped to any location of the same size beginning at 000000h. The actual memory write sequence takes the contents of this buffer and programs the proper amount of code memory that contains the Table Pointer. The programming duration is externally timed and is controlled by PGC. After a Start Programming command is issued (4-bit command, ‘1111’), a NOP is issued, where the 4th PGC is held high for the duration of the programming time, P9. After PGC is brought low, the programming sequence is terminated. PGC must be held low for the time specified by Parameter P10 to allow high-voltage discharge of the memory array. The code sequence to program a PIC18FXXK80 family device is shown in Table 3-11. The flowchart, shown in Figure 3-6, depicts the logic necessary to completely write a PIC18FXXK80 family device. The timing diagram that details the Start Programming command, and Parameters P9 and P10 is shown in Figure 3-4. TABLE 3-10: WRITE AND ERASE BUFFER SIZES FIGURE 3-4: TABLE WRITE AND START PROGRAMMING INSTRUCTION TIMING (‘1111’) Note: The TBLPTR register must point to the same region when initiating the program- ming sequence as it did when the write buffers were loaded. All Devices Write Buffer Size in Bytes Erase Buffer Size in Bytes PIC18FXXK80 64 64 12 3 4 12 15 16 12 3 4 PGC P5A PGD PGD = Input n 11 1 1 34 6 5 P9(1) P10 Programming Time nn n nn n n 00 12 0 00 16-Bit Data Payload 0 3 0 P5 4-Bit Command 16-Bit Data Payload 4-bit Command Note 1: Use P9A for User ID and Configuration Word programming. |
|
링크 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 |