PIC12C672 Datasheet

  • PIC12C672

  • 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...

  • 1263.62KB

  • 129页

  • Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

EPROM Memory Programming Specification
3.0
CODE PROTECTION
The program code written into the EPROM can be pro-
tected by writing to the CP0 & CP1 bits of the con铿乬u-
ration word.
For PIC12C67X and PIC12CE67X devices, once code
protection is enabled, all protected segments read '0's
(or 鈥済arbage values鈥? and are prevented from further
programming. All unprotected segments, including ID
and con铿乬uration word locations , and calibration word
location read normally and can be programmed.
3.1
Embedding Con铿乬uration Word and ID Information in the Hex File
To allow portability of code, the programmer is required to read the con铿乬uration word and ID locations from the hex
铿乴e when loading the hex 铿乴e. If con铿乬uration word information was not present in the hex 铿乴e then a simple warning
message may be issued. Similarly, while saving a hex 铿乴e, con铿乬uration word and ID information must be included.
An option to not include this information may be provided.
Microchip Technology Inc. feels strongly that this feature is important for the bene铿乼 of the end customer.
TABLE 3-1:
CONFIGURATION WORD
PIC12C671, PIC12CE673
To code protect:
鈥?Protect all memory
鈥?Protect 0200h-07FFh
鈥?No code protection
00 0000 X00X XXXX
01 0101 X01X XXXX
11 1111 X11X XXXX
R/W in Protected Mode
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read All 0鈥檚, Write Disabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
R/W in Unprotected Mode
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Program Memory Segment
Con铿乬uration Word (0x2007)
Unprotected memory segment
Protected memory segment
ID Locations (0x2000 : 0x2003)
INTRC Calibration Word (0X3FF)
PIC12C672, PIC12CE674
To code protect:
鈥?Protect all memory
鈥?Protect 0200h-07FFh
鈥?Protect 0400h-07FFh
鈥?No code protection
00
01
10
11
0000
0101
1010
1111
X00X
X01X
X10X
X11X
XXXX
XXXX
XXXX
XXXX
R/W in Unprotected Mode
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Program Memory Segment
Con铿乬uration Word (0x2007)
Unprotected memory segment
Protected memory segment
ID Locations (0x2000 : 0x2003)
INTRC Calibration Word (0X7FF)
R/W in Protected Mode
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
Read All 0鈥檚, Write Disabled
Read Unscrambled, Write Enabled
Read Unscrambled, Write Enabled
1998 Microchip Technology Inc.
DS40175A-page 9

PIC12C672相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!