PIC12F510-E/MS Microchip Technology, PIC12F510-E/MS Datasheet - Page 15

IC PIC MCU FLASH 1KX14 8MSOP

PIC12F510-E/MS

Manufacturer Part Number
PIC12F510-E/MS
Description
IC PIC MCU FLASH 1KX14 8MSOP
Manufacturer
Microchip Technology
Series
PIC® 12Fr
Datasheets

Specifications of PIC12F510-E/MS

Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
8-MSOP, Micro8™, 8-uMAX, 8-uSOP,
Processor Series
PIC12F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
38 B
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
5
Number Of Timers
1
Maximum Operating Temperature
+ 125 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
For Use With
AC162070 - HEADER INTRFC MPLAB ICD2 8/14PAC164325 - MODULE SKT FOR 8MSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
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-E/MS