answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the Memory types used in the 8051 microcontroller?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a 8051 Micro-controller?

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.


Which microcontroller is used mostly in industry 8051 or pic?

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.


What is microcontroller 8051?

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.


Advantages of at89c51 microcontroller over 8051 microcontroller?

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.


What is the purpose of 8051 microcontrollers?

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.


Why use AT89C51 but not others?

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.


Is ther some inbuilt facility in 8051 microcontroller to interface it with other peripheral devices or peripheral interface like 8255 should be used along with it?

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


What is the difference between AT89S52 and AT89C52?

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


Why common cathode connection is used in seven segment display using microcontroller 8051?

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.


What are the applications of 8051 microcontroller?

embedded systemindustrialcomputer networkingThe 8051 has been in use in a wide number of devices, mainly because it is easy to integrate into a project or build a device around. The following are the main areas of focus: i. Energy Management:Efficient metering systems help in controlling energy usage in homes and industrial applications. These metering systems are made capable by incorporating microcontrollers.ii. Touch screens:A high number of microcontroller providers incorporate touch-sensing capabilities in their designs. Portable electronics such as cell phones, media players and gaming devices are examples of microcontroller-based touch screens.iii. Automobiles: The 8051 finds wide acceptance in providing automobile solutions. They are widely used in hybrid vehicles to manage engine variants. Additionally, functions such as cruise control and anti-brake system have been made more efficient with the use of microcontrollers.iv. Medical Devices:Portable medical devices such as blood pressure and glucose monitors use microcontrollers will to display data, thus providing higher reliability in providing medical results.source : engineersgarage.com/8051-microcontroller


Is any memory integrated with the processor 8051?

ANSWER The Intel 8051 had integrated RAM, ROM, and various I/O functions. This is typical of microcontrollers. I forget the amounts, probably 4 kB of ROM and 64 bytes of RAM? Newer 8051-compatible microcontrollers have a wide variety of memory and integrated I/O options. (Useless information: the 8051 used 12 oscillator cycles per machine instruction cycle, due to the synchronous way it decoded the instructions, fetched the operands, and stored the results. Newer versions get semi-asynchronous and run the same operands in 4, 3, or even 1 cycle.)


Circuit diagram of IR TV remote control using 8051 microcontroller also explain its working?

the 8051 is a micro controller the buttons tell the 8051 to do something there is an ir led on an output bit of the 8051 that shines on the tv ir detector it pulses a code the tv knows or window fan, ac , vcr, dvd the other output bits are used to scan multiple buttons like the difference between a rotary and touch tone Phone ive seen them with tms1000 and z8 thermostats may have 68hc11 it has 8 channel a/d right on it circuit diagram is very trivial its all in how you pulse the led