Embedded System Task
Embedded System Task
System Architecture.
A processor, also known as a central processing unit (CPU), is the primary component in a
computer that performs most of the processing. It executes instructions that are stored in
memory and perform basic arithmetic, logic, and input/output operations.
The processor is the “brain” of the computer and is responsible for carrying out the instructions
of a computer program.
It reads and interprets the instructions and performs the actions required by the instructions.
The processor is an essential component of a computer system, as it determines the speed and
performance of the system.
Register Set
The register set contrasts from one system to another. The register set includes several registers
which contain general-purpose registers and special-purpose registers. The general-purpose
registers do not implement any particular function. They save the temporary information that is
needed by a program. The special-purpose registers execute various functions for the CPU.
ALU
The ALU implements all the arithmetic, logical, and shift operations by supporting important
circuitry that provides these evaluations.
Control Unit
The control unit fetches the instructions from the main memory, decodes the instructions, and
then executes them.
The CPU interacts with the main memory and input/output devices. The CPU reads and writes
data to and from the memory system and transfers data to and from the I/O devices.
Instruction set Architecture.
The ISA provides the only way through which a user is able to interact with the
hardware. It can be viewed as a programmer’s manual because it’s the portion of
the machine that’s visible to the assembly language programmer, the compiler
writer, and the application programmer.
The ISA defines the supported data types, the registers, how the hardware manages
main memory, key features (such as virtual memory), which instructions a
microprocessor can execute, and the input/output model of multiple ISA
implementations. The ISA can be extended by adding instructions or other
capabilities, or by adding support for larger addresses and data values.
Memory Types.
In general, memory can be divided into primary and secondary memory; moreover,
there are numerous types of memory when discussing just primary memory. Some
types of primary memory include the following
Cache memory. This temporary storage area, known as a cache, is more readily
available to the processor than the computer's main memory source. It is also called
CPU memory because it is typically integrated directly into the CPU chip or placed on a
separate chip with a bus interconnect with the CPU.
RAM. The term is based on the fact that any storage location can be accessed directly
by the processor.
Dynamic RAM. DRAM is a type of semiconductor memory that is typically used by the
data or program code needed by a computer processor to function.
Static RAM. SRAM retains data bits in its memory for as long as power is supplied to it.
Unlike DRAM, which stores bits in cells consisting of a capacitor and a transistor, SRAM does
not have to be periodically refreshed.
Double Data Rate SDRAM. DDR SRAM is SDRAM that can theoretically improve memory
clock speed to at least 200 MHz.
Double Data Rate 4 Synchronous Dynamic RAM. DDR4 RAM is a type of DRAM that has a
high-bandwidth interface and is the successor to its previous DDR2 and DDR3 versions. DDR4
RAM allows for lower voltage requirements and higher module density. It is coupled with
higher data rate transfer speeds and allows for dual in-line memory modules (DIMMS) up to
64 GB.
Rambus Dynamic RAM. DRDRAM is a memory subsystem that promised to transfer up to 1.6
billion bytes per second. The subsystem consists of RAM, the RAM controller, the bus that
connects RAM to the microprocessor and devices in the computer that use it.
Programmable ROM. PROM is ROM that can be modified once by a user. It enables a user to
tailor a microcode program using a special machine called a PROM programmer.
Erasable PROM. EPROM is programmable read-only memory PROM that can be erased and
re-used. Erasure is caused by shining an intense ultraviolet light through a window designed
into the memory chip.
Electrically erasable PROM. EEPROM is a user-modifiable ROM that can be erased and
reprogrammed repeatedly through the application of higher than normal electrical voltage.
Unlike EPROM chips, EEPROMs do not need to be removed from the computer to be
modified. However, an EEPROM chip must be erased and reprogrammed in its entirety, not
selectively.
Virtual memory. A memory management technique where secondary memory can be used
as if it were a part of the main memory. Virtual memory uses hardware and software to
enable a computer to compensate for physical memory shortages by temporarily
transferring data from RAM to disk storage.
Compare all software systems
1. Web Development
web development is the act of building, creating and maintaining websites. The
field encompasses a broad range of tasks including everything from coding, to
technical design, to the performance of a website or application running on the
internet.
2. GUI Development
GUI is a Graphical Interface that visually represents communication presented
to the user for easy interaction with the machine. GUI means Graphical User
Interface. The common user Interface includes Graphical representations like
buttons and icons, and communication can be performed by interacting with
these icons rather than the usual text-based or command-based
communication.
3. ● Mobile development
Mobile application development is the process of creating software
applications that run on a mobile device, and a typical mobile application
utilizes a network connection to work with remote computing resources.
Hence, the mobile development process involves creating installable software
bundles (code, binaries, assets, etc.) , implementing backend services such as
data access with an API, and testing the application on target devices.
4- IoT software
IoT software addresses its key areas of networking and action through
platforms, embedded systems, partner systems, and middleware. These
individual and master applications are responsible for data collection, device
integration, real-time analytics, and application and process extension within
the IoT network. They exploit integration with critical business systems (e.g.,
ordering systems, robotics, scheduling, and more) in the execution of related
tasks.
Compare AVR with PIC in a technical way and verify whether
pipeline makes difference or not.
The main parts that a microcontroller has are: central processing unit (CPU), memory unit, and I/O
interfaces. All these components of the microcontroller are formed on a single chip. A
microcontroller can be programmed using various programming languages like C language,
assembly language, etc. to perform a specific function. Microcontrollers are widely used in a
variety of electronic devices, such as medical instruments, manufacturing machinery, robotics,
automobiles, home appliances, toys, etc. to automate their operation.
AVR and PIC are the two types of low-cost microcontrollers that are used in a wide range of
applications from simple embedded systems to industrial control systems. In this article, we will
discuss the important differences between AVR and PIC. But before discussing the differences, let
us first have a look into their basics.
AVR is an abbreviation for Alf and Vegard’s RISC processor, also Advanced Virtual
RISC. It is named in the honor of its developers, Alf-Egil Bogen and Vegard Wollan.
AVR is a RISC (Reduced Instruction Set Computer) based microcontroller architecture.
It was first produced by Atmel Corporation in the year of 1997.
The AT90S8515 was the first microcontroller developed based on the AVR
microcontroller architecture. AVR microcontrollers have simple instruction sets,
making them fast and efficient. The major advantages of AVR microcontrollers include
low power consumption, low cost, and high performance. We can use assemble
language as well as high-level languages like C, C++, etc. to program these
microcontrollers for a specific function.
AVR microcontrollers are widely used in several different applications like robotics,
home and office appliances, industrial automation systems, automobiles, etc.
What is PIC Microcontroller?
PIC microcontrollers come various pin configurations, typically ranging from 6-pins to
100-pins. They use an instruction set architecture that is based on RISC (Reduced
Instruction Set Computer). Therefore, PIC microcontrollers use simple instruction
sets, making them efficient and faster.
In order to program the PIC microcontrollers, we can use assembly language as well
as high-level language like C. PIC microcontrollers also have a vast community to
provide support and resources to developers.
After getting an overview of AVR and PIC microcontrollers, let us now discuss their
important differences.
Difference between AVR and PIC Microcontrollers