PIC12F510-I/MC Microchip Technology, PIC12F510-I/MC Datasheet - Page 15

no-image

PIC12F510-I/MC

Manufacturer Part Number
PIC12F510-I/MC
Description
IC PIC MCU FLASH 1024X12 8DFN
Manufacturer
Microchip Technology
Series
PIC® 12Fr

Specifications of PIC12F510-I/MC

Program Memory Type
FLASH
Program Memory Size
1.5KB (1K x 12)
Package / Case
8-DFN
Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
5
Ram Size
38 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC12F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
38 B
Interface Type
USB
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
6
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DV164101, DV164120, DM163029
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 3 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164334 - MODULE SOCKET FOR 8L 2X3MM DFNAC163022 - ADAPTER UNIVERSAL PROG PIC12F5XXAC162070 - HEADER INTRFC MPLAB ICD2 8/14PXLT08DFN2 - SOCKET TRANSITION ICE 14DIP/8DFN
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC12F510-I/MC
Quantity:
900
5.0
For the PIC12F510, once code protection is enabled,
all program memory locations 0x40-0x3FE, read all
‘0’s. Program memory locations 0x000-0x03F and
0x3FF are always unprotected. The user ID locations,
backup OSCCAL location and the Configuration Word
read out in an unprotected fashion. It is possible to pro-
gram the user ID locations, backup OSCCAL location
and the Configuration Word after code-protect is
enabled.
5.1
It is recommended that the following procedure be
performed before any other programming is attempted.
It is also possible to turn code protection off (CP = 1)
using this procedure. However, all data within the
program memory will be erased when this
procedure is executed, and thus, the security of the
code is not compromised.
To disable code-protect:
a)
b)
c)
5.2
© 2007 Microchip Technology Inc.
Note:
Enter Program mode
Execute
command (001001)
Wait T
CODE PROTECTION
Disabling Code Protection
Embedding Configuration Word
and User ID Information in the
Hex File
ERA
Microchip Technology Incorporated feels
strongly that this feature is important for
the benefit of the end customer.
To allow portability of code, the program-
mer is required to read the Configuration
Word and user ID locations from the hex
file when loading the hex file. If Configura-
tion Word information was not present in
the hex file, then a simple warning
message may be issued. Similarly, while
saving a hex file, Configuration Word and
user ID information must be included. An
option to not include this information may
be provided.
Bulk
Erase
Program
Memory
5.3
5.3.1
Checksum is calculated by reading the contents of the
PIC12F510 memory locations and adding up the
opcodes up to the maximum user addressable location
(e.g., 0x3FF for the PIC12F510). Any CARRY bits
exceeding 16 bits are neglected. Finally, the Configura-
tion Word (appropriately masked) is added to the
checksum. Checksum computation for the PIC12F510
is shown in Table 5-1.
The checksum is calculated by summing the following:
• The contents of all program memory locations
• The Configuration Word, appropriately masked
• Masked user ID locations (when applicable)
The Least Significant 16 bits of this sum is the
checksum.
The following table describes how to calculate the
checksum for each device.
Note:
Checksum Computation
CHECKSUM
The checksum calculation differs depend-
ing on the code-protect setting. The
Configuration Word and user ID locations
can always be read regardless of the
code-protect settings.
PIC12F510
DS41257B-page 15

Related parts for PIC12F510-I/MC