| 전자부품 데이터시트 검색엔진 |
|
PIC24F16KA102 데이터시트(PDF) 27 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC24F16KA102 데이터시트(HTML) 27 Page - Microchip Technology |
|
27 / 48 page ![]() PIC24FXXKAXXX © 2008 Microchip Technology Inc. Advance Information DS39919A-page 27 FIGURE 4-6: FLOWCHART FOR PROGRAMMING DATA EEPROM 4.7 Configuration Bits Programming The PIC24FXXKAXXX family has eight Configuration registers . The bits of these registers can be set or cleared to select various device configurations. There are three types of Configuration bits: • System Operation Bits These bits determine the power-on settings for system-level components, such as the oscillator and Watchdog Timer. • Code-Protect Bits These bits prevent program memory from being read and written. • Device ID Bits These are read-only bits, which are located from FF0000 to FF0003, and are unique to every device. Table 4-2 provides the Configuration registers. 4.7.1 PROGRAMMING METHODOLOGY Configuration bits may be programmed, a single byte at a time, using the PROGP command. This command specifies the configuration data and Configuration register address. When Configuration bits are programmed, any unimplemented or reserved bits must be programmed with a ‘1’. Eight PROGP commands are required to program the Configuration bits. Figure 4-7 illustrates the flowchart for Configuration bit programming. 4.7.2 PROGRAMMING VERIFICATION After the Configuration bits are programmed, the contents of memory should be verified to ensure that the programming was successful. Verification requires the Configuration bits to be read back and compared against the copy held in the programmer‘s buffer. The READP command reads back the programmed Configuration bits and verifies that the programming was successful. Is PROGD response PASS? Are RemainingWords ‘0’? RemainingWords = 256 (100h) BaseAddress = 0 RemainingWords = RemainingWords – 1 BaseAddress = BaseAddress + 02h No No Yes Yes Start Failure Report Error Send PROGD Command to Program BaseAddress Finish Note: If the General Segment Code-Protect bit (GCP) is programmed to ‘0‘, code memory is code-protected and cannot be read. Code memory must be verified before enabling code protection. See Section 4.7.3 “Code-Protect Configuration Bits” for more information on code-protect Configuration bits. |
|
링크 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 |