PIC12F675/ICD Microchip Technology, PIC12F675/ICD Datasheet - Page 11

no-image

PIC12F675/ICD

Manufacturer Part Number
PIC12F675/ICD
Description
IC MCU 1K FLASH DEVLP TOOL 14DIP
Manufacturer
Microchip Technology

Specifications of PIC12F675/ICD

Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
2.3.1.9
After this command is performed and Calibration bits are
erased, the entire program memory is erased. If data is
code-protected, data memory will also be erased.
To perform a bulk erase of the program memory, the
following sequence must be performed.
1.
2.
3.
4.
5.
If the address is pointing to the ID/configuration
program memory (0x2000-0x201F), then both the user
memory and the ID locations will be erased.
FIGURE 2-12:
© 2005 Microchip Technology Inc.
Note 1: The OSCCAL word and BG bits must be
Read OSCCAL 0x3FF.
Verify RETLW instruction for OSCCAL location.
Read Configuration Word.
Do a Bulk Erase Program Memory command.
Wait T
CLOCK
GP1
GP0
DATA
Note 1: GP0 and GP1 apply to PIC12F629/675 only. For PIC16F630/676, use RA0 and RA1, respectively.
2: The OSCCAL location must contain the
(1)
(1)
ERA
read prior to erasing the device and
restored
operation. OSCCAL is at location 0x3FF
and the BG bits are bits 12 and 13 of the
Configuration Word (0x2007).
RETLW instruction within its data in order
to be verified properly. The data in the
OSCCAL location should be ‘11 01xx
xxxx
care” bits and are ignored by the
programmer.
Bulk Erase Program Memory
to complete bulk erase.
xxxx,’ where the x’s are “don’t
T
BULK ERASE PROGRAM MEMORY COMMAND
SET
during
1
1
1
the
PIC12F629/675/PIC16F630/676
T
HLD
programming
2
0
1
Program/Verify Test mode
T
3
0
SET
1
4
1
T
HLD
5
1
x
x
6
T
T
ERA
DLY
1
1
x
Next Command
2
DS41191D-page 11
0

Related parts for PIC12F675/ICD