Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC18F252-I/SP 数据手册 > PIC18F252-I/SP 用户编程技术手册 5/36 页


¥ 51.954
PIC18F252-I/SP 用户编程技术手册 - Microchip(微芯)
制造商:
Microchip(微芯)
分类:
微控制器
封装:
DIP-28
描述:
MICROCHIP PIC18F252-I/SP 微控制器, 8位, 闪存, PIC18Fxx2, 40 MHz, 32 KB, 1.5 KB, 28 引脚, NDIP
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
引脚图在P1P2Hot
导航目录
PIC18F252-I/SP数据手册
Page:
of 36 Go
若手册格式错乱,请下载阅览PDF原文件

2010 Microchip Technology Inc. DS39576C-page 5
PIC18FXX2/XX8
2.4 High Level Overview of the
Programming Process
Figure 2-5 shows the high level overview of the pro-
gramming process. First, a bulk erase is performed.
Next, the code memory, ID locations, and data
EEPROM are programmed. These memories are then
verified to ensure that programming was successful. If
no errors are detected, the configuration bits are then
programmed and verified.
2.5 Entering High Voltage ICSP
Program/Verify Mode
The High Voltage ICSP Program/Verify mode is
entered by holding SCLK and SDATA low, and then
raising MCLR/VPP to VIHH (high voltage). Once in this
mode, the code memory, data EEPROM, ID locations,
and configuration bits can be accessed and
programmed in serial fashion.
The sequence that enters the device into the Program-
ming/Verify mode places all unused I/Os in the high
impedance state.
2.5.1 ENTERING LOW VOLTAGE ICSP
PROGRAM/VERIFY MODE
When the LVP configuration bit is ‘1’ (see Section 5.3),
the Low Voltage ICSP mode is enabled. Low Voltage
ICSP Program/Verify mode is entered by holding SCLK
and SDATA low, placing a logic high on PGM, and then
raising MCLR
/VPP to VIH. In this mode, the RB5/PGM
pin is dedicated to the programming function and
ceases to be a general purpose I/O pin.
The sequence that enters the device into the Program-
ming/Verify mode places all unused I/Os in the high
impedance state.
FIGURE 2-4: ENTERING HIGH
VOLTAGE PROGRAM/
VERIFY MODE
FIGURE 2-5: HIGH LEVEL
PROGRAMMING FLOW
FIGURE 2-6: ENTERING LOW VOLTAGE
PROGRAM/ VERIFY MODE
MCLR/VPP
P12
SDATA
SDATA = Input
SCLK
VDD
D110
P13
Start
Program Memory
Program IDs
Program Data
Verify Program
Verify IDs
Verify Data
Program
Configuration Bits
Verify
Configuration Bits
Done
Perform Bulk
Erase
MCLR/VPP
P12
SDATA
SDATA = Input
SCLK
PGM
P15
VDD
VIH
VIH
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件