|
PIC16F707 Datasheet, PDF (185/284 Pages) Microchip Technology – 40/44-Pin, Flash Microcontrollers with nanoWatt XLP and mTouch™ Technology | |||
|
◁ |
PIC16F707/PIC16LF707
22.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 âPIC16F707/PIC16LF707 Programming
Specificationâ (DS41405A).
Note:
The ICD 2 produces a VPP voltage greater
than the maximum VPP specification of the
PIC16F707/PIC16LF707. 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 22-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).
ï£ 2010 Microchip Technology Inc.
Preliminary
DS41418A-page 185
|
▷ |