| 전자부품 데이터시트 검색엔진 |
|
PIC24F16KA102 데이터시트(PDF) 23 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC24F16KA102 데이터시트(HTML) 23 Page - Microchip Technology |
|
23 / 48 page ![]() PIC24FXXKAXXX © 2008 Microchip Technology Inc. Advance Information DS39919A-page 23 4.0 DEVICE PROGRAMMING – ENHANCED ICSP This section describes the programming of the device through Enhanced ICSP and the programming executive. The programming executive resides in the executive memory (separate from user memory space), and is executed when Enhanced ICSP Programming mode is entered. The programming executive provides the mechanism for the programmer (host device) to program and verify the PIC24FXXKAXXX devices using a simple command set and communication protocol. The basic functions provided by the programming executive are: • Read Memory • Program Memory • Blank Check • Read Executive Firmware Revision The programming executive performs the low-level tasks required for erasing, programming and verifying a device. This allows the programmer to program the device by issuing the appropriate commands and data. Table 4-1 provides these commands. For detailed descriptions of each command, see Section 5.2 “Programming Executive Commands”. TABLE 4-1: COMMAND SET SUMMARY The programming executive uses the device’s data RAM for variable storage and program execution. After the programming executive is run, no assumptions should be made about the contents of the data RAM. 4.1 Overview of the Programming Process Figure 4-1 illustrates the high-level overview of the programming process. Perform the following steps: 1. Enter ICSP mode. 2. Erase the device. 3. Verify the programming executive. 4. Exit ICSP mode. 5. Enter Enhanced ICSP mode. 6. Program the code memory. 7. Verify the code memory. 8. Program the Configuration registers. 9. Verify the Configuration registers. Steps 7 and 9 ensure that the programming was successful. After the programming executive is verified in memory (or loaded if not present), the PIC24FXXKAXXX family can be programmed using the command set provided in Table 4-1. FIGURE 4-1: HIGH-LEVEL ENHANCED ICSP™ PROGRAMMING FLOW Command Description SCHECK Sanity check. READC Read Device ID registers. READD Read data EEPROM memory. READP Read Code register. PROGC Write User ID. PROGD Program and verify one word of data EEPROM memory. PROGP Program and verify one row of code memory or one Configuration register. QBLANK Query if the code memory is blank. QVER Query the software version. Start End Perform Chip Erase Program and Verify Enter ICSP™ Mode Program and Verify Exit Enhanced ICSP Mode Program and Verify Code Memory Data EEPROM Memory Configuration Bits Enter Enhanced ICSP Mode Exit ICSP Mode |
|
링크 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 |