下载
© 2007 Microchip Technology Inc. DS41257B-page 1
PIC12F510
This document includes the
programming specifications for the
following devices:
•PIC12F510
1.0 PROGRAMMING THE
PIC12F510
The PIC12F510 is programmed using a serial method.
The Serial mode will allow the PIC12F510 to be
programmed while in the user’s system. This allows for
increased design flexibility. This programming
specification applies to PIC12F510 devices in all
packages.
1.1 Hardware Requirements
The PIC12F510 requires one power supply for VDD
(5.0V) and one for VPP (12V).
1.2 Program/Verify Mode
The Program/Verify mode for the PIC12F510 allows
programming of user program memory, user ID loca-
tions, backup OSCCAL location and the Configuration
Word.
Pin Diagrams
TABLE 1-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC12F510
Pin Name
During Programming
Function Pin Type Pin Description
GP1 ICSPCLK I Clock input – Schmitt Trigger input
GP0 ICSPDAT I/O Data input/output – Schmitt Trigger input
MCLR
/VPP/GP3 Program/Verify mode P
(1)
Program Mode Select
VDD VDD P Power Supply
V
SS VSS P Ground
Legend: I = Input, O = Output, P = Power
Note 1: In the PIC12F510, the programming high voltage is internally generated. To activate the Program/Verify
mode, high voltage of I
IHH current capability (see Table 6-1) needs to be applied to the MCLR input.
PDIP, SOIC, MSOP
VDD
GP5/OSC1/CLKIN
GP4/OSC2
MCLR
/VPP/GP3
1
2
3
4
VSS
GP0/AN0/CIN+/ICSPDAT
8
7
6
5
PIC12F510
GP1/AN1/CIN-/ICSPCLK
GP2/AN2/COUT//T0CKI
Memory Programming Specification