|
PIC16F722 Datasheet, PDF (195/302 Pages) Microchip Technology – 28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology | |||
|
◁ |
PIC16F72X/PIC16LF72X
20.0 IN-CIRCUIT SERIAL
PROGRAMMING⢠(ICSPâ¢)
ICSP⢠programming allows customers to manufacture
circuit boards with unprogrammed devices. Programming
can be done after the assembly process allowing the
device to be programmed with the most recent firmware
or a custom firmware. Five pins are needed for ICSPâ¢
programming:
⢠ICSPCLK
⢠ICSPDAT
⢠MCLR/VPP
⢠VDD
⢠VSS
The device is placed into Program/Verify mode by
holding the ICSPCLK and ICSPDAT pins low then
raising the voltage on MCLR/VPP from 0v to VPP. In
Program/Verify mode the Program Memory, User IDs
and the Configuration Words are programmed through
serial communications. The ICSPDAT pin is a
bidirectional I/O used for transferring the serial data and
the ISCPCLK pin is the clock input. For more information
on ICSP⢠refer to the âPIC16F72x/PIC16LF72x
Programming Specificationâ (DS41332).
Note:
The ICD 2 produces a VPP voltage greater
than the maximum VPP specification of the
PIC16F72X/PIC16LF72X. When using
this programmer, an external circuit, such
as the AC164112 MPLAB ICD 2 VPP volt-
age limiter, is required to keep the VPP
voltage within the device specifications.
FIGURE 20-1:
TYPICAL CONNECTION FOR ICSP⢠PROGRAMMING
External
Programming
Signals
VDD
VPP
GND
Data
Clock
VDD
10k
Device to be
Programmed
VDD
MCLR/VPP
VSS
ICSPDAT
ICSPCLK
*
*
*
To Normal Connections
* Isolation devices (as required).
© 2009 Microchip Technology Inc.
DS41341E-page 195
|
▷ |