<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4642445683385838665</id><updated>2024-10-24T23:13:38.099+05:30</updated><title type='text'>Embedded System</title><subtitle type='html'>This piece of literature will introduce about embedded system. What it is and how it is different from general purpose systems.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pngsembedded.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4642445683385838665/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://pngsembedded.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>pngs</name><uri>http://www.blogger.com/profile/00390304439353046548</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnvANbNd2OnKk0EMJrOnGm6HYnIJGykZkAZV_1gvqBj1QhLcXp9833yWsEiKn_8wGaG3-ESa-FYdjaXJ40P_MsZhg0G5-cP61_25H78u4uJlNDwqM9aPEqEqQ22Xxi6w/s220/pngrobts.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4642445683385838665.post-1080501353037316246</id><published>2011-10-16T15:35:00.000+05:30</published><updated>2011-10-16T21:52:46.886+05:30</updated><title type='text'>Details on various components of embedded System.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After talking much about what embedded system is ? I want to go in detail for various components of embedded system.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Micro-controllers&lt;/b&gt;&lt;br /&gt;
Wikipedia
 says that: A microcontroller (sometimes abbreviated µC, uC or MCU) is a
 small computer on a single integrated circuit containing a processor 
core, memory, and programmable input/output peripherals. Program memory 
in the form of NOR flash or OTP ROM is also often included on chip, as 
well as a typically small amount of RAM.&lt;br /&gt;
A microcontroller is a 
single chip VLSI unit which though having computational capabilities, 
possesses enhanced input output capabilities and a number of on-chip 
functional units &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Micro-controllers are designed for embedded applications,
 in contrast to the microprocessors used in personal computers or other 
general purpose applications.&lt;br /&gt;
&lt;br /&gt;
A microcontroller is a single integrated circuit with following features:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Processors.&lt;br /&gt;
2. Internal RAM.&lt;br /&gt;
3. Timers and Watch dog timers.&lt;br /&gt;
4. External Memories interface.&lt;br /&gt;
5. Interrupt controller.&lt;br /&gt;
6. Internal flash/ROM.&lt;br /&gt;
7. Ports&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; i) I/O ports control and Interfaces/Drivers.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ii) Serial UART communication Port.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; iii) Serial Synchronous Communication Port.&lt;br /&gt;
8. Application specific circuits in Specific versions.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i) DMA controller.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ii) Network driver stack and interfaces.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; iii) A/D Converter.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; iv) CAN controller.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; v) PWM circuit for D/A. &lt;br /&gt;
&amp;nbsp; vi) Print Controller.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; vii) Modem.&lt;br /&gt;
&amp;nbsp;viii) DTMF circuit.&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
A microcontroller is used when a small or part of the embedded 
software has to be located in the internal memory and when on-chip 
functional units such as the interrupt handler, port, timer, ADC, PWM 
and CAN controller are required.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt;Processor&lt;/b&gt;&lt;br /&gt;
The &lt;b&gt;processor&lt;/b&gt; (called &lt;b&gt;CPU&lt;/b&gt;, for &lt;i&gt;Central Processing Unit&lt;/i&gt;)
 is an electronic circuit that operates at the speed of an internal 
clock thanks to a quartz crystal that, when subjected to an electrical 
currant, send pulses, called &quot;&lt;b&gt;peaks&lt;/b&gt;&quot;. The &lt;b&gt;clock speed&lt;/b&gt; (also called &lt;b&gt;cycle&lt;/b&gt;),
 corresponds to the number of pulses per second, written in Hertz (Hz). 
Thus, a 400 MHz computer has a clock that sends 400,000,000 pulses per 
second.&lt;br /&gt;
&lt;br /&gt;
With each clock peak, the processor performs an action that corresponds to an instruction or a part thereof. A measure called  &lt;b&gt;CPI&lt;/b&gt; (Cycles Per Instruction)
 gives a representation of the average number of clock cycles required 
