參數(shù)資料
型號: PIC18F6620-E/PT
廠商: Microchip Technology
文件頁數(shù): 135/165頁
文件大小: 0K
描述: IC PIC MCU FLASH 32KX16 64TQFP
產(chǎn)品培訓(xùn)模塊: Asynchronous Stimulus
標(biāo)準(zhǔn)包裝: 160
系列: PIC® 18F
核心處理器: PIC
芯體尺寸: 8-位
速度: 25MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,LVD,POR,PWM,WDT
輸入/輸出數(shù): 52
程序存儲器容量: 64KB(32K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 1K x 8
RAM 容量: 3.75K x 8
電壓 - 電源 (Vcc/Vdd): 4.2 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 12x10b
振蕩器型: 外部
工作溫度: -40°C ~ 125°C
封裝/外殼: 64-TQFP
包裝: 托盤
2004 Microchip Technology Inc.
DS39609B-page 69
PIC18F6520/8520/6620/8620/6720/8720
EXAMPLE 5-3:
WRITING TO FLASH PROGRAM MEMORY (CONTINUED)
5.5.2
WRITE VERIFY
Depending on the application, good programming
practice may dictate that the value written to the mem-
ory should be verified against the original value. This
should be used in applications where excessive writes
can stress bits near the specification limit.
5.5.3
UNEXPECTED TERMINATION OF
WRITE OPERATION
If a write is terminated by an unplanned event, such as
loss of power or an unexpected Reset, the memory
location just programmed should be verified and repro-
grammed if needed. The WRERR bit is set when a
write operation is interrupted by a MCLR Reset, or a
WDT Time-out Reset during normal operation. In these
situations, users can check the WRERR bit and rewrite
the location.
5.5.4
PROTECTION AGAINST
SPURIOUS WRITES
To protect against spurious writes to Flash program
memory, the write initiate sequence must also be
CPU” for more detail.
5.6
Flash Program Operation During
Code Protection
details on code protection of Flash program memory.
TABLE 5-2:
REGISTERS ASSOCIATED WITH PROGRAM FLASH MEMORY
PROGRAM_MEMORY
BSF
EECON1, EEPGD
; point to Flash program memory
BCF
EECON1, CFGS
; access Flash program memory
BSF
EECON1, WREN
; enable write to memory
BCF
INTCON, GIE
; disable interrupts
MOVLW
55h
MOVWF
EECON2
; write 55H
Required
MOVLW
AAh
Sequence
MOVWF
EECON2
; write AAH
BSF
EECON1, WR
; start program (CPU stall)
NOP
BSF
INTCON, GIE
; re-enable interrupts
DECFSZ
COUNTER_HI
; loop until done
BRA
PROGRAM_LOOP
BCF
EECON1, WREN
; disable write to memory
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR
Value on
all other
Resets
TBLPTRU
bit 21
Program Memory Table Pointer Upper Byte
(TBLPTR<20:16>)
--00 0000
TBPLTRH
Program Memory Table Pointer High Byte (TBLPTR<15:8>)
0000 0000
TBLPTRL
Program Memory Table Pointer High Byte (TBLPTR<7:0>)
0000 0000
TABLAT
Program Memory Table Latch
0000 0000
INTCON
GIE/GIEH PEIE/GIEL TMR0IE
INTE
RBIE
TMR0IF
INTF
RBIF
0000 0000
EECON2
EEPROM Control Register 2 (not a physical register)
EECON1
EEPGD
CFGS
FREE
WRERR
WREN
WR
RD
xx-0 x000
uu-0 u000
IPR2
CMIP
—EEIP
BCLIP
LVDIP
TMR3IP
CCP2IP
---1 1111
PIR2
CMIF
—EEIF
BCLIF
LVDIF
TMR3IF
CCP2IF
---0 0000
PIE2
CMIE
—EEIE
BCLIE
LVDIE
TMR3IE
CCP2IE
---0 0000
Legend:
x
= unknown, u = unchanged, r = reserved, - = unimplemented, read as ‘0’.
Shaded cells are not used during Flash/EEPROM access.
相關(guān)PDF資料
PDF描述
ADG721BRM IC SWITCH DUAL SPST 8MSOP
PIC17C44-33/PT IC MCU OTP 8KX16 PWM 44TQFP
PIC17C44-25/PT IC MCU OTP 8KX16 PWM 44TQFP
ADG713BRU-REEL7 IC SWITCH QUAD SPST 16TSSOP
ADG712BR-REEL7 IC SWITCH QUAD SPST 16SOIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC18F6620-I/PT 功能描述:8位微控制器 -MCU 64KB 3840 RAM 52I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC18F6620-I/PT 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F6620 TQFP64
PIC18F6620-I/PTC01 制造商:Microchip Technology 功能描述:MCU 8-Bit PIC18 PIC RISC 64KB Flash 5V 64-Pin TQFP Tray
PIC18F6620T-I/PT 功能描述:8位微控制器 -MCU 64KB 3840 RAM 52I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC18F6621-E/PT 功能描述:8位微控制器 -MCU 64KB 3840 RAM 52I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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