參數(shù)資料
型號: AT89S8252-24AC
廠商: Atmel
文件頁數(shù): 16/41頁
文件大小: 0K
描述: MCU W/SPI 8KB FLSH 2K EEP 44TQFP
標準包裝: 160
系列: 89S
核心處理器: 8051
芯體尺寸: 8-位
速度: 24MHz
連通性: SPI,UART/USART
外圍設(shè)備: POR,WDT
輸入/輸出數(shù): 32
程序存儲器容量: 8KB(8K x 8)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 2K x 8
RAM 容量: 256 x 8
電壓 - 電源 (Vcc/Vdd): 4 V ~ 6 V
振蕩器型: 內(nèi)部
工作溫度: 0°C ~ 70°C
封裝/外殼: 44-TQFP
包裝: 托盤
其它名稱: AT89S825224AC
23
AT89S8252
0401G–MICRO–3/06
Programming the
Flash and EEPROM
Atmel’s AT89S8252 Flash Microcontroller offers 8K bytes of in-system reprogrammable
Flash Code memory and 2K bytes of EEPROM Data memory.
The AT89S8252 is normally shipped with the on-chip Flash Code and EEPROM Data
memory arrays in the erased state (i.e. contents = FFH) and ready to be programmed.
This device supports a High-voltage (12-V V
PP) Parallel programming mode and a Low-
voltage (5-V V
CC) Serial programming mode. The serial programming mode provides a
convenient way to reprogram the AT89S8252 inside the user’s system. The parallel pro-
gramming mode is compatible with conventional third party Flash or EPROM
programmers.
The Code and Data memory arrays are mapped via separate address spaces in the
serial programming mode. In the parallel programming mode, the two arrays occupy
one contiguous address space: 0000H to 1FFFH for the Code array and 2000H to
27FFH for the Data array.
The Code and Data memory arrays on the AT89S8252 are programmed byte-by-byte in
either programming mode. An auto-erase cycle is provided with the self-timed program-
ming operation in the serial programming mode. There is no need to perform the Chip
Erase operation to reprogram any memory location in the serial programming mode
unless any of the lock bits have been programmed.
In the parallel programming mode, there is no auto-erase cycle. To reprogram any non-
blank byte, the user needs to use the Chip Erase operation first to erase both arrays.
Parallel Programming Algorithm: To program and verify the AT89S8252 in the paral-
lel programming mode, the following sequence is recommended:
1.
Power-up sequence:
Apply power between V
CC and GND pins.
Set RST pin to “H”.
Apply a 3 MHz to 24 MHz clock to XTAL1 pin and wait for at least 10 milliseconds.
2.
Set PSEN pin to “L”
ALE pin to “H”
EA pin to “H” and all other pins to “H”.
3.
Apply the appropriate combination of “H” or “L” logic levels to pins P2.6, P2.7, P3.6,
P3.7 to select one of the programming operations shown in the Flash Programming
Modes table.
4.
Apply the desired byte address to pins P1.0 to P1.7 and P2.0 to P2.5.
Apply data to pins P0.0 to P0.7 for Write Code operation.
5.
Raise EA/V
PP to 12V to enable Flash programming, erase or verification.
6.
Pulse ALE/PROG once to program a byte in the Code memory array, the Data mem-
ory array or the lock bits. The byte-write cycle is self-timed and typically takes
1.5 ms.
7.
To verify the byte just programmed, bring pin P2.7 to “L” and read the programmed
data at pins P0.0 to P0.7.
8.
Repeat steps 3 through 7 changing the address and data for the entire 2K or 8K
bytes array or until the end of the object file is reached.
9.
Power-off sequence:
Set XTAL1 to “L”.
Set RST and EA pins to “L”.
Turn V
CC power off.
相關(guān)PDF資料
PDF描述
AT89S53-24PI IC MICRO CTRL 24MHZ 40DIP
AT89S53-24PC IC MICRO CTRL 24MHZ 40DIP
AT89S53-24JC IC MICRO CTRL 24MHZ 44PLCC
AT89S53-24AI IC MICRO CTRL 24MHZ 44TQFP
AT89S53-24AC IC MICRO CTRL 24MHZ 44TQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AT89S8252-24AI 功能描述:8位微控制器 -MCU w/8k 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 安裝風格:SMD/SMT
AT89S8252-24AU 制造商:Rochester Electronics LLC 功能描述:
AT89S8252-24JC 功能描述:8位微控制器 -MCU 8K Flash 24M 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 安裝風格:SMD/SMT
AT89S8252-24JI 功能描述:8位微控制器 -MCU 8K Flash 24M 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 安裝風格:SMD/SMT
AT89S8252-24PC 功能描述:8位微控制器 -MCU 8K Flash 24M 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 安裝風格:SMD/SMT