for a microprocessor to execute an instruction. A processor power can 
thus be characterized by the number of instructions per second
 that it is capable of processing. &lt;b&gt;MIPS&lt;/b&gt; (millions of instructions per second) is the unit used and corresponds to the processor frequency divided by the &lt;i&gt;CPI&lt;/i&gt;.  
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is&lt;b&gt; Instruction ?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;niv1&quot;&gt;
An &lt;b&gt;instruction&lt;/b&gt; is an elementary operation that 
the processor can accomplish. Instructions are stored in the main 
memory, waiting to be processed by the processor. An instruction has two
 fields:

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;the &lt;b&gt;operation code&lt;/b&gt;, which represents the action that the processor must execute;
&lt;/li&gt;
&lt;li&gt;the &lt;b&gt;operand code&lt;/b&gt;, which defines the parameters of the action. The operand code depends on the operation. It can be data or a memory address.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;niv1&quot;&gt;
The number of bits in an instruction varies according to the type of data (between 1 and 4 8-bit bytes). 
&lt;/div&gt;
&lt;div class=&quot;niv1&quot;&gt;
Instructions can be grouped by category, of which the main ones are:

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Memory Access&lt;/b&gt;: accessing the memory or transferring data between registers.
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Arithmetic Operations&lt;/b&gt;: operations such as addition, subtraction, division or multiplication.
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Logic Operations&lt;/b&gt;: operations such as AND, OR, NOT, EXCLUSIVE NOT, etc.
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Control&lt;/b&gt;: sequence controls, conditional connections, etc.&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;When these instructions are executed the data is temporarily stored into small small, local memory locations of 8, 16, 32 or 64 bits called &lt;b&gt;registers&lt;/b&gt;. The number of registers depend upon type of processor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;niv1&quot;&gt;
The main registers are:

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;the &lt;b&gt;accumulator register&lt;/b&gt; (ACC), which stores the results of arithmetic and logical operations;
&lt;/li&gt;
&lt;li&gt;the &lt;b&gt;status register&lt;/b&gt; (PSW, Processor Status Word), which holds system status indicators (carry digits, overflow, etc.);
&lt;/li&gt;
&lt;li&gt;the &lt;b&gt;instruction register&lt;/b&gt; (RI), which contains the current instruction being processed;
&lt;/li&gt;
&lt;li&gt;the &lt;b&gt;ordinal counter&lt;/b&gt; (OC or PC for Program Counter), which contains the address of the next instruction to process;
&lt;/li&gt;
&lt;li&gt;the &lt;b&gt;buffer register&lt;/b&gt;, which temporarily stores data from the memory.&lt;/li&gt;
&lt;/ul&gt;
We will go in more detail about processors when I will solely write about microprocessors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt;Internal RAM&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;Internal RAM (IRAM) is the address range of RAM that is internal to the CPU. This memory is internal to CPU and is SRAM.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt; Watch dog timers&lt;/b&gt;&lt;br /&gt;
A watchdog timer (WDT) is a device or electronic device that performs a
specific operation after a certain period of time if something goes wrong with an electronic system
and the system does not recover on its own.&lt;br /&gt;
&lt;br /&gt;
A common problem is for a machine or operating system to lock up if two parts or programs
conflict, or, in an operating system, if memory management trouble occurs. In some cases, the
system will eventually recover on its own, but this may take an unknown and perhaps extended length
of time. A watchdog timer can be programmed to perform a warm boot (restarting the system) after a
certain number of seconds during which a program or computer fails to respond following the most
recent mouse click or keyboard action. The timer can also be used for other purposes, for example,
to actuate the refresh (or reload) button in a Web browser if a Web site does not fully load after
a certain length of time following the entry of a Uniform Resource Locator (URL).&lt;br /&gt;
&lt;br /&gt;
A WDT contains a digital counter that counts down to zero at a constant speed from a preset
number. The counter speed is kept constant by a clock circuit. If the counter reaches zero before
the computer recovers, a signal is sent to designated circuits to perform the desired action.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Interrupt controller&lt;/b&gt;&lt;br /&gt;
A special-purpose integrated circuit that functions as an overall manager in an interrupt driven system.  It accepts requests from the peripheral equipment, determines which of the incoming
requests is of the highest priority, ascertains whether the
incoming request has a higher priority value than the level
currently being serviced, and issues an interrupt to the CPU based on this determination.&lt;br /&gt;
&lt;br /&gt;
PICs typically have eight interrupt lines, and two PICs are
often cascaded to provide 15 available interrupt lines.&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Internal Flash&lt;/b&gt;&lt;br /&gt;
It is non volatile computer storage chip that can be electrically erased and programmed. Data can be written in small chunks but erasing is done block by block. This memory is created from E2PROM but is different from E2PROM in the way FLASH is erased.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ports&lt;/b&gt;&lt;br /&gt;
These ports used for transferring data or receiving inputs from some input device. These are used for communication it could be a asynchronous communication or it could be synchronous. &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Application specific circuits in Specific versions&lt;/b&gt;&lt;br /&gt;
Under this heading I will be explaining few components.&lt;br /&gt;
&amp;nbsp;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;DMA controllers:&lt;/b&gt;&lt;br /&gt;
Direct Memory Access (DMA) is one of several methods for coordinating the timing of data transfers between an input/output (I/O) device and the core processing unit or memory in a computer. DMA is one of the faster types of synchronization mechanisms, generally providing significant improvement over interrupts, in terms of both latency and throughput. An I/O device often operates at a much slower speed than the core. DMA allows the I/O device to access the memory directly, without using the core. DMA can&lt;br /&gt;
lead to a significant improvement in performance because data movement is one of the most common operations performed in processing applications. The DMA unit contains the necessary counters, offset registers, and pointers to transparently handle one-, two-, and three-dimensional data matrix transfers. These&lt;br /&gt;
registers can be given values that result in special addressing modes, for example, access to circular buffers and linear buffers with non-unit stride. The data structure dimensionality can be chosen independently for the source access versus the destination access involved in the data moves.&lt;br /&gt;
&lt;br /&gt;
To be continued ........ &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pngsembedded.blogspot.com/feeds/1080501353037316246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pngsembedded.blogspot.com/2011/10/details-on-various-components-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4642445683385838665/posts/default/1080501353037316246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4642445683385838665/posts/default/1080501353037316246'/><link rel='alternate' type='text/html' href='http://pngsembedded.blogspot.com/2011/10/details-on-various-components-of.html' title='Details on various components of embedded System.'/><author><name>pngs</name><uri>http://www.blogger.com/profile/00390304439353046548</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnvANbNd2OnKk0EMJrOnGm6HYnIJGykZkAZV_1gvqBj1QhLcXp9833yWsEiKn_8wGaG3-ESa-FYdjaXJ40P_MsZhg0G5-cP61_25H78u4uJlNDwqM9aPEqEqQ22Xxi6w/s220/pngrobts.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4642445683385838665.post-8382649010382967775</id><published>2011-09-25T09:11:00.000+05:30</published><updated>2011-10-26T09:59:05.832+05:30</updated><title type='text'>Introduction</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-7235255022629404&quot;;
/* add 1 */
google_ad_slot = &quot;4558081254&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;What is Embedded
system:&lt;/u&gt;&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
This basic question comes to our mind when we hear word
Embedded system. I know that you too love embedded as I do that is why you are
here. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Embedded Systems is a special purpose computer system/board,
which encapsulates all the devices such as processor, memory, interface and
control in single package or board to perform only a specific application tasks.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
You will think that my desktop or my Laptop can also
do specific task if I program them for the same. Yes you are correct they can
do but can you imagine your desktop sitting on microwave and baking pizza for
you or can you see your laptop connected with your car/motor bike engine and monitoring it
when you are riding on air. Now a days what ever gadget you see you can think
of embedded systems sitting inside it and performing special tasks for you and making your life easy.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
The various general examples from our day to day life are: &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. Digital camera.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
2. LCD, LED or any TV.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
3. DVD players&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
4. Microwave oven.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
5. Washing machine.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
5. Mobile phones&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
6. Car and Motorcycle.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
7. Refrigerator. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
8. Medical equipments.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
9. Video game consoles.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
10. Security application.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
These are only few general life examples which we find around
us. The field of use for embedded systems is very vast.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
If you have some what knowledge of electronics and if you
open any of embedded systems equipment or gadget you will see that it is very
small unit but it is not much simple as of its size. It comprises of Various
Components.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
If we go by the definition which I have given above then it
is comprised of following components.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. Processor&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
2. Memory (On-chip and Off-chip)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
3. Actuators&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
4. Sensors&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
5. Converters&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
6. Communication path with environment&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
We will learn about them in detail one by one but before
that I want to finish my definition first. Something which is missing in that definition
is that it says nothing about software embedded inside memory of the unit. Is
discussion about software obvious ? &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Yes it is as it contains all the logic and instructions to
be given to the components mentioned above. If all these components constitute
the body of embedded systems then software is the soul. So now we can broadly
divide embedded system in two parts&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. Hardware &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
2. Software.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hardware comprises of all the components listed above.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
So our new definition becomes.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
An embedded system is combination of hardware and software designed
to perform dedicated function. This embedded system could be an independent
single unit or it could be a part of larger system.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;OR&lt;br /&gt;
An embedded system is a system that has embedded software and computer-hardware,which makes it a system dedicated for an application(s) or specific part of an application or product or a part of larger system.&lt;br /&gt;
&lt;br /&gt;
Tim Wilmshurst author of An introduction to Design of small scale Embedded Systems with examples from PIC, 80C51 and 68HC05/08 micro-controllers:&lt;br /&gt;
An embedded system is a system whose principal function is controlled by a computer embedded within it. The computer is likely to be micro-controller or microprocessor. The word embedded implied that it lies inside the overall system , hidden from view, forming an integral part of[the] greater whole.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Component of General purpose Computer&lt;br /&gt;
&lt;br /&gt;
A computer is a system that has the following or more components.&lt;br /&gt;
1. A microprocessor.&lt;br /&gt;
2. A large memory of the following two kinds:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; (a) Primary memory(semiconductor memories)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i) Random Access memory RAM.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ii) Read only memory ROM. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iii) Fast accessible caches.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; (b) Secondry memory&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i) Magnetic memory located in Hard disks, diskettes and cartridge tapes.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ii) Optical memory in CD-ROMs or memory sticks(in mobile computers)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using which different users can be loaded into the primary memory and run&lt;br /&gt;
3. IO units such as touch screen, modem fax cum modem etc.&lt;br /&gt;
4. Input unit such as keyboard, mice digitizer, scanner, etc.&lt;br /&gt;
5. Output unit such as an LCD screen, video monitor , printer etc.&lt;br /&gt;
6. Networking unit such as and Ethernet&amp;nbsp; card front-end processor-based server, bus drivers &lt;br /&gt;
7. An Operating system that has general purpose user and application software in the secondary memory.&lt;br /&gt;
&lt;br /&gt;
An embedded system is system that has three component embedded into it:&lt;br /&gt;
1. It embeds hardware similar to a computer. Figure below shows the units in the hardware of an embedded system: As its software usually embeds in the ROM or flash memory, it usually do not need a secondry hard disk and CD ROM as in a computer.&lt;br /&gt;
2. It embeds main application software. The application software may concurrently perform a series of tasks &lt;br /&gt;
&amp;nbsp;or processes or threads.&lt;br /&gt;
3. It embeds a real time operating system RTOS that supervises the application software running on hardware and organizes access to a resource according to priorities of the task in the system. It provides a mechanism to let the run a process as scheduled and context-switch between the various process.&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Characteristics.&lt;/b&gt;&lt;br /&gt;
An embedded system is characterized by trhe following:&lt;br /&gt;
1.Real-time and multirate operations define the ways in which the works and reacts to events, interrupts or schedules the system&#39;s functioning in real time. It does so by following a plan to control latencies and to meet deadlines.(Latency refers to waiting period between running the codes of task or interrupt service routine and instance at which the need for the task or interrupt service routine and the instance at which the need for the task or interrupt from an event arises). The different operation may take place at distinct rates. For example, audio, video, data, network stream and events have different rates and time constraints.&lt;br /&gt;
2.Complex algorithms &lt;br /&gt;
3.Complex graphic user interfaces and other user interfaces.&lt;br /&gt;
Dedicated Functions.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Constraints:&lt;/b&gt;&lt;br /&gt;
An embedded system is designed keeping in view three constraints &lt;br /&gt;
1. Available system-memory&lt;br /&gt;
2. Available processor speed &lt;br /&gt;
3. The need to limit power dissipation when running the system continuously in cycles of &#39;wait for events&#39;,&#39;run&#39;,&#39;stop&#39;,&#39;wake-up&#39;&amp;nbsp; and sleep.&lt;br /&gt;
The system design or an embedded system has constraints with regard to performance, power, size and design and manufacturing costs.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
An embedded system is typically required to meet very
different requirements than a general purpose personal computer. We can also
get our task done with general purpose computer system but the difference lies
in cost and power consumption. There are various characteristics which are
common to every embedded system.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. Low cost&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
2. Low power.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
3. Higher performance.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
4. Real time property.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Classification of embedded system.&lt;br /&gt;
1. Small scale embedded sytem.&lt;br /&gt;
2. Medium scale embedded system.&lt;br /&gt;
3. Sophisticated embedded system.&lt;br /&gt;
&lt;br /&gt;
Small scale embedded system.&lt;br /&gt;
1. 8 bit or 16 bit micro-controller.&lt;br /&gt;
2. Hardware and software complexity is small.&lt;br /&gt;
3. Usually developed in&amp;nbsp; c or assembly.&lt;br /&gt;
4. System keeps on running continuously.&lt;br /&gt;
&lt;br /&gt;
Programming tools: editor, assembler and cross assembler.&lt;br /&gt;
&lt;br /&gt;
Medium scale embedded system.&lt;br /&gt;
1. 16 or 32 bit micro-controller.&lt;br /&gt;
2. Digital signal processors ( DSP ).&lt;br /&gt;
3. Reduced instruction set ( RISC ).&lt;br /&gt;
4. Hardware and software complexity.&lt;br /&gt;
&lt;br /&gt;
Programming tools: RTOS, Source code engineering tools, Simulator, debugger and IDE.&lt;br /&gt;
&lt;br /&gt;
Sophisticated Embedded system.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. Enormous hardware and software complexity. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
2. These may need several several IPs and ASIPs, scalable processors or configurable processors&lt;br /&gt;
and programmable logic arrays.&lt;br /&gt;
3. They are used for cutting age applications that need hardware and software co-design and components that have to be integrated in the final system.&lt;br /&gt;
4. They are constrained by the processing speeds available in their hardware units.&lt;br /&gt;
&lt;br /&gt;
Programing tools: For these systems programing tools may not be available at a reasonable cost or may&amp;nbsp; not be completely available.&amp;nbsp; &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pngsembedded.blogspot.com/feeds/8382649010382967775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pngsembedded.blogspot.com/2011/09/introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4642445683385838665/posts/default/8382649010382967775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4642445683385838665/posts/default/8382649010382967775'/><link rel='alternate' type='text/html' href='http://pngsembedded.blogspot.com/2011/09/introduction.html' title='Introduction'/><author><name>pngs</name><uri>http://www.blogger.com/profile/00390304439353046548</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnvANbNd2OnKk0EMJrOnGm6HYnIJGykZkAZV_1gvqBj1QhLcXp9833yWsEiKn_8wGaG3-ESa-FYdjaXJ40P_MsZhg0G5-cP61_25H78u4uJlNDwqM9aPEqEqQ22Xxi6w/s220/pngrobts.png'/></author><thr:total>0</thr:total></entry></feed>