| Electronic Components Datasheet Search |
|
PIC17C752-08/CL Datasheet(PDF) 194 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC17C752-08/CL Datasheet(HTML) 194 Page - Microchip Technology |
|
194 / 328 page ![]() PIC17C7XX DS30289A-page 194 © 1998 Microchip Technology Inc. 17.6 In-Circuit Serial Programming The PIC17C7XX group of the high end family (PIC17CXXX) has an added feature that allows serial programming while in the end application circuit. This is simply done with two lines for clock and data, and three other lines for power, ground, and the programming voltage. This allows customers to manufacture boards with unprogrammed devices, and then program the microcontroller just before shipping the product. This also allows the most recent firmware or a custom firm- ware to be programmed. Devices may be serialized to make the product unique, “special” variants of the product may be offered, and code updates are possible. This allows for increased design flexibility. To place the device into the serial programming test mode, two pins will need to be placed at VIHH. These are the TEST pin and the MCLR/VPP pin. Also a sequence of events must occur as follows: 1. The TEST pin is placed at VIHH. 2. The MCLR/VPP pin is placed at VIHH. There is a setup time between step 1 and step 2 that must be met. After this sequence the Program Counter is pointing to program memory address 0xFF60. This location is in the Boot ROM. The code initializes the USART/SCI so that it can receive commands. For this, the device must be clocked. The device clock source in this mode is the RA1/T0CKI pin. After delaying to allow the USART/SCI to initialize, commands can be received. The flow is shown in these 3 steps: 1. The device clock source starts. 2. Wait 80 device clocks for Boot ROM code to con- figure the USART/SCI. 3. Commands may now be sent. For complete details of serial programming, please refer to the PIC17C7XX Programming Specification. (Contact your local Microchip Technology Sales Office for availability.) FIGURE 17-4: TYPICAL IN-CIRCUIT SERIAL PROGRAMMING CONNECTION External Connector Signals To Normal Connections To Normal Connections PIC17C7XX VDD VSS MCLR/VPP RA1/T0CKI RA4/RX1/DT1 +5V 0V VPP Dev. CLK Data I/O VDD RA5/TX1/CK1 Data CLK TEST TEST CNTL TABLE 17-3: ICSP INTERFACE PINS During Programming Name Function Type Description RA4/RX1/DT1 DT I/O Serial Data RA5/TX1/CK1 CK I Serial Clock RA1/T0CKI OSCI I Device Clock Source TEST TEST I Test mode selection control input. Force to VIHH, MCLR/VPP MCLR/VPP P Master Clear reset and Device Programming Voltage VDD VDD P Positive supply for logic and I/O pins VSS VSS P Ground reference for logic and I/O pins |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |