参数资料
型号: AT89S4051
厂商: Atmel Corp.
英文描述: 8-bit Microcontroller with 2K/4K Bytes Flash
中文描述: 8位闪存微控制器2K/4K字节
文件页数: 7/45页
文件大小: 981K
代理商: AT89S4051
7
3390C–MICRO–7/05
AT89S2051/S4051
8.
Restrictions on Certain Instructions
The AT89S2051/S4051 is an economical and cost-effective member of Atmel’s family of micro-
controllers. It contains 2K/4K bytes of Flash program memory. It is fully compatible with the
MCS-51 architecture, and can be programmed using the MCS-51 instruction set. However,
there are a few considerations one must keep in mind when utilizing certain instructions to pro-
gram this device.
All the instructions related to jumping or branching should be restricted such that the destination
address falls within the physical program memory space of the device, which is 2K/4K for the
AT89S2051/S4051. This should be the responsibility of the software programmer. For example,
LJMP 7E0H would be a valid instruction for the AT89S2051 (with 2K of memory), whereas LJMP
900H would not.
8.1
Branching Instructions
LCALL, LJMP, ACALL, AJMP, SJMP, JMP @A+DPTR.
These unconditional branching
instructions will execute correctly as long as the programmer keeps in mind that the destination
branching address must fall within the physical boundaries of the program memory size (loca-
tions 00H to 7FFH/FFFH for the AT89S2051/S4051). Violating the physical space limits may
cause unknown program behavior.
CJNE [...], DJNZ [...], JB, JNB, JC, JNC, JBC, JZ, JNZ.
With these conditional branching
instructions, the same rule above applies. Again, violating the memory boundaries may cause
erratic execution.
For applications involving interrupts, the normal interrupt service routine address locations of the
80C51 family architecture have been preserved.
8.2
MOVX-related Instructions, Data Memory
The AT89S2051/S4051 contains 256 bytes of internal data memory. External DATA memory
access is not supported in this device, nor is external PROGRAM memory execution. Therefore,
no MOVX [...] instructions should be included in the program.
A typical 80C51 assembler will still assemble instructions, even if they are written in violation of
the restrictions mentioned above. It is the responsibility of the user to know the physical features
and limitations of the device being used and adjust the instructions used accordingly.
9.
Program Memory Lock Bits
On the chip are two lock bits which can be left unprogrammed (U) or can be programmed (P) to
obtain the additional features listed in
Table 9-1
:
Note:
1. The Lock Bits can only be erased with the Chip Erase operation.
Table 9-1.
Lock Bit Protection Modes
(1)
Program Lock Bits
LB1
LB2
Protection Type
1
U
U
No program lock features.
2
P
U
Further programming of the Flash is disabled.
3
P
P
Same as mode 2, also verify is disabled.
相关PDF资料
PDF描述
AT89S4051-24PC 8-bit Microcontroller with 2K/4K Bytes Flash
AT89S4051-24PI 8-bit Microcontroller with 2K/4K Bytes Flash
AT89S4051-24PU 8-bit Microcontroller with 2K/4K Bytes Flash
AT89S4051-24SC 8-bit Microcontroller with 2K/4K Bytes Flash
AT89S4051-24SI 8-bit Microcontroller with 2K/4K Bytes Flash
相关代理商/技术参数
参数描述
AT89S4051-24PU 功能描述:8位微控制器 -MCU 4K FLASH 24MHZ RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT89S4051-24SU 功能描述:8位微控制器 -MCU 4K FLASH 24MHZ RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT89S4051-24SUR 功能描述:8051 89S Microcontroller IC 8-Bit 24MHz 4KB (4K x 8) FLASH 20-SOIC 制造商:atmel 系列:89S 包装:管件 零件状态:有效 核心处理器:8051 核心尺寸:8-位 速度:24MHz 连接性:UART/USART 外设:欠压检测/复位,POR,PWM I/O 数:15 程序存储容量:4KB(4K x 8) 程序存储器类型:闪存 EEPROM 容量:- RAM 容量:256 x 8 电压 - 电源(Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:- 振荡器类型:内部 工作温度:-40°C ~ 85°C(TA) 封装/外壳:20-SOIC(0.295",7.50mm 宽) 供应商器件封装:20-SOIC 标准包装:37
AT89S4D12-12RC 功能描述:8位微控制器 -MCU Microcontroller RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT89S4D12-12RI 功能描述:8位微控制器 -MCU Microcontroller RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT