參數(shù)資料
型號: PIC18F25K20-I/ML
廠商: Microchip Technology
文件頁數(shù): 5/42頁
文件大?。?/td> 0K
描述: IC PIC MCU FLASH 16KX16 28QFN
產(chǎn)品培訓(xùn)模塊: PIC18 K-Series
XLP Deep Sleep Mode
8-bit PIC® Microcontroller Portfolio
標(biāo)準(zhǔn)包裝: 61
系列: PIC® XLP™ 18F
核心處理器: PIC
芯體尺寸: 8-位
速度: 64MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,HLVD,POR,PWM,WDT
輸入/輸出數(shù): 24
程序存儲器容量: 32KB(16K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 256 x 8
RAM 容量: 1.5K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 3.6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 11x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-VQFN 裸露焊盤
包裝: 管件
產(chǎn)品目錄頁面: 656 (CN2011-ZH PDF)
配用: AC164112-ND - VOLTAGE LIMITER MPLAB ICD2 VPP
AC164322-ND - MODULE SOCKET MPLAB PM3 28/44QFN
2009 Microchip Technology Inc.
Advance Information
DS41297F-page 13
PIC18F2XK20/4XK20
3.0
DEVICE PROGRAMMING
Programming includes the ability to erase or write the
various memory regions within the device.
In all cases, except high-voltage ICSP Bulk Erase, the
EECON1 register must be configured in order to
operate on a particular memory region.
When using the EECON1 register to act on code
memory, the EEPGD bit must be set (EECON1<7> = 1)
and the CFGS bit must be cleared (EECON1<6> = 0).
The WREN bit must be set (EECON1<2> = 1) to
enable writes of any sort (e.g., erases) and this must be
done prior to initiating a write sequence. The FREE bit
must be set (EECON1<4> = 1) in order to erase the
program space being pointed to by the Table Pointer.
The erase or write sequence is initiated by setting the
WR bit (EECON1<1> = 1). It is strongly recommended
that the WREN bit only be set immediately prior to a
program or erase.
3.1
ICSP Erase
3.1.1
HIGH-VOLTAGE ICSP BULK ERASE
Erasing code or data EEPROM is accomplished by
configuring two Bulk Erase Control registers located at
3C0004h and 3C0005h. Code memory may be erased
portions at a time, or the user may erase the entire
device in one action. Bulk Erase operations will also
clear any code-protect settings associated with the
memory block erased. Erase options are detailed in
If
data
EEPROM
is
code-protected
(CPD = 0), the user must request an erase of data
EEPROM (e.g., 0084h as shown in Table 3-1).
TABLE 3-1:
BULK ERASE OPTIONS
The actual Bulk Erase function is a self-timed
operation. Once the erase has started (falling edge of
the 4th PGC after the NOP command), serial execution
will cease until the erase completes (parameter P11).
During this time, PGC may continue to toggle but PGD
must be held low.
The code sequence to erase the entire device is shown
in Table 3-2 and the flowchart is shown in Figure 3-1.
TABLE 3-2:
BULK ERASE COMMAND
SEQUENCE
FIGURE 3-1:
BULK ERASE FLOW
Description
Data
(3C0005h:3C0004h)
Chip Erase
0F8Fh
Erase User ID
0088h
Erase Data EEPROM
0084h
Erase Boot Block
0081h
Erase Config Bits
0082h
Erase Code EEPROM Block 0
0180h
Erase Code EEPROM Block 1
0280h
Erase Code EEPROM Block 2
0480h
Erase Code EEPROM Block 3
0880h
Note:
A Bulk Erase is the only way to reprogram
code-protect bits from an “on” state to an
“off” state.
4-Bit
Command
Data
Payload
Core Instruction
0000
0E 3C
MOVLW 3Ch
0000
6E F8
MOVWF TBLPTRU
0000
0E 00
MOVLW 00h
0000
6E F7
MOVWF TBLPTRH
0000
0E 05
MOVLW 05h
0000
6E F6
MOVWF TBLPTRL
1100
0F 0F
Write 0Fh to 3C0005h
0000
0E 3C
MOVLW 3Ch
0000
6E F8
MOVWF TBLPTRU
0000
0E 00
MOVLW 00h
0000
6E F7
MOVWF TBLPTRH
0000
0E 04
MOVLW 04h
0000
6E F6
MOVWF TBLPTRL
1100
8F 8F
Write 8F8Fh TO 3C0004h
to erase entire device.
0000
00 00
NOP
0000
00 00
Hold PGD low until erase
completes.
Start
Done
Write 8F8Fh to
3C0004h to Erase
Entire Device
Write 0F0Fh
Delay P11 + P10
Time
to 3C0005h
相關(guān)PDF資料
PDF描述
PIC16F724-I/P IC PIC MCU FLASH 4KX14 40-DIP
PIC18LF8310T-I/PT IC PIC MCU FLASH 4KX16 80TQFP
PIC18LF8390T-I/PT IC PIC MCU FLASH 4KX16 80TQFP
PIC24F16KL401-I/MQ IC MCU 16BIT 16KB FLASH 20-QFN
PIC18F2431T-E/SOG IC PIC MCU FLASH 8KX16 28SOIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC18F25K20T-I/ML 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 25 I/O 8B RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F25K20T-I/SO 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 25 I/O 8B RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F25K20T-I/SS 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 25 I/O 8B RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F25K22-E/ML 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 8B nanoWatt RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F25K22-E/SO 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 8B nanoWatt RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT