PIC12C672-10/SM Microchip Technology, PIC12C672-10/SM Datasheet - Page 516

no-image

PIC12C672-10/SM

Manufacturer Part Number
PIC12C672-10/SM
Description
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C672-10/SM

Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
For Use With
XLT08SO-1 - SOCKET TRANSITION 8SOIC 150/208AC164312 - MODULE SKT FOR PM3 16SOICISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1048 - ADAPTER 8-SOIC TO 8-DIP309-1047 - ADAPTER 8-SOIC TO 8-DIPAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Other names
PIC12C672-10/SMR
PIC12C672-10/SMR
PICmicro MID-RANGE MCU FAMILY
28.7
DS31028A-page 28-8
Field Programming of PICmicro OTP MCUs
An OTP device is not normally capable of being reprogrammed, but the PICmicro architecture
gives you this flexibility provided the size of your firmware is at least half that of the desired device
and the device is not code protected. If your target device does not have enough program mem-
ory, Microchip provides a wide spectrum of devices from 0.5K to 8K program memory with the
same set of peripheral features that will help meet the criteria.
The PIC16CXXX microcontrollers have two vectors, reset and interrupt, at locations 0x0000 and
0x0004. When the PICmicro encounters a reset or interrupt condition, the code located at one of
these two locations in program memory is executed. The first listing of
code that is first programmed into the PICmicro. The second listing of
code that is programmed into the PICmicro for the second time.
Example 28-2
originally goto Main (0x2808), is reprogrammed to all 0’s which happens to be a NOP instruction.
This location cannot be reprogrammed to the new opcode (0x2860) because the bits that are 0’s
cannot be reprogrammed to 1’s, only bits that are 1’s can be reprogrammed to 0’s. The next mem-
ory location 0x0001 was originally blank (all 1’s) and now becomes a goto Main (0x2860). When
a reset condition occurs, the PICmicro executes the instruction at location 0x0000 which is the
NOP , a completely benign instruction, and then executes the goto Main to start the execution of
code. The example also shows that all program memory locations after 0x005A are blank in the
original program so that the second time the PICmicro is programmed, the revised code can be
programmed at these locations. The same descriptions can be given for the interrupt vector at
location 0x0004.
This method changes slightly for PICmicros with >2K words of program memory. Each of the
goto
Example 28-1
Example 28-1:
Now your one-time programmable PICmicro is exhibiting EEPROM- or Flash-like qualities.
movlw <page>
movwf PCLATH
goto
Main and goto
Main
shows that to program the PICmicro a second time the memory location 0x0000,
due to paging on devices with >2K words of program memory.
Crossing Program Memory Pages
ISR instructions are replaced by the following code segment is
movlw <page>
movwf PCLATH
goto
ISR
1997 Microchip Technology Inc.
Example 28-2
Example 28-2
shows the
shows the

Related parts for PIC12C672-10/SM