Chapter 18051 - Types of Memory | |||||||||||||||||||||||||||||||||
The 8051 has three very general types of memory. To effectively program the 8051 it is necessary to have a basic understanding of these memory types.
The memory types are illustrated in the following graphic. They 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.
