PIC16F506-I/P Microchip Technology, PIC16F506-I/P Datasheet - Page 16
![IC PIC MCU FLASH 1KX14 14DIP](/photos/6/59/65935/150-14-dip_sml.jpg)
PIC16F506-I/P
Manufacturer Part Number
PIC16F506-I/P
Description
IC PIC MCU FLASH 1KX14 14DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC12F510-ISN.pdf
(124 pages)
2.PIC16F506-ISL.pdf
(12 pages)
3.PIC16F506-ISL.pdf
(8 pages)
4.PIC16F506-ISL.pdf
(22 pages)
5.PIC16F506-IP.pdf
(114 pages)
Specifications of PIC16F506-I/P
Program Memory Type
FLASH
Program Memory Size
1.5KB (1K x 12)
Package / Case
14-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Ram Size
67 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
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
67 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
3-ch x 8-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162070 - HEADER INTRFC MPLAB ICD2 8/14P
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F506-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F506
5.0
For the PIC16F506, once code protection is enabled,
program memory locations 0x040-0x3FE inclusive,
read all ‘0’s. Program memory locations 0x000-0x03F
and 0x3FF are always unprotected. The user ID
locations, backup OSCCAL location and the Configura-
tion Word read out in an unprotected fashion. It is
possible to program 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
DS41258C-page 16
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
To
programmer is required to read the
Configuration Word and user ID locations
from the hex file when loading the hex file.
If Configuration Word information was not
present in the hex file, then a simple
warning
Similarly,
Configuration
information must be included. An option to
not include this information may be
provided.
Microchip Technology Incorporated feels
strongly that this feature is important for
the benefit of the end customer.
.
Bulk
allow
message
Erase
while
portability
Word
saving
Program
may
and
of
a
be
code,
user
hex
Memory
issued.
file,
the
ID
5.3
5.3.1
Checksum is calculated by reading the contents of the
PIC16F506 memory locations and adding up the
opcodes up to the maximum user addressable location
(e.g., 0x3FF for the PIC16F506). Any Carry bits
exceeding 16 bits are neglected. Finally, the Configura-
tion Word (appropriately masked) is added to the
checksum. Checksum computation for the PIC16F506
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 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
depending on the code-protect setting.
The Configuration Word and ID locations
can always be read regardless of the
code-protect settings.
checksum
2010 Microchip Technology Inc.
calculation
differs