PIC16F628A-I/SS Microchip Technology, PIC16F628A-I/SS Datasheet - Page 19

IC MCU FLASH 2KX14 EEPROM 20SSOP

PIC16F628A-I/SS

Manufacturer Part Number
PIC16F628A-I/SS
Description
IC MCU FLASH 2KX14 EEPROM 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F628A-I/SS

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
20-SSOP
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
224 B
Interface Type
SCI/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
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, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
Package
20SSOP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS-1 - SOCKET TRANSITION 18DIP 20SSOPI3DBF648 - BOARD DAUGHTER ICEPIC3AC164307 - MODULE SKT FOR PM3 28SSOPAC162053 - HEADER INTERFACE ICD,ICD2 18DIPAC164018 - MODULE SKT PROMATEII 20SSOP
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F628A-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F628A-I/SS
0
3.9
The programmer should be able to read data EEPROM
information from a hex file and conversely (as an
option) write data EEPROM contents to a hex file,
along with program memory information and fuse
information.
The data memory locations are logically mapped
starting at address 0x2100. The format for data
memory storage is one data byte per address location,
LSB aligned.
3.10
3.10.1
Checksum is calculated by reading the contents of the
PIC16F627A/628A/648A memory locations and adding
up the opcodes up to the maximum user addressable
location (e.g., 0x7FF for the PIC16F628A). Any carry
bits exceeding 16 bits are neglected. Finally, the Con-
figuration Word (appropriately masked) is added to the
checksum. Checksum computation for each member of
the PIC16F627A/628A/648A devices is shown in
Table 3-3.
TABLE 3-3:
© 2007 Microchip Technology Inc.
PIC16F627A
PIC16F628A
PIC16F648A
Legend: CFGW = Configuration Word
Device
Embedding Data EEPROM
Contents in Hex File
Checksum Computation
SUM[a:b] = [Sum of locations a to b inclusive]
SUM_ID = ID locations masked by 0xF then made into a 16-bit value with ID0 as the Most Significant
nibble.
*Checksum = [Sum of all the individual expressions] MODULO [0xFFFF]
+ = Addition
& = Bitwise AND
CHECKSUM
CHECKSUM COMPUTATION
Protect
Code
For example, ID0 = 0x1, ID1 = 0x2, ID3 = 0x3, ID4 = 0x4, then SUM_ID = 0x1234
OFF
OFF
OFF
ON
ON
ON
SUM[0x0000:0x03FF] + CFGW & 0x21FF
CFGW & 0x21FF + SUM_ID
SUM[0x0000:0x7FF] + CFGW & 0x21FF
CFGW & 0x21FF + SUM_ID
SUM[0x0000:0x0FFF] + CFGW & 0x21FF
CFGW & 0x21FF + SUM_ID
Preliminary
PIC16F627A/628A/648A
Checksum*
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:
The checksum calculation differs depend-
ing on the code-protect setting. Since the
program memory locations read out differ-
ently depending on the code-protect
setting, the table describes how to
manipulate the actual program memory
values to simulate the values that would
be read from a protected device. When
calculating a checksum, by reading a
device, the entire program memory can
simply be read and summed. The Config-
uration Word and ID locations can always
be read.
Blank
Value
1DFF
1FFE
1BFE
19FF
13FE
11FF
DS41196G-page 19
0x25E6 at 0
and Max
Address
DDCD
EBCC
DFCC
E9CD
E5CD
E7CC

Related parts for PIC16F628A-I/SS