The memory types are : On-Chip Memory, External Code Memory, and External RAM.
On-Chip Memory refers to any memory (Code, RAM, or other) that physically exists on the microcontroller itself. On-chip memory can be of several types, but we'll get into that shortly.
External Code Memory is code (or program) memory that resides off-chip. This is often in the form of an external EPROM.
External RAM is RAM memory that resides off-chip. This is often in the form of standard static RAM or flash RAM.
Code Memory
Code memory is the memory that holds the actual 8051 program that is to be run. This memory is limited to 64K and comes in many shapes and sizes: Code memory may be found on-chip, either burned into the microcontroller as ROM or EPROM. Code may also be stored completelyoff-chip in an external ROM or, more commonly, an external EPROM. Flash RAM is also another popular method of storing a program. Various combinations of these memory types may also be used--that is to say, it is possible to have 4K of code memory on-chip and 64k of code memory off-chip in an EPROM.
When the program is stored on-chip the 64K maximum is often reduced to 4k, 8k, or 16k. This varies depending on the version of the chip that is being used. Each version offers specific capabilities and one of the distinguishing factors from chip to chip is how much ROM/EPROM space the chip has.
However, code memory is most commonly implemented as off-chip EPROM. This is especially true in low-cost development systems and in systems developed by students.
External RAM
As the name suggests, External RAM is any random access memory which is found off-chip. Since the memory is off-chip it is not as flexible in terms of accessing, and is also slower. For example, to increment an Internal RAM location by 1 requires only 1 instruction and 1 instruction cycle. To increment a 1-byte value stored in External RAM requires 4 instructions and 7 instruction cycles. In this case, external memory is 7 times slower!
What External RAM loses in speed and flexibility it gains in quantity. While Internal RAM is limited to 128 bytes (256 bytes with an 8052), the 8051 supports External RAM up to 64K.
On-Chip Memory
As mentioned at the beginning of this chapter, the 8051 includes a certain amount of on-chip memory. On-chip memory is really one of two types: Internal RAM and Special Function Register (SFR) memory.
the 8051 has a bank of 128 bytes of Internal RAM. This Internal RAM is found on-chip on the 8051 so it is the fastest RAM available, and it is also the most flexible in terms of reading, writing, and modifying its contents. Internal RAM is volatile, so when the 8051 is reset this memory is cleared.
The 128 bytes of internal ram is subdivided as shown on the memory map. The first 8 bytes (00h - 07h) are "register bank 0". By manipulating certain SFRs, a program may choose to use register banks 1, 2, or 3. These alternative register banks are located in internal RAM in addresses 08h through 1Fh.
Bit Memory also lives and is part of internal RAM. We'll talk more about bit memory very shortly, but for now just keep in mind that bit memory actually resides in internal RAM, from addresses 20h through 2Fh.
The 80 bytes remaining of Internal RAM, from addresses 30h through 7Fh, may be used by user variables that need to be accessed frequently or at high-speed. This area is also utilized by the microcontroller as a storage area for the operating stack. This fact severely limits the 8051s stack since, as illustrated in the memory map, the area reserved for the stack is only 80 bytes--and usually it is less since this 80 bytes has to be shared between the stack and user variables.
An 8051 microcontroller is a popular 8-bit microcontroller that was first introduced by Intel in 1980. It is widely used in embedded systems due to its simple architecture, low cost, and ease of use. The 8051 microcontroller typically includes CPU, RAM, ROM, I/O ports, timers, and serial communication interfaces on a single chip.
8051 is an old microcontroller design. It has been updated and expanded into a family of microcontrollers manufactured by several companies. PIC is not a microcontroller, but is an extensive family of microcontrollers designed and manufactured by Microchip, Inc. Both are quite popular, and there are many other microcontrollers available.
In the context of the 8051 microcontroller, Tmp 1 and Tmp 2 refer to temporary registers or memory locations used during the execution of instructions. These temporary registers are often utilized by the CPU to hold intermediate data or results during arithmetic and logical operations. They help optimize processing by reducing the need to access slower main memory frequently. However, specific naming conventions like Tmp 1 and Tmp 2 may vary, as the 8051 architecture mainly utilizes general-purpose registers for such temporary storage.
The 8051 is a microcontroller. It has the MCS-51 core by Intel and was designed for embedded systems in the 1980's. The name of the CMOS version is 80C51. Today the core is still used in microcontrollers from other companies like Atmel, e.g. AT89C51.
the 8051 microcontrroller is the name doesnt matter easy or not....but the maiin and imp diff between both is at89s51 represents the 8051 chip no....along with the name of company i.e atmel, so all n all both are same thing ...... 89c51 have RISC architecture and contains less no of opcodes which are easy for programming. so iti is preferred than 8051.
OTP 8051 refers to a specific type of microcontroller based on the 8051 architecture, which is programmed using One-Time Programmable (OTP) memory. This means that once the program is written to the chip, it cannot be modified or erased, making it ideal for applications where the code is finalized and will not need updates. OTP 8051 microcontrollers are commonly used in embedded systems for tasks like control, automation, and data processing. Their limited reusability is compensated by their reliability and simplicity in design.
8051 Microcontrollers were popular computer chips used in Intel computers throughout the eighties and nineties. Though technology has advanced beyond their common use, they can still often be found in engineering schools as tools used in introductory microcontroller classes.
89c51 microcontroller is of the series of 8051,one of oldest yet commonly used microcontroller.89c51 have the less complex features then other microcontroller and it is also easily available and cheap in comparison of other microcontrollers.
The 8051 can directly interface with a number of I/O. The 8255 just gives you the abilty to access 3 eight bit ports using a minimum number of control bits from the 8051
The dptr (data pointer) is a register used in microcontroller architectures, particularly in the 8051 family, to point to data in memory. It facilitates access to data stored in external RAM or in the data memory space, allowing for efficient data manipulation and retrieval. By using dptr, programs can handle larger data sets and perform operations on data located beyond the internal memory limits.
89S52 have 8KB ROM and 256bytes RAM also it supports SPI program downloading but 89C51 have 4Kb ROM, 128bytes RAM and it wont support Serial program downloading. For more details visit www.8051projects.info
The output of 8051 micro controller is active high so we must need to use the common cathode type display . it will work glow when any input is high . The anode terminals of leds's of seven segment connected to 8051's output and cathode is common and grounded . so it require common cathode because 8051 provide active high output.