Professional Documents
Culture Documents
1.1 Introduction
In order to know the meaning of CPU or the way to troubleshoot it. You must
know the physical and mechanical concepts of PC. PC or personal
computer is a small digital device made out of Microprocessor chip and
designed especially for the use of individual person. PC is not a single
device. It is the combination of different components and devices. Before we
start troubleshooting a PC we must understand these different devices.
In this unit you will study one of those devices in detail and learn how to
troubleshoot. You may feel amused to read the word troubleshooting without
knowing the meaning of it. Troubleshooting is way of detecting the problem
in the PC or the cause of the problem and fixing the problem so that the PC
can function according to needs of the user. This problem may be from any
of the components of the PC. Since all these components are interrelated
the failure in one device may cause the whole system stop working or work
haphazard. Troubleshooting is a technique to solve this problem and make
the system work appropriate. The different components of PC are CPU,
motherboard, memory, hard drives, monitor, ports, adapter USB, etc. which
you will be studying one by one in later units. In this unit you will learn how
to trouble shoot the CPU which is an essential part of a computer. In fact, it
functions as a brain to the system. We often consider CPU to be a synonym
for cabinet. However, you should keep in mind that there is a vast
difference between the two. The CPU is the controller while the cabinet is a
component that holds CPU and memory along with BUSes for data flow.
Integrated circuit technology has realized the importance of Central
Processing Unit (Processor) as it is expected to perform three major
functions. They are mathematical calculations, logical comparisons, and
data manipulation. Though the concept of central processing is not new, it
was only after the integration of central processing functions on to a single
silicon chip, that it became well known as CPU. In the mid-1970s, this single
silicon chip referred to as microprocessor chip, was instrumental in
enhancing the speed and performance of the computer greatly.
In order to become an effective tekkie (techie) you should know the
essential components of CPU. You should also know the important
specifications of CPU and its features. This unit will not only give you an
insight into the evolution of CPU and its capabilities but also help you to
learn how to solve the problems that reside in microprocessor operations.
Manipal University Jaipur B1416 Page No.: 2
Understanding PC and Troubleshooting Unit 1
Objectives:
After studying this unit, you should be able to:
Identify the essentials of CPU
Find out the different concepts of modern CPU
Categorize and describe in detail the Intel CPUs
Explain CPU overclocking
Perform overclocking of the different Processors
The Address BUS: This BUS is used to define address in the CPU. It is
also called as memory BUS. The Address BUS does not carry the actual
data but carries the specific address of that particular data. The address
BUS measures the data in terms of address lines. For example, the CPU
with address lines= 10 may have address 210 = 1024 bytes. The “A” prefix
(A0, A1, A2, A3 … An). is generally used to represent address lines.
The Control BUS: This BUS is also called as timing and control BUS. It
is used to control and coordinate the CPU operations. The various
signals are read, write, interrupt, and acknowledge; parity checking,
cache operation and power control and management.
Table 1.1: Difference between the three BUSes
CISC RISC
CISC chips are relatively slow RISC chips are comparably faster
Use less instructions Comparatively use more instructions
Use large and complex instructions Use fewer, simpler and faster instructions
Comparatively costlier Cheaper
Use many new transistors Use fewer transistors
Versatile processing Less versatile
Low performance due to the use of Faster CPU performance
more number of transistors
1.3.2 Circuit size and Die size: Circuit size is like scaling the processor
model or drawing the miniature of the processor. In order to make powerful
processors more transistors, which are smaller, are required. Therefore,
circuit size is made smaller with the help of integrated circuit fabrications.
The maximum shrinking can be done up to 1 micron but the recent
processors can use even as less as 0.18 micron circuit size.
The Die size is the physical surface area, which means the area of the chip
and measure in square millimeters (mm2). It is the term used for wafer made
out of silicon. Smaller the size of the wafer the closer the component
arranges which increases performance. Smaller die size will also help in
getting more chips on single wafer and reduce the manufacturing cost and
also relatively reduce power consumption.
1.3.3 Processor Speed:
The processor speed depends upon different factors like, circuit size, die
size, processor type, type of chip used, instructions set, etc. On observation
you will find that all these factors are interlinked to one another.
Essentially the processor design has its effective role in which it has to
specify the internal time requirements that the maximum limit does not
exceed the speed, which the chip can handle.
You will find that the manufacturing factors like circuit size and die size
as mentioned above will have its influence on the speed.
Smaller the chips faster will be the processing speed due to shorter
signals flow and less power consumption.
Heat is also an important factor that affects speed. As the chips get over
heated, it locks itself, thus slowing down the processor.
Due to some manufacturing differences, the quality of the process varies
even after the product is manufactured in the same process.
1.3.4 Processor Cooling:
Each of the millions of transistors liberates small amount of heat every time
they are switched on or off. The heat thus generated will give rise to many
serious problems in the processor like system crash, unexpected rebooting,
lockups etc. This sometimes results in memory errors, application errors,
disk errors etc. Although repeated overheating of processor may rarely
result in permanent damage, it is difficult to identify these kinds of problems.
These days processor cooling has become a major concern for computer
hardware manufacturers. Unlike earlier processors, nowadays processors
use more numbers of transistors which liberate tremendous amount of heat.
Therefore to cool the processors special cooling methods have to be
adopted the processors are usually cooled by active heat sinks. An active
heat sink is made up of fans which are mounted on a metal sink with the
help of fins. However, the problem with an active sink is that when the fans
stop working then the heat generated by processor will be very high.
Therefore tachometers are integrated into it to raise an alarm in case of
accident due to heat damage. This warning will help in addressing fan
failure issue immediately.
1.3.5 System Clocks:
A system clock is used to drive the circuits in the PC. The smallest unit of
time in which the processing takes place is known as one cycle. The unit to
measure it in terms of frequency is MHz. In older PCs there used to be only
one system clock to drive the processing. However, modern PCs use many
such clocks (may be four or five) for processing; each of them running at
different speeds. System clock is referred to the speed of the memory BUS
running on the motherboard.
In order to generate the system clock, a single clock generator circuit is
used to create different clocks and then various clock multiplier or divider
circuits will create the clock signals for these clocks.
Table 1.3 gives you the detailed arrangement in clocks in 266 MHz Pentium
II PC and the relationship that exists between them.
Table 1.3
Device/BUS clock Speed (MHz) Generated as
Processor 266 System Clock * 4
Level 2 Cache 133 System Clock * 2
(or Processor / 2)
System (Memory) BUS 66 1 system clock
PCI BUS 33 System Clock / 2
ISA BUS 8.3 PCI BUS / 4
The entire system speed relates to the speed of the clock system. This is
Hence, for faster system
why it is very important to increase the speed of the system clock rather speed, both (system
clock as well as
than the speed of the processor. This is because whatever the speed of the processor speed) must
processor it has to sit idle until the completion of the other slower part of the be fast.
system.
1.3.6 Architectural Performance Features: Each time you boot the system
you assume that the system performance improves. Hence, research on this
feature continues with the designer trying to find ways to enhance
performance. The different features of performance enhancement are as
follows:
Superscalar Architecture: This architecture implements a base for
parallel computing. This is the measure of the number of operations
executed in a computer simultaneously. This is called Instruction level
parallelism. The main capability of CPU is to allow multiple executions.
This helps CPU to process many instructions simultaneously with every
clock cycle. This is super scalar architecture. For example, the Pentium
pre-processor uses two execution pipelines at the same time; this is
multiprocessing within the CPU itself.
Pipelining: Pipelining a technique to construct faster CPUs. Using
pipelining you can execute more than one operation at a time. When
one instruction is already in execution state, the pipelining allows
another instruction to start execution while the first instruction is still
being executed. This helps in working out many instructions in the same
clock cycle. In this way, CPU uses its resources in a better way rather
than sitting idle. Some instructions may take 2-3 clock cycles to
complete the execution and while some complex instructions may take
1.4 Processors
If you observe the evolution of the CPUs, you will realize that the change
from one generation to the other is not one of just average development but
rather a tremendous change in technology with more emphasis on greater
performance, execution, efficiency, raw speed, and data through input and
design enhancements. This section will help you understand the panorama
of the Intel microprocessors’ evolution and also aid you in comparing their
current characteristics.
1.4.1 Intel 8088/8086
This was introduced during 1978-1979. The microprocessors 8088 and
8086 are similar except that 8088 uses 8 bit BUS and 8086 uses 16-bit BUS
for data transfers. Though 8086 was the first processor, it did not become
popular because by the time it was launched, 80286 was introduced.
Table 1.4: Categories of processors
Table 1.4 (a) General Information
Manufacturer Intel
Family Name 8086
Processor Generation First
Motherboard Generation First
Introduced in June 1978
Versions 8086 / 8086-8 / 8086-10
Table 1.5
Table 1.5 (a) General Information
Norton SI ~15/~20/~25/35/~43
sockets. The original Pentium 60 and 66 use Socket 4 while Pentiums from
75 to 133 fit in either socket 5 or socket 7. Pentium 150s, 166s and 200s
require Socket 7. Intel makes Pentium Overdrives that allow the use of
faster Pentiums in older Pentium sockets (in addition to Overdrives that go
in 486 motherboards). Pentium has the following features
It is the first superscalar processor. It uses two parallel execution units
and helps in pairing with 80486 series on the single chip so that it can
make the processor more accurate. This is partial super scalar since the
second instruction cannot complete its execution before the first one. It
is sometimes referred as the Pentium optimization.
Most of the Pentiums run on faster memory BUS. This greatly improves
performance. Pentium motherboards also incorporate other
performance- enhancing features, such as pipelined burst cache.
Pentium provides Wider Data BUS by doubling the data BUS to 64 bits
and doubling the bandwidth that manages the to and fro movement of
data from the memory.
The Pentium uses a split-level 1 cache, 8KB each for data and
instructions. The cache is split so that the data and instruction caches
can be individually tuned for their specific use.
When branches are encountered the Pentium uses branch prediction to
prevent pipeline stalls.
SMM: System Management Mode
All Pentiums have built in SMM power management.
The floating-point unit of the Pentium is improved so that it is faster than
that of the 80486.
Overdrive processors have settings and features that make it useful in older
machines. They are:
Integrated voltage regulators are added whenever there is need so that
they can work in the voltage of the socket they are intended to work
with.
They have the right pin configuration for the socket.
They are hard-wired to a specific clock multiplier; they do not set their
multiplier based on motherboard jumpers as regular Pentiums do. This
saves the user from worrying about what jumpers to change when
replacing the processor.
Intel Core 2 has three versions of itself. They are Core 2 solo, Core 2 Duo,
Core 2 Quad.Core 2 Solo could handle the single core processor. Core 2
Duo can handle dual core processors on a single chip, and Core 2 quad can
handle two chips and each chip consists of 2 Core. Therefore in a package
of 4 Core was arranged in a multi-chip module.
Atom has been classified into two versions as Single core and Dual core.
Activity 1:
Consult the network administrator of your organization and find out the
different processors used in it. Also, find the features and analyze the
differences between them.
when CPU is not able to run reliably in one clock speed. However, the heat
produced should be taken care of by using cooling agents.
speed. Therefore, first it will try to increase the FSB. This increases the
speed of PCI and AGP. These cards are built with greater tolerances.
To overclock you need to do the following
1 You need to have rights to adjust the clock multiplier, FSB, and core
voltage, which depend upon the model of the processor.
2 You need to check the cooling capability of the processor if necessary
you need to improve the cooling feature.
You will notice that Pentium II/III machines are not tolerant for overclocking
when compared to Celeron, though you can carry out experiments by
making small increments. You need to note that in order to increase the
FSB speed you require to reduce the clock multiplier on your systems.
In general overclocking immediately voids any processor warranty.
Adequate preparation and precautions are an absolute requirement before
attempting to overclock any processor. You should have a dependable
method of monitoring processor temperature, along with additional cooling
resources installed on the system.
Activity 2:
Try to collect an old CPU and increase its performance through
overclocking.
1.6 Summary
In this unit, you have studied about the different essentials of CPU. We
discussed about the BUSes and processor modes. You have also identified
the different concepts of modern CPU like CISC vs. RISC comparison of
circuit size and die size; importance of cooling the processor, system clocks;
packing the processor; and features of architectural performance. This unit
has also explained the evolution of Intel CPU and different Intel processors
like Intel 8088/8086, Pentium Pro processor, MMX technology, Pentium II,
core 2 processor and AMD processors. Apart from this we have discussed
1.7 Glossary
Term Description
CISC Stands for Complex Instruction Set Computer. CISC is used to
handle many instructions in the CPU.
RISC Stands for reduced instruction set computer. Which handle fewer
instructions in the CPU?
Intel It is the world’s largest processor manufacturing corporation,
which has made trademark in processor market.
MMX Stands for multimedia extension, which is used to support
multimedia application in the CPU.
Circuit size It is the miniaturization of the processor. In order to make
processor more powerful large number of transistors are used.
Die size It is the physical surface area size on the wafer. This is measured
in square millimeters.
Overclocking It is the unusual method of running CPU @ the speed more than
the actual rated to increase the performance.
1.9 Answers
Self Assessment Questions
1. Control
2. Protected
3. Timing and control
4. True
5. Multiprocessing
6. Multimedia
7. 8,16
8. 1.0
9. DIP socket
10. DX, SX
11. a. True
b. False
12. Change in BUS speed, Change the multiplier, Change the voltage
supply.
13. Motherboard Characteristics
14. Front Side BUS
Terminal Questions
1. Refer Section 1.2: CPU essentials
2. Refer Section 1.3.1: CISC Vs RISC CPUs
3. Refer Section 1.3.6: Architectural Performance features
4. Refer Section 1.4: Intel CPUs
5. Refer Section 1.4.4: Fifth Generations Processors
6. Refer Section 1.5.1: Overclocking requirements
7. Refer Section 1.5.3:Overclocking the system
8. Refer Section 1.5.4: Overclocking the Intel Processors
References:
PC Upgrade & Repair Black Book (W/Cd) by Ron Glister
E-References:
o www.pcguide.com
o http://www.hitequest.com/Kiss/risc_cisc.htm
o http://www.cs.virginia.edu
o www.amd.com
o www.ami.com
o www.overclockers.com/home.asp
o www.viatech.com
o www.intel.com
o www.CPU-central.com
2.1 Introduction
In the previous unit we discussed about the central processing unit and its
essentials. As you are aware a computer cabinet is made up of three major
components namely, arithmetic and logic unit (ALU), the Central processing
Unit (CPU) and the memory; all these components playing a vital role in the
performance of the computer system. Therefore, it is important for these
components to work without error. The close relationship between memory
and the CPU provides the basis for the processor’s performance. In order to
increase the processing power, larger and larger software modules were
introduced. This led to sharp demands in the improvement of memory
performance. Thus, these demands gave rise to various types of memory
like video memory (VRAM), pipeline burst cache, traditional DRAM,
Objectives:
After studying this unit you will be able to:
Describe the organization of the memory
List and explain various considerations of memory.
Perform the selection and installation of the memory
Resolve the problems through troubleshooting
can be different from physical address space. The data can be organized in
different ways with different classification of computer memory. In the
course of upgradation of the CPU and chipsets, there has also been an
improvement in the capabilities of the memory. Recent chips are capable of
addressing 4GB of system memory. This improvement has proved
microprocessors to be better unlike earlier PCs with 8088 processors which
could address not more than 1GB of memory. This has made
microprocessors stronger than any typical software applications.
Whenever there is upgradation of new memory there must be a proficient
compatibility with the old memory. This has to co-relate with the limitations
and the needs of the computer users. The old system may have a lot of
limitations and drawbacks. The new system comes with a facility to
overcome the inherent limitations of the old memory by different ways of its
use and hardware and software selection.
The use of computer memory is classified under the following types:
Conventional
Extended
Expanded memory
Conventional memory: Conventional memory is that part of the
memory which is used to perform standard DOS programs. The first
640KB memory is considered to be conventional memory. The name
indicates that it has been used in DOS to run DOS programs. Although
there is 1MB of address space in the DOS memory which is called real-
mode memory or base memory, only 640 KB is available for
conventional memory because the initial 384 KB is reserved for system
use which is called upper memory. Previously the original PC provided
only 512KB for DOS program, but in recent evolution another 128KB
has been added.
Upper memory area: This is one of the key factors to enable free
place for conventional memory. This is one of busiest places in the
memory and often creates confusion in its organization. This
memory is also called High DOS Memory Range. DOS command
(MEM /C /P) is used to see the amount of memory used in
conventional memory and what is free. The conventional memory is
separated from the other usable memory of the PC and is called
The SIMM is so placed inside the motherboard that the sockets ensure
that it holds tightly when once inserted in the motherboard. This is done
by inserting the socket at an angle of about 60 degree from the
motherboard and then moving upwards so that it represents L shape or
is perpendicular to the motherboard. This can be fitted with the help of
metal clips. It should be kept in mind that SIMM once inserted cannot
be installed backwards.
The advantage of SIMM is standardization. That is, with the help of
standard pin architecture it can be transported from one PC to another
PC very easily.
4. Thus with the help of memory modules it is possible to increase the size
and performance of the memory.
1BOOK: Troubleshooting, maintaining & repairing PCs, fifth edition by StephenJ.Bigelow, Tata McGraw
Hill Education private limited.
memory process needs to tell the memory to wait then it needs to insert a
clock cycle. This gives additional time to memory to operate. Generally one
wait state is used in today’s PC. The older PCs may use two-three wait
states. Therefore we observe that as wait state increases the performance
of the system decreases. The systems with zero wait state are considered
to allow optimum performance which is ideal in nature. The use of wait
states help in supporting the old systems to process. There are three ways
of selecting wait states:
The number of wait states may be fixed
The wait states may be selected by keeping one or two jumpers in the
motherboard.
Keeping the wait state control in the SMOS setup routines.
2.3.2 Memory types: Memory types are broadly divided into ROM and
RAM.
ROM: As the name indicates Read Only Memory is a integrated circuit chip
that allow the user only to read and not to edit or modify the data inside it. It
is also called as firmware. This gives us the nonvolatile memory in which
data security is guaranteed, i.e. once the power cut off any failure occurs
data is not lost. Due to the embedding of programmes data is not erased or
neither be changed. But the disadvantage with ROM chip is once the data is
stored by the manufacture it cannot be erased. While creating the
programes to embed if any mistake occurs then correcting that mistake is a
heavy risk and costly. There were different types of ROM available in a
course of time to overcome this difficulty which allowed to an extent to
rewrite the content in the memory or reuse the memory.
They are
PROM: In Programmable Read-Only Memory, you can write the data only
once into it. We cannot erase or modify the data once entered into PROM.
EPROM: In erasable read-only memory, you can erase the data and
overwrite the data into it. But you cannot keep or delete the part of old
content and add new. Entire data is deleted and new content is added into
the EPROM.
EEPROM: In electrically erasable programmable read-only memory, you
can edit/modify or delete a part of data and use it for storing the data. These
PROMs are also called as flash memory.
Please note in all the types of ROMs the data is electrically burnt into the
circuit. This will be very difficult to use when we need to do large amount of
addition deletion operation to a single stored data with increase in the
development of processor and its upgradation.Due to the advance in the
speed of the processors, the CPU is becoming more and more specialized
with specific functions of the PC.
RAM Due to this advancement withina short timethe CPU will encounter many of
the types like EDO, BEDO, DDR SDRAM, DRAM, EDORAM (extended data
output), EDRAM (enhanced DRAM), SRAM (static Radom Access Memory),
Cache memory, etc which is explained in detail below.
EDO RAM: Extended Data Out RAM extends the validity time of the
output. So the meaning of extended implies the data bus can keep the data
bit in it for a longer period. This needs modification in the output buffer which
can create time for the validity of the data bit. That means the data should
be alive until it is read by the recipient. Although EDO accesses the memory
faster than earlier conventional memory actually there is only a slight
difference. Some of the older systems will work very slowly with EDO and
others might not at all support EDO. The problem with EDO is that it
requires the system chipset support for its slower performance.
BEDO RAM: Burst Extended Data Output RAM is the extended versions
of EDO RAM which was developed to read large blocks of data bits than
EDO RAM. This reads the data in one burst. That means that the CPU can
read the BEDO data in five consecutive memory locations in five clock
cycles i.e. 5:1:1:1 pattern which means five cycles for memory address and
1 cycle each for the addresses. However these days BEDO is not used
much due to the difficulty in supporting motherboards above 66MHz.
DRAM: Dynamic Random Access Memory is mostly used by the PCs for
their system’s Main memory. It is called dynamic because it is continuously
refreshed using the refresh circuitry and holds the data. It uses single
capacitor and transistor to hold the data bit. DRAM is simpler and cheaper
because it is made up of only one capacitor and transistor. However, the
problem with DRAM is that the capacitor holds the data for a very short time
and needs to refresh with the help of refresh circuitry before the content
fades away. Otherwise there is a loss of content.
SRAM: Static Random Access Memory is used to hold data that can stay
for a longer time without the need of refresh circuit. It holds data bit as long
as current supply exists in the circuit. This type of memory is used whenever
there is need of fast memory especially in case of cache memory. SRAMs
are known for their simplicity and speed. But at the same time SRAMs are
comparatively very expensive and small. Therefore they are used wherever
there is need for faster memory. They are also used in level 1 and level 2
cache memory. Cache memory is extensively faster and not very large.
SDRAM: Synchronous DRAM is the rapidly growing memory type as a
new standard. This is very much different from other types since it is
connected to the system clock and able to read and write in burst mode at
the rate of 1 clock cycle per data bit. The pattern followed is 5:1:1:1 which
you have discussed in the BEDO type but it can support up to 100 MHz. It
is specially designed for higher operating speeds. This type is relatively
unique in its technology and rated in Nano seconds. This is because
SDRAM offers the second burst before the current burst completes. This
continuous access will speed up the system processor and increase the
performance.
DDR SDRAM: Double Data Rate SDRAM is an improvement over
SDRAM. Its functions are similar to SDRAM but it supports more bandwidth
by transferring twice data bit per cycle i.e. it transit from 0 to 1 and again
back to 0. Therefore the data bit read is twice per cycle. Thus there exist two
end points called rising edge and falling edge. In the other types of memory
any one of these edges are triggered. Only in DDRSDRAM both the edge
signals are used.
EDRAM: Enhanced Dynamic Random Access Memory is a DRAM in
which small amount of SRAM is embedded inside the large amount of
DRAM so that the memory access can be made faster by embedding two
memory into one. This avoids using the external cache memory. This can be
used as Level 1 and Level 2 cache and also known as cached DRAM or
CDRAM. EDRAM acts like a page mode memory i.e. if the read requests
are available in the cache then the data can be accessed in 15
nanoseconds otherwise if it is not available then the data is read by the
DRAM portion and it takes 35-40 nanoseconds to access the data from the
memory. That means if the data has to be accessed very fast then the data
request must have been repeatedly made.
2.3.3 Memory techniques: For all the above reasons when you choose the
architecture of the memory you should select it in such a way that its
performance is not affected by the expense. It is wiser for youto use the
inexpensive and existing memory types in the architectures which is well
defined with the help of memory technologies. The most commonly found
architectures in all the systems are:
Paged memory: It is technique in which the data is transferred from
secondary memory to main memory. In this the data is retrieved from the
secondary storage in the form of pages. Pages are the blocks of same size.
Paging allows the CPU to use the free address space which are randomly
available in the memory. This memory makes partition of the RAM into
smaller groups or pages of size 512 KB or a bit more. If the access takes
place in the current page it can accomplish the access within zero wait
state. If simultaneously accesses occur outside the current page then one or
two wait state can be allowed until that particular page is found. If you
observe carefully, you will find that this architecture works very similar to
fast-page mode DRAM which you discussed in the earlier section. This type
of architecture is used on high end i286, PS/2 models and i386 systems.
Interleaved memory: Unlike paged memory, interleaved memory is the
combination of two bank memory. That means when the first memory is
performing some process the second is reading the data of another process.
For example, if you need to install two memory modules then you will find
that while one module is accessing, the other module is being read.
Performance is better in interleaved memory because of the combination.
Memory cache: These are the very fast memory that is used by the
CPU to run programs that are used very frequently or repeatedly in
software. This involves faster execution of the programs and less time
taking in reading the instruction set. This is as mall memory which is very
fast and acts between the CPU and RAM. RAM generally operates in 5ns-
15ns which is fast enough to process CPU in zero wait states. The content
which is read on the motherboard is copied on to the cache. When the
memory is read it first reads from cache to cache if there is any content
present in it. If the content is not present in the cache memory it is called
cache miss. Then it can search in the DRAM for the content with one or
more wait states. Cache memory can be classified into two levels as internal
cache and external cache.
Shadow memory: Shadow memory is a technique in which data is
transferred from ROM to RAM creating a copy of the data. ROM devices are
comparatively very slow and the access time takes several nanoseconds.
Therefore in turn it increases number of wait states used in access. This
automatically decreases the potential performance of the system. In shadow
memory the content is loaded form ROM to RAM. So when ever content in
the ROM need to be accessed, it can be accessed from the faster RAM
memory or shadow memory rather than accessing from the real ROM.
Activity 1:
Collect some old processors and try to find out the different types of
modules adopted by them and list out the advantages and disadvantages
in their performance.
2.4.1 Getting the right amount: The question often asked is, what is the
amount of memory required. The answer is that more memory is required to
increase the CPU performance at any given time. Getting memory and
installing would never be a problem if its cost is less. Here the problem with
cost is related to the SDRAMs; memory hard drive as well as memory is too
high compared to all the rest. Also, too much of memory installation results
in dead investment on the resource that remains idle. Also we cannot install
very little memory and take the result of low performance in accessing which
results in swapping the file from here and there to make memory location
free for the current task.
We must have enough memory in hand for the system. But it is difficult to
define how much is enough Due to the transformation in the PC industry the
defining of memory amount varied from one generation to other generation
systems. In today’s system, you need a minimum of 64MB of memory for
processing and it could vary from 64MB -128MB for general purpose home
and office PCs. The industry is now using up to 1GB of RAM in the systems.
2.4.2 Filling Banks: The amount of memory that is enough to fit the bit
width of the data bus is called memory bank. The size of the memory in MB
does not matter until the entire bank is filled. The major requirement of the
bank mainly depends on three components. It is not sufficient to just have it
installed. The three components are memory amount, memory matching,
and bank order. The entire bank must be filled by the sufficient amount of
memory. For example if the Pentium system has bank 0 filled with 8MB
then, you must store another 8MB in bank 1 for the sake of processing. The
modules must have the same size and speed in the bank. This is called
memory matching. Bank is added with memory modules; each memory
module has the same speed and shares the same memory configuration.
Some memory modules are so configured that module based system have
their own requirements. If it does not have correct speed, type, size and
RAM technology, the system fails to recognize the module. Note the
following points regarding DIMMs for the installation:
If the system has two identical DIMMs, then you can install them in
either bank 0 or bank 1
If the system has two DIMMs with different sizes, install the larger DIMM
in bank 0 and smaller in bank 1.
If the system has identical size and one single sided and one is double
sided, then you install single-sided DIMMs in bank 0 and double-sided
DIMMs in bank 1.
There is one more important component called bank order. You can fill the
data bits in bank 0 and when it is filled then you can start filling bank 1, bank
2 and so on. If you don’t fill bank 0 but fill bank 1, then your PC will not
identify the RAM chip which has been additionally installed.
Activity 2:
Suppose you are a network administrator and need to take decision on
memory upgradation. Write a brief note on how you will take a decision on
buying a new system or adding more memory.
2.5 Troubleshooting
By now you must be familiar with different considerations of memory. You
must have understood how to select and install the memory. In spite of the
best devises used they are prone to failures sometimes. The reasons may
be accidental static discharge during installation, incorrect installation, a
poor system configuration, operating system problems, and even outright
failures due to old age or poor manufacturer leading to memory problems.
This section shows you how to deal with such problems.
Troubleshooting a memory is a form of solving the problems incurred in the
memory and correcting the faults and failures.
2.5.1 Memory test equipment: there are mechanisms to use a testing
device so that it can identify the memory failure. As memory modules is
used to accelerate the performance, modular-based system memory tester
is used to conduct a deep check on the various memory modules and inform
you if there is any failure in the specific chip. An adapter is installed in the
Activity 3:
Find an old system and find out the problems in it and try to trouble shoot
them.
2.6 Summary
The Memory is the brain of any system. Memory is in the form of arrays of
individual storage elements which are arranged into rows and columns. The
organization structure is the important aspect before starting to learn
memory. Memory is mounted on a package which are of many types like
Dual Inline Package, Single Inline Package, Small-Outline “J” lead, Thin,
Small-Outline Package, and Chip Scale Package.
Modular approach is the best way of organizing a system. In memory
youfind three types of modules. Using these memory modules you can
enhance or add the different extended slots. These memory modules are
SIMM, DIMM, and RIMM.
Whenever there is upgradation of new memory there must be a proficient
compatibility with the old memory. The new system comes with facility to
overcome the inherent limitations of the old memory by different ways of its
use and hardware and software selection. The use of computer memory is
classified as following types: Conventional, Extended, and Expanded
memory.
The importance of memory has become specialized to that level that it has
become very difficult to track the memory options and understand the
architecture. Therefore many things are taken care of which include memory
speed, wait states etc. Advancement in the memory lead to specific memory
types such as EDO RAM, BEDO, DRAM, SRAM, SDRAM, etc.
You might face a lot of problem when you select and install a memory.
These can be solved by trouble shooting it. Troubleshooting a memory is a
form of solving the problems incurred in the memory and correcting the
faults and failures.
2.7 Glossary
Term Description
Composite The module using old technology and additional chips
Non-composite The module using latest technology and fewer chips
Internal cache It is also called as level 1cache which has to be
enabledalways. Turning off this cache will lead to severe
performance hit.
External cache It is also called as level 2 cache. Disabling this memory will
slow down your system dramatically.
ROM Read Only Memory is an integrated circuit memory chip that
contains configuration data. It is also called as firmware as its
programming is fully embedded on its ROM chip
DRAM Dynamic Random Access Memory needs to have its storage
cells refreshed or given a new electronic charge every few
milliseconds.
Epoxy Epoxies are copolymers and are also referred to as resins or
hardeners which are known for their excellent adhesion,
chemical and heat resistance, good-to-excellent mechanical
properties and very good electrical insulating properties.
Rising edge When the clock cycle shows 1 or the signal is high it is called
rising edge
Falling edge When the clock cycle shows 0 or the signal is low it is called
falling edge.
2.9 Answers
Self Assessment Questions
1. Address and data bits
2. Signals
3. Control lines
4. SIMM, DIMM and RIMM
5.
o True
o False
6. Upper memory area
7. Extended memory
8. Cycle time
9. EDO RAM, BEDO, SRAM, SDRAM, DRAM, DDRSDRAM, EDRAM
10.
o False
o True
11. Paged memory, interleaved memory, memory cache, shadow memory
12. SDRAMs, memory hard drive and memory
13. memory bank
14. Troubleshooting a memory
15. First remove the motherboard, detach the damage socket and fix the
new socket
16. Epoxy
17. Contact corrosion’
Terminal Questions
1. Refer section 2.2.1. Memory organization
2. Refer section 2.2.3 Modules
3. Refer section 2.3 Memory considerations
4. Refer section 2.4 selection and installing a memory
5. Refer section 2.5 Troubleshooting
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by StephenJ.Bigelow, Tata McGraw Hill
Publications, 2001
E-References:
o http://www.tech-faq.com
o http://www.computermemoryupgrade.net
o http://metals.about.com/library/bldef-Contact-Corrosion.htm
o http://www.corrosion-doctors.org
o http://searchstorage.techtarget.com
o http://www.pcguide.com
o www.autotime.com
o www.simmtester.com
o www.kingston.com
o www.pny.com
3.1 Introduction
In Unit 2 we have discussed about memory and its types and the method on
how to troubleshoot it. In this unit, you will study motherboard concepts and
different considerations to be taken care of while upgrading it. You will be
able to perform the upgradation and identify the different functions and
components of the modern motherboard.
Before troubleshooting, knowledge of how to identify the different
components of motherboard is essential. The motherboard is considered to
be the ‘heart’ of any PC. It provides you the system resources, supports the
core components and handles the systems memory. The whole
performance of the PC is judged by the motherboard. This unit will provide
you the overall information about motherboards and help you in
troubleshooting the problems which arise in the motherboard.
The motherboard is referred to as an active backplane because the board
consists of chips which runfor various tasks. A lot of effort was made to
grant upgradation and provide service to the motherboards. When this was
done, the one approach which came into picture was the modular approach.
The modular motherboards have the facility to place CPU, math
coprocessor and key support chips on a card that can be held inside the
motherboard. Replacing this card is cheaper than installing the new
motherboard. Expansion slots can be used when there is need for
upgradation and jumper can be set. These expansion slots can be detached
from the motherboard and parts can be connected to it
Objectives:
After studying this unit you will be able to:
Describe the concepts in motherboards
Identify the various components and considerations in motherboards
Perform the motherboard upgradation
Resolve the problems through troubleshooting
Slot 1: these motherboards serve Pentium II and III CPUs. They use
Single Edge Cartridge (SEC) processors.
Slot 2: these motherboards also use SEC processors for advanced
PentiumII or III Xeon processors. These kinds of motherboards are used
in high end network servers and workstations.
Socket 360: these motherboards serve for Pentium III and above and
also Celeron processors. These motherboards are easier to remove and
have fewer problems in installation.
Slot A: these motherboards serve AMD processors. They are mainly
used to serve Athlon-based systems.
Socket A: these motherboards serve later AMD Athlon and Duron
processors.
Socket 432: these motherboards are built to serve Pentium 4
processors.
Socket 432 is not compatible with other types of sockets and each of them
has specific reason for each type of processors. You must always
remember that each type of socket is designed to serve specific types of
CPUs not only because of their types but when you use different sockets for
different processors it even limits the speed. For example If you use slot 1
motherboard for 440 BX chipset based systems (Pentium II) it can support
up to 233 MHz to 500 MHz. But if you use slot 1 with Pentium III processors
it can support from 450 MHz to 730 MHz. Therefore even the same type of
processor connector has different speeds for different range of processors.
Therefore you must be very careful in using the slots for different
processors.
3.2.2 Expansion slots
Small Computer
Whenever additional device is required for the system to perform at its full System Interface
potential you would have to connect devices such as, video controller, SCSI
host controller, network card etc. These devices are connected to the
motherboard with the help of external connectivity called expansion slots.
Expansion slots are slots that allow the system to communicate with the
outside world with the help of additional boards. These expansion slots are
present at the back of the computer and allow the ports in the card that go
inside it to be accessed.
factors. They are AT, ATX, and BTX. You should know that form factors do
not directly contribute to the performance of the motherboard. In that way if
you consider the first evolution baby AT and the advanced BTXboth have
same characteristics in performance.
Full AT was the first form of the motherboard that covered the large area in
the system. AT stands for advanced technology and the name is because
there was new introduction of various technologies in the family of
motherboards. Full AT was 11 inch in length and 12 inch in breadth. This
created problem with heat absorption due to the lack of ventilation. It was
also not able to access some of the items in the motherboards because
some of the drive bays were hung on the motherboard.
Due to this Baby AT was built which became very popular. It was 10 inch
long and 8.5 inch wide. This form has DIN keyboard connector in the top-
corner of the board which differentiates it from other types. This was
reduced almost to 2/3rd of the size of the full AT board and also contained 7
ZIF (Zero Insertion Force)slot for classic Pentium processors. It is the way to
connect Pentiums processors on the motherboards to the data bus.
Intel wanted to make a motherboard that would support Pentium II
processors. Therefore ATX with new AGP slot was built. ATX stands for
advanced technology extended and intended to use easily, support for
current and future I/O, support for current and future processor technology,
and reduced total system cost. It was 7.5 wide and 12 inches long which
included I/O and USB ports. This was intended to support to current and
future technology, current and future I/O and reduce the cost.
Though ATX was supporting Pentium processors; it failed in cooling the
system. Therefore BTX was built by Intel to support Pentium processor with
proper heat liberation. BTX stands for balanced technology extended. The
BTX will come primarily from taking the advantage of in-line airflow. This
layout allows many of the main board components to utilize the same
primary fan airflow, thereby reducing the need for, and noise from, additional
system fans. In some cases this also allows fewer and/or less expensive
heat sinks to be used when compared to ATX solutions.
Apart from this you can classify chipset into two types. They are North-
bridge and South-bridge which are basically used for the communication
body comes in contact with the static motherboard. You should also
have a proper arrangement for the grounding to the strap.
Do not touch the circuit chip or pins and try to hold it from the edges.
When the components are disassembled for upgradation, place all the
componentsin antistatic bags.
Try to avoid upgradation process in dry weather because there is
possibility of creation of electrostatic charges in clothes and bodies.
After you have taken all these precautions you need to have the updated
CMOS settings so that it needs to be loaded on the new motherboard’s
CMOS. Current BIOS versions allow you to enter BIOS defaults in the
CMOS setup. Some of the CMOS may be loaded manually.
The following are the steps for motherboard upgradation which you
need to follow.
You must be very careful while handling the screw driver blades. If the
blade accidentally slips on the motherboard then it can cause severe
damage by even a scar or scratch on the chip.
You should turn off the system and unplug it from AC receptacle before
opening the cover of the cabinet. This will help you in taking measures
to avoid accidental power supply when you are working on the system.
When you remove the screws by holding the outer cover place it is a
safe place. Place the outer cover place in a safe place where it is not
damaged. Now you can see the inside of the PC.
You need to label the things which you can see inside the PC which
helps you in connecting back the cable to specific points after
upgradation.
Now it is the time for you to remove your original motherboard.
Therefore, make a safe place for keeping your motherboard. This
involves few steps.
o You can start removing the expansion boards and place it inside the
antistatic bag and keep the bag on the antistatic mat.Remove all the
screws gently and then try to lift the motherboard. If you get a tight
feeling in lifting the motherboard then it means there are some
screws which you have overlooked while detaching. Doesn’t
forceopen the motherboard hard otherwise it canget damage.
Manipal University Jaipur B1416 Page No.: 58
Understanding PC and Troubleshooting Unit 3
Activity 1:
Try to upgrade any old PC motherboard and note down the problems that
arise while performing the upgradation.
3.4 Troubleshooting
In the earlier sections you have studied the motherboard upgradation
process. You have studied the basic consideration to be kept in mind before
and while upgrading the motherboard. By now you would have been able to
If your motherboard is having any port connected please make sure that
those are disabled by setting jumpers or switch. For example video port
must be disabled otherwise there will be a problem of hardware conflict
and motherboard may crash or can cause interference in the
motherboard performance. Always refer to a PC guide to set the jumper.
You must verify that the screws connected to the motherboard do lead
to grounding. Also ensure that there is enough space between the
conducting material and the motherboard. Do not turn the screw so tight
that the motherboard may suffer from erratic connections.
The above general guidelines help you in identifying the faults and failures
and help in correcting those errors. These help in identifying most the
problems that a motherboard can encounter. Even after following the above
steps if you encounter motherboard failure then it is time to replace it.
Activity 2:
a. Find out why your system automatically powers back on after a power
failure
b. Find out why your system is not turning off when you press the power
button
c. Identify why your system is not booting even after installing a
motherboard.
Hint: Refer the concept of symptoms of motherboard inthe book on
troubleshooting, maintaining, and repairing PCs by S.J.Bigelow
3.5 Summary
Motherboard being the heart of any PC provides the system resourcesand
supports many important components of CPU and handles memory. There
is always aimmediate need for upgrading motherboard. Therefore, modular
motherboards are used for upgradation. There are different slots and
sockets which are used in different PCs to connect various components into
the motherboard. In modern motherboards there is an absence of chips or
some cases very negligible. Expansion devices are used to give the
motherboard the added features. The memory size must be adoptable by
the motherboard.
When you upgrade a motherboard you can include additional RAM, and
upgrade a CPU. You should consider many factors like dimensions and
mounting; feature comparison; CPU and slot locations; cost; traditional
upgrades; daughtercard upgrades; processor card, etc. When you want to
upgrade you must undertake pre and post upgradation preparation which
involves, electrostatic protections, downloading CMOS settings, physical
preparation of the system cabinet, removing the original motherboard,
installing and reassembling the motherboard and finally testing the
motherboard for working conditions.
In every installation there is always a scope for errors. When any such error
occurs you must check for various components for their performance. Also
you need to take a decision whether to replace the components or the
motherboard itself with a new piece. In this unit you studied the various
inspecting points before starting the motherboard repair. By now you would
have got the knowledge of how to identify the problem in the motherboard
and to troubleshoot the same.
3.6 Glossary
Term Description
Math Secondary processor which helps in doing lots of calculations
Coprocessor and helps in saving lot of precious time of the CPU
SCSI Small computer system interface is a set of interface or set of
standards which communicates data transfer between computer
and other peripheral devices
I/O port Input-Output port connects the devices such as keyboard,
monitor, printer to communicate with computer system
Processor It manages the resources and data for expansion by performing
card required operations
Daughter card It is an extension motherboard which is circuitry
CMOS It is an semiconductor chip and holds data without requiring
external power supply
POST When the computer system is on, it performs a self test to check
whether the keyboard, RAM, disk drives are connected properly.
This is called Power On Self-Test
BIOS It is a collection of programs that is present on the chip and tells
the computer how to start.
RTC module Real Time Clock module is specially designed for DS1307 clock.
This comes with the pre-programmed current system clock.
3.8 Answers
Self Assessment Questions
1. Motherboard
2. Socket 7, socket 8, slot 1, slot 2, socket 360, slot A, socket A, socket
432.
3. Expansion slots
4. a. True
b. True
c. False
d. True
5. Less chips
6. Number of I/O ports
7. With the help of sink
8. New motherboards give good support with respect to cache, space &
RAM availability.
9. a. True
b. False
c. False
d. True
e. False
10. New motherboards are readily available in the market and spare
components are difficult to obtain.
Terminal Questions
1. Refer Section 3.2.1. Sockets and slots
2. Refer section 3.3.1. Considerations
3. Refer Section 3.3.2. Performing the upgradation
4. Refer Section 3.4. Troubleshooting
5. Refer Section 3.4. Troubleshooting
References:
Trouble Shooting, Maintaining and Repairing PCs, the 1st author in PC
hardware, 5th edition by StephenJ.Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by ScottMueller,
QuePublishing, 2003
E-References:
o www.motherboards.mbarron.net/testing.html
o www.static.commentcamarche.net/en.kioskea.net/pictures/pc-images-
motherboard.png
Unit 4 Buses
Structure:
4.1 Introduction
Objectives
4.2 Bus
4.3 Industry standard architecture (ISA)
8-Bit-ISA
16-BIT-ISA
4.4 Peripheral component Interconnect (PCI)
PCI Bus configuration and signals
PCI layout
PCI signals
4.5 Accelerated graphics Port
AGP vs PCI
AGP layout
AGP signals
4.6 FSB
4.7 Dual Independent Bus(DIB)
4.8 Troubleshooting
4.9 Summary
4.10 Glossary
4.11 Terminal Questions
4.12 Answers
4.1 Introduction
In the previous units we discussed about many important components of the
computer system like memory, CPU, motherboard, memory slots, etc.,
which are required for a computer? But, when you have various important
components together the question arises as to how they could be linked and
communicated between each other so that the data in the form of
information or address of the memory location can be transferred. This
question is answered by the use of electric wires. These are called Buses.
Specifically Bus is an electric cable or collection of cables that are used to
transfer the data, information or the address of the memory location. In this
unit we will discuss the importance of this data travelling agent and list the
different types and parts of the Bus. We will explain the importance of AGP
Manipal University Jaipur B1416 Page No.: 66
Understanding PC and Troubleshooting Unit 4
and help you to use of expansion Buses to connect the expansion devices.
IBM came to a conclusion that connecting the expansion elements which
are required and leaving the other functions of the expansion devices which
can connect with the plugin through the Bus was a feasible choice.
Objectives:
After studying this unit you will be able to:
Define a Bus.
Identify a Bus in the computer system
Classify and explain the different types of Bus in detail.
Differentiate between the types of Bus
Resolve the basic Bus problems through troubleshooting
4.2 BUS
As we discussed above Bus is a collection of cables that is used to
communicate between two or more components of the computer system.
Bus consists of three major types such as address Bus, data Bus and
control Bus. Address Bus is the one which carries the formation of the
location of the information. Data Bus is the one which carries data between
the different components of the computer. Control Bus is the one which
allows transferring the control instructions from CPU to memory or I/O
devices. A typical diagram of the connectivity of the Buses is as shown in
the figure 4.1. In this figure you can observe that the data Bus allow two way
transfers between CPU, I/O and the memory. Address Bus and Control Bus
allow only the control flow from CPU to I/O and memory.
computer system and its components. Generally with respect to this kind of
architecture, the Bus has been divided into three major types. They are ISA,
PCI and AGP.
out of which 20 address and 8 data lines were available. It ran with a speed
of 4.77 MHz. Diagram of Simple 8-bit Bus is given below in figure 4.2
The 8-bit ISA Bus consists of single card edge connector with 62 pin
contacts. The Bus provides 8 data lines and 20 address lines which allow
the board to be placed in the conventional memory. The Bus supports
connection for 6 interrupts (IRQ2-IRQ7) and three DMA channels (DMA0-
DMA2).
All though each connector on the Bus is supposed to work in the similar
fashion, the PC which is designed with eight expansion slots requires any
card inserted in the eighth slot to provide a special signal called “card
selected” on pin labelled B8. Timing requirement for the eighth slot are also
tighter.
Interrupts and DMA (Direct memory access) channels are supported by this
Bus. The table below shows the DMA channel that has expansion with its
specific standard function. An interrupt is an event in hardware that triggers
the processor to jump from its current program counter to a specific point in
the code. DMA channels are system pathways used by many devices to
transfer information directly to and from memory.
The oscillator pin in both PC/XT and PC/AT ISA Bus configuration provides
the system oscillator signal to the expansion Bus. An oscillator is a circuit
which creates a waveform output from direct current input. When the PC
needs to be reset, the RESET DRV pin drives the whole system into the
reset state. The 20 address pins connects an expansion board to the
system address Bus. When address signals are valid, the Address Latch
Enable (ALE) signal indicates that the address may now be decoded.
When errors occur on the expansion board the -I/O channel Check (-I/O
CHCK) signal applies flags to the mother board. The minus sign before the
signal indicates that the active low logic is used in the signal. The 6
hardware interrupts are IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, and IRQ7 which
are used by the expansion board to seek the attention of the CPU. Interrupt
0 and 1 handles the high priority of the timer chip and keyboard. Therefore
these interrupts will be busy handling timer chip and the keyboard and it is
not available to the Bus.
4.3.2 16-bit ISA
16-bit ISA is an expansion of 8-bit ISA with the connection of 36-pin
connector added along with the 62-pin connector as add-on. 8-bit Bus is
replaced by 16-bit Bus by doubling the number of data bits and adding pin
connectors. 16-bit was used in PC/AT Bus. The IBM Personal Computer/AT
are also called as PC AT or PC/AT, was IBM's second-generation PC,
designed around the 6 MHz Intel 80286 microprocessor and released in
1984 as machine type 5170. The name AT stands for "Advanced
Technology", and was chosen because the AT offered various technologies
that were then new in personal computers. . This diagram of 16-bit Bus is as
shown in the figure 4.3
support lower access latency the system can easily send the data to the
CPU.
Bus mastering: Bus mastering is a feature of PCI which helps in any
intelligent peripheral to have a control of the Bus which is used in
boosting the throughput of the architecture. This supports in handling the
task according to the priority base. The high priority task can be handled
and throughput can be increased.
Concurrency: when a processor chip works with BUS masters
simultaneously rather than waiting for them to complete, the process is
called concurrency. Wait state may be sometimes zero at the time of
concurrency
Dual voltage architecture: dual voltage features expects two different
voltages to be supported. PCI Bus supports +5 volts as well as +3.3
volts which are called as low voltage mode.
4.4.2 PCI Bus Layout
For any architecture there must be proper borders and boundaries. This is
given to the PCI architecture by their layout. The layout of the figure to show
How it is arranged is given in figure 4.4.
the Bus just to avoid any insertion of the +5 volts board to +3.3 volts Bus.
A +5 volts connector is added with a key at the 50th position to avoid the
wrong insertion of +3.3 volts board into the +5 volts slot.
In general the same system resources cannot be used by the other devices.
This is an exemption is PCI. PCI Bus has its own internal interrupts which
handle the requests on the BUS. To avoid the confusion PCI Buses are
named as A1, A2, A3,……., B1, B2, B3, …….. C1, C2, C3,…… and D1,
D2, D3,…….. PCI uses a technique which holds the signal dynamically and
whenever there is a requirement it can be reassigned. This technique is
called Interrupt ReQuest (IRQ). IRQ can be shared by two or more PCI
devices. These IRQs can be accessed during CMOS setup routine.
4.4.3 PCI signals
There are various signals which serve different functions in the PCI Bus.
The PCI configuration is differentiated as asynchronous and synchronous
based on the dependence of the FSB speed. FSB stands for Front sided
Bus which is responsible for data transfer between CPU and one of the two
chips of the Core logic chipset on the mother board. An asynchronous
configuration is found in the latest motherboards whose PCI speed can be
set independent of FSB.FSB derives the Bus clock of the PCI. You can see
some of the signals below in the table along with its functions.
Signals Functions
Clock signal Provides timing for the PCI Bus
It can be varied from 0Hz to 33 MHz
Reset Signal Reset all PCI devices
Command/-Byte Defines which of the bytes are transferred
enable signal
Parity/PAR64 Represents the Parity across address/data and byte enabled
signal lines
-Request Initiates the Bus mastering
(-REQ)
signal/line
-Grant (-GNT) Approves the Bus mastering request
signal/line
-Frame Signal Clock Frame is driven true when valid PCI Bus cycle is in
progress.
Target Ready Target Ready signal is driven true, if within the given Bus
(-TRDY) signal cycle the device is able to complete the transaction
Initiator Ready Indicates that the Bus is ready to accept the data or confirms
(-IRDY) signal that the data in the Bus is valid.
Stop (-STOP) This indicates the initiator to terminate or halt the current data
signal transfer.
Initialization This also works as Chip select during read and writes
Device Select transaction of PCI configuration.
(IDSEL) signal
Device Select As an Input, it has to indicate the current transfer status to
(DEVSEL) know whether it has assumed the control
signal As an output, it has to find out itself as the target for current
Bus transfer.
Lock (-LOCK) Prevents the other initiator to modify the locked addresses or
signal selected expansion device.
Primary and Reports data parity errors and address parity errors in the
secondary error PCI BUS.
reporting (PERR
and SERR)
the data and allow 4 Bytes to be passed with the bandwidth of more than 1
GB/s on every AGP clock. This means that the bandwidth is doubled when
the AGP clock refines the data byte.
4.5.1 AGP vs PCI
Before studying the difference between AGP and PCI we should throw a
glance on its similarities. Both Buses use at least one PCI slot. AGP was not
created to replace PCI, but to create a new dedicated Bus which is used to
help the graphic cards functioning.
The important feature of AGP specification is that a 32-bit AGP will easily fit
into PCI configuration. But still there are many features which differentiate
AGP from PCI with advance advantages.
They are:
The bandwidth capacity of AGP is 4 times greater than PCI with
pipelining or super-pipelining features.
AGP supports optimized 3D graphics
AGP uses clock speed up to 66 MHz where the PCI used a fixed clock
speed of 33 MHz.
AGP makes multiple requests for the transaction and PCI will make only
one request at a time and wait until the earlier requests are executed
completely.
There is no sharing of bandwidth with other devices in AGP whereas
PCI shares it with other devices.
The result of the significant improvement and additions in 32-bit AGP
intended in optimising for high performance 3D graphics. The most
important difference is the clock speed. The PCI users fixed 33 MHz Bus
whereas the clock speed of AGP varies up to 66 MHz.
The basic comparison between PCI and AGP has been shown in the below
table.
Table 4.2: Comparison between PCI and AGP
PCI AGP
Address/data is multiplexed Address/data is de-multiplexed
Non pipelined Request is pipelined
Data bytes will be high at 133 MB/s Data bytes will be peak at 533MB/s
with 32 bits with 32 bits
Multiple target and multiple master Single target and single master
Connected to the entire system Connected to only read/write memory.
this is not connected to I/O operations
There is High/low priority queues No priority queues
Note that different slots will have different key positions in the card.
Signal Function
PIPE # This request is asserted by the current
master
It indicates that the target has to queue
up the full width request.
Read Buffer Full signal (RBF#) Indicates whether the pre-requested low
priority read data can be readily accepted
by the Master.
Once RBF# is asserted, the arbiter
cannot initiate the request of taking back
the low priority read data to the master.
Write Buffer Full signal (WBF#) Indicates Whenever there is data keying
from the core program to ensure that
whether master is ready to accept the
data
Once WBF# is asserted the arbiter
cannot initiate the request to provide
data.
GNT# Indicates that the signals have some
meaning to the master
FRAME# Indicates the output form the core logic
AD Bus Strobe 0 signal (AD_STB0) 2x data transfer mode on address line is
provided
Data providing agent drives this signal
SideBand Strobe signal (SB_STB) Timing for SBA is provides and driven by
AGP master
CLOCK (CLK) Provides timing for both AGP signals
4.8 Troubleshooting
Generally trouble shooting of the Busis not done since it is more of a
passive connector. It can be very easily replaced. But for some of the major
signals which are connected to the motherboard you might need to trouble
shoot. This happens at the POST board. Normally you could do this process
by using LED lights in the POST boards. A light-emitting diode (LED) is a
semiconductor light source. These are used as indicator lamps in many
devices, and are increasingly used for lighting. LED light is used in POST
board to indicate the status of the power supply, control signals and clock
time. When the LED is missing in the board then it means that there is
some error in connection in the motherboard.
You can note the following hints to rectify the Bus errors.
You can use the multi-meter to check the voltage level in the Bus.
Irrespective of low voltage or standard Bus you have to find the -12 volt
dc and +5 volt dc. You should ensure that a low voltage Bus should
have +3.3 Volt dc. Otherwise, you need to conclude that there is fault in
the Bus and need to replace power supply.
You can adjust the CLOCK signal between 0 Hz and 33 MHz. The
timing signals for the external device and slots is provided by CLOCK
signal. If the CLOCK signal is 0 then the expansion device will not work
and you need the check the motherboard circuitry and rectify it.
After correction or rectifying the expansion device, it can be set to its
original settings by reinitializing with the help of Reset signal. You should
always note that Reset signal should be active only once or twice after
the power is supplied.
4.9 Summary
Bus has been the little passive interrupt which has the capability to be an
agent for communication between CPU, memory and various components
of the computer. Bus is divided into three types of Bus, address Bus, data
Bus and control Bus. It is a backbone of the network allowing the data to
pass through various computers and network. These are the electric wires
which help in transferring the data. There are various types of Buses based
on the type of its use such as expansion Bus, local Bus, internal and
external Bus, unidirectional and bidirectional Bus. The Bus architecture is
divided into 3 major types like ISA, PCI and AGP. The other kinds of Buses
are FSB and DIB which are responsible for connecting the various
components to motherboard. Industry Standard Architecture which are not
in use were used to connect the system with video cards, sound cards,
networking cards, etc. This is bigger in size than the PCI and is black in
colour. ISA Buses were also referred as PC Buses. ISA has its two versions
namely 8-bit ISA and 16-bit ISA.
Peripheral Component Interconnect (PCI) is a high speed, intelligent Bus.
PCI supports many features like, linear burst low access latency, Bus
mastering, etc.
AGP is best suited for 3D applications. AGP’s performance is directly
proportional to the bandwidth; its bandwidth is twice than that of PCI. The
important feature of AGP specification is that a 32-bit AGP will easily fit into
PCI configuration. It can process multiple request rather than waiting for a
long time for the new instruction and making the CPU sit idle.Bus is queued
by signals.
FSB stands for Front Sided Bus and used to connect CPU to the computer
system and CPU with the various other components of the system. FSB is
two directional flows of data, i.e. means various components send and
receives the data from the processor.
DIB which stands for Dual integrated Bus enables the data flow
simultaneously or in parallel processing method rather than queuing up in
a single sequential method and waiting for a long time to complete one
instruction and CPU going to idle state.
Troubleshooting with respect to Bus is done at POST boards and rectified
using LED lights.
4.10 Glossary
Term Description
I/O The term I/O is used to describe any program, operation or
device that transfers data to or from a computer and to or from
a peripheral device. Every transfer is an output from one device
and an input into another. Devices such as keyboard.
Back bone A central conduit designed to transfer network traffic at high
speeds.
Interrupt An interrupt is an event in hardware that triggers the processor
to jump from its current program counter to a specific point in
the code. It is a signal that says that an event has occurred.
LPT Port Line Print Terminal is the original, and still common, name of
the parallel port interface on IBM PC-compatible computers. It
was designed to operate a text printer that used IBM's 8-bit
extended ASCII character set.
PC/AT The IBM Personal Computer/AT are also called asPC AT or
PC/AT, was IBM's second-generation PC, designed around the
6 MHz Intel 80286 microprocessor and released in 1984 as
machine type 5170. The name AT stood for "Advanced
Technology", and was chosen because the AT offered various
technologies that were then new in personal computers
DMA Channel Direct memory access (DMA) channels are system pathways
used by many devices to transfer information directly to and
from memory.
Expansion IN the computer an opening is there where a circuit board can
be inserted to add new capabilities to the computer called
expansion slots.
COM3 A COM3 (or Communications 3) port is a communications
channel on the computer that is used to transmit data from
hardware devices to the processor.
4.12 Answers
Self Assessment Questions
1. Buses
2. a. False , b. True
3. CLOCK speed and MHz
4. Expansion
5. ISA, PCI and AGP
6. ISA
7. 8-bit and 16-bit
8. PC/XT
9. 62, 20, 8
10. 8, 5, 4
11. 4.77 MHz to 8.33 MHz
12. PCI
13. a. False , b. True , True
14. Access time
15. Interrupt ReQuest (IRQ)
16. FSB
17. Front Sided Bus
18. AGP
Terminal Questions
1. Refer Section 4.2. BUS
2. Refer section 4.3.1, 8-bit Bus, Table 4.2. DMA channel expansion
3. Refer Section 4.4, Peripheral component Interconnect
4. Refer Section 4.4.1, PCI configuration
5. Refer Section 4.4.3, PCI signal, table 4.1, the functions of PCI signals
6. Refer Section 4.5, Accelerated Graphic Port
7. Refer Section 4.5, structure of AGP
8. Refer Section 4.5.1, AGP vs PCI
9. Refer Section 4.8, Troubleshooting
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by Stephen J. Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by Scott Mueller,
Que publishing, 2003
E-References:
http://www.interfacebus.com/Design_Connector_PCMCIA.html
http://parts.digikey.com/1/parts/601570-ic-8-bit-bus-sw-2port-20-tssop-
pi5c3244le.html
http://www.javvin.com/hardware/DIB2.html
http://www.developer.Intel.com/technology/agp/index.htm
Unit 5 CMOS
Structure:
5.1 Introduction
Objectives
5.2 The need of CMOS
5.3 CMOS Optimization tactics
5.4 Configuring the standard CMOS setup
5.5 Troubleshooting
5.6 Summary
5.7 Glossary
5.8 Terminal Questions
5.9 Answers
5.1 Introduction
In the previous unit we have discussed about the meaning of BUS and its
different types. You get to know the function of each type of BUS and the
different kinds of BUSes used in PC/AT and PC/XT. After the PC/AT came
into existence IBM gave more options to setup the parameters. CMOS is a
small and low-power RAM chip which was used to store the system’s setup
parameters. In PC/AT the discrete switches were replaced by logical
switches. When the computer starts, the BIOS read the parameters which
are stored in the CMOS RAM. BIOS use these parameters in the normal
operation of the system. For this reason it is very important that while
confirmation of the system you must always use correct settings.
In this unit you will get a detailed view of selection of CMOS parameters.
You will get to know the guidelines for proper CMOS optimization and
battery maintenance.
Objectives:
After studying this unit you will be able to:
Identify the need for CMOS.
Get the CMOS set up key sequences and tactics.
Do the configuration of standard CMOS setup
Maintain and resolve the CMOS problems through troubleshooting.
System cache must be enabled: ensure that all your cache memory
is enabled. You must enable the level-1 and level-2 cache available
in the system. These caches are called as internal and external
caches respectively.
Wait states of RSM must be minimized: ensure that your main
memory or RAM is setup at the minimum wait state values. You
should also be careful while setting the low wait state. If the vales
are too low it can hang the configuration. RSM stands for Removable
Storage manager is an interface designed to manage removable
storage devices and media.
ROM shadowing must be enabled: by shadowing the video and
system ROM you can increase the performance of the system.
Power management must be enabled: ensure that the power
management features in the system are enabled. It saves electricity
and increases the life of many components.
Drive access must be optimized: ensure that the both the drive and
drive controller you are using support each other. You should always
use fastest data transfer protocol.
Go with BIOS defaults: you are always presented with the built in
default CMOS BIOS setup. It is a mere waste to re-enter the CMOS
parameters from the beginning. In the CMOS main menu you can
find the option on select BIOS defaults. Though default settings may
not have effective performance it can help you when you are
frustrated in making wrong attempts once or twice.
There is no guarantee that you will able to use all the available
features through CMOS setup. Some of the options may have
activated their hidden settings. When you are not able to see the
options it may cause severe damage with respect to PC
performance. For example, if the cache setting and DRAM timing
settings are unavailable it can have serious problem in PC
performance. Therefore, there are various methods and tools
available to use these hidden settings based on the BIOS versions.
The following are some of the machines with their ways to access
BIOS.
Activity 1:
What will you do when you cannot enter CMOS setup even though the
correct key combination is used?
Hint: Refer the concept of symptom of motherboard under the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
Like floppy disk drive hard disk drive also has two drives C and D.
Daylight savings: this entry helps in allowing the RTC to activate the
daylight saving scheme. If this scheme is not activated automatically
then you need to activate the scheme manually.
HDD Delay: some of the hard disk will require more time to initialize itself
in the BIOS. When the BOOT is very fast then there may not be enough
time to initiate itself properly therefore this setting helps in prompting
delay in the boot up and identify the hard disk drive. Though you can
select various options of time select the lowest time for the HDD delay to
maintain the boot speed.
Keyboard: this setting helps to identify whether a keyboard is attached to
the system. If this is not installed then BIOS performs the keyboard
check during the POST and allows booting of PC without prompting the
keyboard error.
Memory: this setting is used to choose the kind of memory elements to
be displayed in the start time. Based on the following types the content
is distinguished by the BIOS POST:
o Base Memory: finds out the amount of base memory installed.
o Extended Memory: finds out the amount of extended memory
installed.
o Other memory: finds out the available memory that can be allotted to
different applications. For example AGP buffer area and RAM area.
o Total Memory: this is the sum of base, extended and other memory
of the system.
Primary display: this setting is used to identify the type of display used in
the system. For example, for the older computers the type of display
differs from VGA, PGA or EGA. For newer computers VGA alone serves
the purpose.
Quick Power-On-Self-Test: you can speed up your booting time by
selecting Quick POST. This entry prompts the BIOS to skip some of the
check like memory count during the POST.
Activity 2:
How will you manage when you notice that only some CMOS setup
entries are corrupted when running a particular application?
Hint: Refer to the concept of symptom of motherboard in the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
5.5 Troubleshooting
CMOS failure is a very rare case since it is most important feature for
system boot. But still, due to the loss of some of the CMOS settings or
data, the system is compromised due to the poor configured CMOS
setup. In this section you will discuss on identifying the CMOS set up
problems and how to correct those problems.
5.5.1 CMOS password troubleshooting
Password is a means of protecting your system away from the malicious
and snooping entities. When there is shift or transfer of system from one
person to another or one department to another department, then there
is a great chance of losing the password. This will lead to unused of the
system because computer will not start without the password luckily this
data will be stored in the CMOS settings. If you could manage to clear
the CMOS RAM you can easily disable the password security. But you
should be careful while clearing the settings because some of the
settings are very crucial and if they are lost then it is very difficult to get
them back.
You may deal with these unwanted passwords in many ways with the
help of some of the tips given below.
Ask a friend: whenever you lose your CMOS password it can sometime
happen that one of your friends or colleagues knows about it. Ask them
if anybody knows the password. This saves so much of difficulty and any
time after log in you can change the set up.
Activity 3:
Suppose you have lost your system password, then perform the best step
to start your computer.
5.6 Summary
Complementary Metal Oxide semiconductors are known as CMOS RAM in
short and also called as Very Low-Power static RAM. BIOS read the
attributes from the CMOS RAM to perform normal operation in the system.
Therefore, to have a proper system you should have correct CMOS settings.
The information on date, time or addresses are lost when the power goes
off. BIOS require CMOS to carry out the basic input/output system function,
hardware devices and interfacing function. A battery is connected to PC to
provide power to the CMOS. This battery is called CMOS battery which
helps in storing the date, time and system attributes until the next time
system is turn on.
Launch set up utility in the first place as the manufacturers; CMOS setup
initiates hardly are consistent in accessing the setup utilities, in most of the
cases you only have to launch the setup in the beginning of the
configuration.
You have studied the key sequences and their functions. If you forget
any of the key combination or get stuck during the configuration verify
and use anyone of the key listed in the table shown earlier. This will
force the CMOS setup routine by causing configuration change. As the
number of devices as well as the key combinations increase a number
of combinations come into existence. To get optimum solutions we need
to choose the right one with the help of following points like:
Basic Check, System cache must be enabled, Wait states of RSM must
be minimized, ROM shadowing must be enabled, Power management
must be enabled, Drive access must be optimized, Go with BIOS
defaults. These options give no guarantee to use available features of
CMOS setup use. While configuring the standard CMOS setup there are
many entries found commonly in the CMOS standard setup menu list.
They are Date and time, Error halt-No errors, All errors, All, but
keyboard, All, but disk, Floppy drive A, Halt on, Hard disk C.
Troubleshooting and maintaining the CMOS involves maintenance the
battery rather than maintain the CMOS chip. Here you need to take care of
CMOS of password of maintenance and battery maintenance.
5.7 Glossary
Term Description
RSM Remote switching module is a switch that Is away from the host or
control office.
Shadowing Certain settings are hidden to increase performance. This is called
shadowing
HDD delay It is the setting that allots halt time to CMOS when the hard disk
drive is slow and takes too long time to set up itself in the
computer and BIOS is very fast so that it can initiative itself.
Jumper It is a conductor which is of shorter length and is used to close a
break in the computer. They are used to setup the circuit boards
RAM Random Access memory is a type of memory that can be
accessed anytime dynamically. It is volatile memory
5.9 Answers
Self Assessment Questions
1. CMOS
2. BIOS
3. Very low-power static RAM
4. Nickel Cadmium
5. CMOS battery
6. Floppy disk
7. AMI
8. Power management
9. CTCHIPZ
10. Shadowing
11. Cyl
12. WPre
13. a. True
b. False
Terminal Questions
1. Refer Section 5.2.1 the need of CMOS
2. Refer Section 5.3 CMOS Optimization tactics
3. Refer Section 5.4 Configuring the standard CMOS setup
4. Refer Section 5.5.1 CMOS password troubleshooting
5. Refer Section 5.5.2 CMOS battery maintenance
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by Stephen J. Bigelow, Tata McGraw Hill
Publications, 2001
E-References:
http://www.dalsa.com/corp/markets/ccd_vs_cmos.aspx
http://www.informit.com/articles/article.aspx?p=130913
http://www.ehow.com/how_7570417_access-cmos-configuration-award-
bios.html
Unit 6 BIOS
Structure:
6.1 Introduction
Objectives
6.2 BIOS
Power-On-Self-Test (POST)
Routines
6.3 BIOS features
AMI BIOS
Awards BIOS
Microid Research BIOS (MR BIOS)
Identifying the BIOS chip
6.4 BIOS and boot sequences
6.5 BIOS shortcmings and compatibility issues
Device drivers
BIOS shadowing
Direct Control
BIOS bugs
6.6 Troubleshooting
6.7 Summary
6.8 Glossary
6.9 Terminal Questions
6.10 Answers
6.1 Introduction
In the previous unit you have seen how settings are important for the
efficient execution of the PC. You have come to know that there are different
parameters which are used by BIOS to start the computer. Each set of
components such as chipset are designed in various ways based on the
requirement. To understand the complexity of the technology by the
computer BIOS is used. BIOSwhich stands for Basic Input Output System is
present in the RAM and used as an interface between computer hardware
and operating system. BIOS give the standard set of functions to access the
operating system. Therefore, each computer has different BIOS with the
same set of functions.
In this unit you will study the working of typical BIOS. You will study how to
identify BIOS versions through some examples. You will also study various
features that can be supported by BIOS. BIOS isnot only meant to support
motherboard but also various components. Whenever a new video card is
developed which is not known to the BIOS then a BIOS RAM chip
subsystems such as video and drive controller is designed. During the
system initialisation the first step is to locate if any valid BIOS ROMs are
present in the upper memory which are referred as adapter BIOS. In a
computer you can fit up to six or more BIOS ROMS like:
System BIOS
Video adapter firmware
Drive controller BIOS
Network adapter board BIOS
Modem card firmware
SCSI adapter BIOS
Objectives:
After studying this unit you will be able to:
Explain the working of BIOS.
Identify various features of BIOS.
List the boot sequences for various BIOS versions
get various shortcomings and issues related to BIOS
Identify the basic problems in BIOS and resolve through troubleshooting.
6.2 BIOS
BIOS or BASIC Input Output System is an electronic program that instructs
the computer to start operation.It is a collection of instructions located in the
ROM chip that are designed to manage themselves even when there is disk
failure.BIOS occupy 128KB of upper memory space (as you studied in unit 2
UMA is the space of real mode memory which is dedicated to handle
memory requirements of the physical computer system) in the motherboard.
The main function of BIOS dependson three sections. They are POST,
CMOS Setup routine and the system services routines. The typical working
of Motherboard BIOS function is as shown in Figure 6.1.
BIOS instruct the POST to perform the checking operations to verify that all
the components required to boot the system are available and working
properly. It instructs the Setup routine to configure the hardware and RAM. It
instructs the Service routines to form a layer between hardware and
operating system
6.2.1 Power-On-Self-Test (POST)
Power-On-Self-Test is a routine that is run to ensure that all the components
and functions of the computer are working correctly to start the computer
successfully. The POST only checks the system for availability of resources;
however, POST also manages the initialization of computer system entirely.
It performs the following steps, along with a check for availability of
resources.
Initialization of all the activities for the PC is done by POST.
System RAM and ROM instructions need to undergo a low-level
diagnostic and reliability test which is done by POST.
POST checks the CPU, motherboard start up, CMOS for system
configuration data (the 128 bytes of CMOS)
POST sets up the index interrupt vectors for the CPU ranging from
0000h to 02FFh, i.e. ranging from 0 bytes to 768 bytes. Address 0000h
to 02FFh is the on-chip expanded RAM area, totally 768 bytes.This area
canbe accessed by external direct addressing mode with instruction.
POST then sets up a BIOS stack area ranging from 0300h to 03FFh,
i.e., 769 bytes to 1023 bytes.
Manipal University Jaipur B1416 Page No.: 107
Understanding PC and Troubleshooting Unit 6
its control back to where the PC had left before the interrupt occurred.
Interrupts can be produced from three major sources:
The CPU
A hardware condition
A Software condition
The CPU produces an interrupt which is known as processor interrupts. This
interrupt is caused when a program turns out to be unusual, unexpected or
erroneous. For example, since any number divided by zero is infinity,
whenever a program tries to divide a number by ZERO, the CPU will take it
as integer value and generate INT 00h, which causes an error message as
“Divide by zero” error. INT 00h is executed after an attempt to divide by zero
or when the quotient does not fit in the destination.
Hardware interrupts are generated when any external device requires
special attention form the CPU to perform a specific function. IRQs are
asserted with logical level to invoke this kind of interrupt. When this happens
CPU interrupts its current activity and gets busy in the hardware activity
caused by the interrupt. When this task is completed CPU resumes its
original task. For example, whenever you press a key in the keyboard, it
asserts a logical level corresponding to INT 09h. This invokes keyboard
handling routine. INT 09h is called after every key press and release and
during the time when a key is being held.
Software interrupt is generated when a CPU needs to check the hardware
device. For example, whenever you press “PRNTSCN” (print-screen)
button, it generates INT 05h. the interrupt will simply store the video or text
buffer to the printer port. INT 05h is executed when Shift+PrintScreenis
pressed and when the BOUND instruction detects a bound failure.
System service gives functionality to the computer devices where the setup
makes the system configured to the various devices.
Self Assessment Questions
1. ____________ is present in RAM that acts as an interface between
computer hardware and operating system.
2. BISO instructs the service routine to configure the hardware and RAM
(true/false)
3. POST stands for ____________.
4. Which are the two types of routines?
Resources
BIOS features
Support
CPU support Should support wide range of CPUs specifically based on
the manufacturers like Intel, AMD Cyrix.
Look for Pentium series.
Chipset support Should support the new chipset families like Intel’s Core 2
and AMD CPUs
This support is very important because chipset is
responsible for motherboard designers to implement the
other features like memory architecture,BUS architecture,
etc.
Memory Support Should support the modern memory and auto-size itself
Parity and error checking and correction (ECC) should be
supported.
BIOS can support upto 4GB of RAM
Drive support Should support 32-bit disk transfers.
BIOS should also support removable media drives like zip
(medium-capacity removable disk storage system) or
SyQuest (it is a removable mass storage system that
comes in 44 Mb and 80 Mb sizes and a product of SyQuest
Co.) drives.
BIOS may also support RAID functions
Power Should support the ACPI (Advanced Configuration and
Management Power Interface is a standard specification provides an
Support open standard for unified operating system-centric device
configuration and power management)specification.
Power management is very much important for desktop and
lower version of the system to avoid wastage of energy.
Should support DPMS (Display Power management
Signalling is a specific standard used to reduce the power
consumption in the monitor) for monitors and other display
devices
You are aware that BIOS is classified depending upon the type of its
manufacturers. Some of them are discussed here.
AAAA is the BIOS types which also include chip identification code
BBBB is the AMI customer Reference number which is the code of the
motherboard manufacturers.
DDMMYY is the date on which the BIOS is released which is given in
day/month/year format.
Kx indicates the keyboard BIOS code and x indicates the level of its
revision.
If you consider recent AMI BIOS, the code usedis A#-BBBB-CCCCCC-
DDDDDDDD-EEEEEE-FFFFFFFF-G format in which
A is the CPU types which identifies the CPU vintage, where 8086 is
represented by zero, 8088 by 1, 80286 by 2, 80386 by 3, 80486 by 4,
Pentium by 5 and so on and # represents the size of the BIOS where 0=
64KB and 1=128KB
BBBB represents the version number that you can use to identify the
current BIOS on the system.
CCCCCC represents the AMI customer Reference number which is the
code of the motherboard manufacturers.
DDDDDDDDdefines the key operating attributes of the BIOS and is a
set of eight logical flags. They are:
o Halt on error during POST
o Initialize CMOS RAM at every boot
o Keyboard controller output pin 23, 24 blocked
o Mouse support in BIOS and keyboard controller
o Wait in case of POST error
o Display floppy error during POST
o Display video error during POST
o Display keyboard error during POST
EEEEEEis the format for date on which the BIOS is released. This is
given in (day/month/year) format.
FFFFFFFFis the BIOS types which also includes chip identification code
Gindicates the keyboard BIOS code and indicates the level of its
revision.
Activity 1:
Try to collect some more formats of BIOS code representation and using
the specification manual try to identify the manufacturer.
Hint: Refer the concept of symptom of motherboard in the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
3. Power-on delay: the soft and hard reset bits will get reset in the system.
Here the failure indicates that the keyboard controller or system clock
generator chip has a problem.
4. Initialize chipsets: BISO initializes the motherboard in the system. The
failure here indicates that there may be some problem caused by
chipset, BIOS or clock generator chip.
5. BIOS ROM checksum: ROM contents undergo checksum test and
adds the factory preset value which is equal to 00h. 00h is a default
value set to the ROM for checking the error free BIOS ROM. If error
occurs this value is not equal to default value. The failure indicates that
BIOS ROM is defective and hence not equal to 00h.
6. Keyboard test: buffer space is set for the commands by sending the
command to the keyboard controller. A failure indicates that there is
some problem with keyboard controller chip. In some BIOS
thekeyboard and keyboard controller (KBC) are initialized. Problems
here are due to keyboard connection faults, or a failure of the KBC
chip.
7. CMOS shutdown check: CMOS RAM test, CMOS checksum
calculation and updating of CMOS diagnostic byte are done by BIOS.
The problem can occur in the RTC/CMOS chip or CMOS battery.
8. Disable video: it disables the video controller chip. The failure indicates
that there is problem in video controller board itself.
9. Memory test: check for amount of availability of memory. Problem
indicates that there is some fault in the memory chip.The first 356KB of
memory is tested with any diagnostic routines in the chipsets. A fault at
this point is normally due to defective memory chips, SIMMs or DIMMs.
10. Check memory refresh: it uses PIT to refresh memory
11. Check low address lines. The system checks the first 16 address lines
controlling the first 64KB of RAM. A problem with this test typically
means a fault in an address line.
12. Check low 64KB RAM. The system now checks the first 64KB of
system RAM. A problem here is usually the result of a bad Ram chip
13. Initialize support chips: BIOS proceeds to initialize the programmable
interrupts timer (PIT), the programmable interrupt controller (PIC), and
the Direct Memory Access (DMA) chips. A fault here would be located
in one of those locations.
14. Load INT vector table: BIOS loads the system’s interrupt vector table
into the first 2KB of system RAM
15. Check the keyboard controller (KBC). BIOS reads the keyboard
controller buffer at I/O port 60th. A failure here indicates a fault in the
keyboard controller chip.
16. Video tests. The system checks for the type of video adapter in use,
then tests and initializes the video memory and adapter. A problem with
this test typically indicates a fault with the video memory or adapter,
respectively. Video memory is tested on “Mono” and “CGA” adapters (if
installed). Check the adapter card if trouble occurs here.
17. Load the BDA: The system now loads the BIOS data area (BDA) into
conventional memory
18. Test memory: BIOS checks all memory below IMB. A problem here is
typically the fault of one or more RAM modules, the keyboard controller
chip, or a bad data line.
19. Check DMA registers. BIOS performs a register-level check of the DMA
controller(s) using binary test patterns. The failure indicates the
problem in DMA chips.
20. Check the keyboard: The system performs a final check of the
keyboard interface. A failure indicates the fault of the keyboard
21. Hard Drive test. Test and initialize the hard disk controller and drive. If
there is trouble here, there may be an improper setup, a bad controller,
or a defective hard drive.
22. Perform high-level tests: it test high-level devices as the floppy and
hard disks, serial adapters, parallel adapters, mouse adapter, and so
on. The failure results in corresponding text messages display.
23. Load the OS: It loads the operating system by triggering the INT19th
which is a routine. A failure indicates with an error message such as
“Non-system disk”.
24. Security. The system will ask for the password (if one has been
configured). If this does not happened, check the CMOS data or the
CMOS RAM chip. For Example, a CMOS password may have been
cleared if the CMOS backup battery has been removed.”
Activity 2:
Consider a situation when an error occurs in the BIOS. What are the
stepsyou will follow to rectify it?
6.6 Troubleshooting
You have seen that the system can generate a number of error messages
when any problem occurs. When you start the computer it undergoes
Power-On-Self-Test (POST) which conducts a number of tests to check for
the availability of peripherals and ensure their correct working. POST
generates two types of error messages. They are:
Beep codes
POST codes
Beep codes are generated during the POST process as the first step of
general process of checking the system which is called as initial program
loading, booting or boot strapping. If you find a beep code in the system
after the POST then it means that some problem has been encountered that
has not been able to display on the monitor. These beep codes are
generated through the speakers after the video system has been executed.
You can find out the meaning by following the steps given below:
1. Hear the beep code switch on the computer
2. Listen carefully the beep code to identify the type of the beep code
3. You need to guess the meaning of the beep sound according to the
number of beeps heard. For example if you hear “beep-beep-beep”
beep code it has different meaning than “beep-beep” beep code.
4. After recognizing the beep code the method used to troubleshoot the
problem depends on the type of the BIOS manufacturer.
When the BIOS start with the Self-Test of the components on the
motherboard, it goes through several steps of checking, testing and
initializing the hardware components. Before entering each step, the BIOS
writes a 2 digit hexadecimal identifying code (FF: which resembles the final
code or 01 indicating the initialization) to an external address. This code is
commonly referred to as a POST code. The meaning of the codes varies
widely. These codes are useful during the manufacturing process to help
identify problems. To the consumer, they are useful in cases where the
system won't boot up and the video screen does not work, or if you are
attempting to make modifications. If the BIOS detects a problem, execution
stops at the problem place, and the last code in the output will indicate what
the failure is.
Activity 3:
1. How do you rectify if your EISA configuration is not complete?
2. How do you rectify the floppy disc controller failure?
3. Find out what INTR #1 error is.
Hint: Refer the concept of symptom of motherboard in the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
6.7 Summary
BIOS stand for Basic Input Output System and are added on ROM chips to
provide an interface between the raw PC hardware and standardized
operating system. In general BIOS contains three major sections like POST
(Power-On-Self-Test), Setup and System Routines. POST performs a low
level diagnostic and reliability test of all the main components of the system.
When the POST encounters a problem then it stops and the CMOS Setup
will come up with an error message. System service routines are the
functions that form the layer between hardware and the operating system.
Whenever there is necessity and a specific function has to be carried out
always see that the operating system is interfaced with Interrupts which are
the small programs that make the running application and take the control to
required module.
There are specific types of features which help the BIOS in controlling and
testing the various components of the system. Some of the major areas that
need support from BIOS are CPU, Chipset, Memory, drive, power
management, I2/O, PnP, Parallel port, etc.
BIOS will differ in its featuresdepending on the manufacturers. Some of the
prominent manufacturers of BIOS are AMI, Award, Phoenix, etc. You also
studied the various format used in BIOS code by various manufacturers.
Like the BIOS code, boot sequences also vary with manufacturers. You
have discussed on the shortcomings and compatibility issues of BIOS which
threw light on device drivers, shadowing, direct control and bugs. These
issues and problems caused in BIOS can be rectified using the error
messages which are displayed during or after the completion of the POST.
There are two types of error codes that are generated. Beep code and
POST code. Beep codes are formed by the speakers of the system and
POST codes are single byte hexadecimal characters. Whenever there is a
problem in the system it is identified with the help of beep code or POST
code by referring to the manufacturer’s manual.
6.8 Glossary
Term Description
ECC Error Checking and Correcting is a permit that can detect single
and dual bit errors, and can correct single bit errors.
RAID Redundant array of independent disk is a method of storing data
on multiple hard disks in different places which allows performing
overlapping of I/O operation increasing performance.
Parity Parity is a error detection form that uses a single bit to represent
the odd or even quantities of '1's and '0's in the data.
ACPI Advanced Configuration and Power Interface is a standard
specification provides an open standard for unified operating
system-centric device configuration and power management.
DPMS Display Power management Signalling is a specific standard used
to reduce the power consumption in the monitor
Intelligent I/O This has the capability to assign the input/output devices to a port
freely available.
PnP It is an option for the computer that gives it a feature of
automatically discovering the hardware components as soon as it
is connected to new component without the intervention of manual
installation or configuration.
USB Universal Serial BUS is a specification used by the system to
transfer data between the computer and the external digital
device.
Antivirus It is a software which is used to protect computers from any kind
of malware, virus, Trojan horse, etc that may cause harm to the
computer.
Drive It is a mechanism to read and write data on the storage types. It
may be hard disk drive or floppy disk drive.
6.10 Answers
Self Assessment Questions
1. BIOS
2. False
3. Power-On-Self-Test
4. Setup routine and system routine
5. Manufacturer of the BIOS
6. a. True
b. False
c. True
7. AAAA-BBBB-DDMMYY-Kx
8. DD/MM/YY
9. Load the BDA
10. Vector
11. BIOS shadowing
12. BIOS bugs
13. Beep code and POST code
Terminal Questions
1. Refer Section 6.2, Motherboard BIOS
2. Refer Section 6.3, BIOS features
3. Refer Section 6.3.2, BIOS features and also refer the manual for
specification on Award BIOS.
4. Refer Section 6.4, BIOS and Boot sequences
5. Refer Section 6.6, Troubleshooting
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by StephenJ.Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by ScottMueller,
Que publishing, 2003
CMOS, Circuit design, layout and simulation, third edition by
R.JacobBaker, Wiley IEEE publishing, 2010.
E-References:
http://www.postcodemaster.com/
http://www.biosman.com/biosrecovery.html
http://faydoc.tripod.com/structures/05/0546.htm
http://www.computerhope.com/beep.htm
7.1 Introduction
In Unit 6 you have seen how BIOS plays an important role in starting a
computer while in the previous Unit 5 we discussed how CMOS performs
the function of checking. For all these tasks to be performed you need to
switch on the computer which in turn requires power supply. A commercial
AC (Alternate Current) is converted into one or more levels of DC (Direct
Current) by power supply which is used by electronic and electromagnetic
devices. A faulty power supply may cause damage to the keyboard, CMOS
settings, BIOS, data loss, or may even cause motherboard damage. In the
past few years Power has become a very vital resource. Power
management is also as important as power supply.
This unit not only explains the simple operation of switching on power
supply but also offers guidelines for selecting and upgrading the supply, and
also offers solutions for the problems arising from it. Moreover, you will learn
how to review the power management schemes of desktops and laptops,
how to use these schemes and how to troubleshoot the troublesome power
management problems.
Objectives:
After studying this unit you will be able to:
Explain the concepts of switching regulations
Recognize the potential power problems
Perform the upgrading of the power supply
Identify the power management problems
Resolve the problems through troubleshooting.
In the figure you will observe that AC voltage is given as input and is
immediately converted into to DC. This pulsating DC voltage is passed
when the load on the circuit decreases, the power consumption is less. In
this case the voltage is regulated by normalizing the duty cycle.
Advantages of switching power circuit
When the switching transistor is on, the current is drawn in the primary
circuit. Therefore, power wastage is very less in the primary circuit.
The secondary circuit provides just enough power to keep the load
voltage regulated. Therefore, power wastage is very less in the
secondary rectifier, filter and switching circuit.
This concept can reach a higher efficiency than linear supplies.
Components are small in size and packed tightly.
Disadvantages
It acts as radio transmitters and causes problems in radio and television
reception.
The shield on the switching circuit needs to be replaced very often,
whenever power supply is repaired.
Strong electromagnetic spectrum can easily disturb the working of the
logic circuit.
There is not enough noise in the circuit to interfere with the load as all
the noise has been removed by the filter which is designed with care.
The output voltage will always have some amount of high frequency
ripple.
Troubleshooting is very difficult as it contains many components.
In actual practice, an integrated circuit has sensing and switching functions.
AC line voltage is transformed into DC line which is then rectified and
filtered by the single chip regulator. The chip is responsible for chopping the
primary DC into chopped DC and the output voltage is sent back to the
switching chip which continuously sets and adjusts the duty cycle based on
the requirement.
error message or when you have just finished upgrading the device
driver and face trouble, you could attribute it to power problem. There
could be more chances of power problems whenever you shift the
system to a different location.
Hard drive data is lost or corrupted: this problem may occur due to many
factors like losing data cable or getting operator error Therefore, it is
essential to confirm that there is proper connectivity. If you find a
problem in drive reading or writing to the disk, then check the power
before attempting disk back up or running any diagnostics Because if
you do so without rectifying the power problem you might end up
causing still more severe damage. If your check returns no error then
you can continue disk diagnostics. The problem of hard drive data being
lost or corrupted could be caused when you install another drive or when
you expand the motherboard.
Trouble in communicating with modems or peripherals: when using
modem and mouse you might come across a number of communication
errors like modem driver missing, mouse not connected, etc. Therefore,
you must first ensure that all the peripherals are connected and
configured properly. The systems which are ready and working may
develop problems midway or difficulties may occur while working with a
printer which could be due to power problems.
Hardware failures: The characteristic of this type of problem is its
recurrence.. For example, when you see memory error, you will replace
the memory and after few days the same error may recur. This means
that there are some spikes in the power supply AC line. Sometimes
power problems could cause the whole system to crash yet the real
problem might not be apparent. In extreme cases, a severe power
problem can damage one or more chips on the motherboard, expansion
boards, or drives.
7.3.2 Dealing with Power problems
Now that you are equipped with the knowledge of detecting power
problems, you can take steps to rectify them. The chronic problems listed
above would have given you an idea that power problems should not always
be attributed to power supply fault. It is very important to keep in mind that
before switching the PC on, you should always check for AC line voltage.
Check for AC: Although oscilloscopes are used to measure and view the
voltage they are very expensive to measure smaller Hz of memory
Therefore, you can follow below steps to test the AC:
o You can check for AC voltage for providing the right amount of
voltage. You can use multi-meter to measure the output at wall
outlet. Check for any obstruction in the circuit that causes low
supply of voltage.
o Check if any other device like air cooler which draws high energy,
exists in the same line. Then try to switch off all the devices and
restart your PC. When you want to use those devices again make
sure that your PC is shut down completely.
o If there are no other devices then you must check for a line for
proper outlet or get one line with the help of an electrician, ensuring
that there is proper grounding.
When you are satisfied that all the above conditions are met and still
the problem persists then you could conclude that there is a problem
in the power supply to the PC.
Suspect the Supply: when you suspect that there is some problem in
computer power supply, then there may be a problem in the hardware
installed. You could use a good quality surge protector between AC
outlet and AC cord and also check on another AC line to avoid spikes.
Connect a multi-meter inside the PC to check the voltage level at each
supply. The table 7.1 given below will give you an idea on power supply
wire assignments:
Table 7.1: Index of Power supply pin assignments
You must ensure that the +12Vdc and +5Vdc are correct. If you find that the
output voltage is low then it means that many other devices are using the
same line and the system is overloaded. You can also disconnect the new
device if you have recently upgraded the computer and try starting the
power supply to check. This can verify that the problem existed is due to the
device upgraded or not. Then you start upgrading the power supply.
However, if you find that the problem persists then you must repair the
power supply by troubleshooting or replacing it.
7.3.3 Upgradation
Generally, when a new system is purchased, more importance is given to
specification with respect to CPU speed, memory capacity, or motherboard
configuration but least thought is given to specifying the power supply. It is
important to ensure that proper power supply is provided that support the
new devices like hard drive, CD drive, internal modem, etc.
When you choose a power supply you must consider two important
factors:
Power capacity of the new supply: The power capacity of the new supply
which is measured in watts is the maximum amount of power supplied
safely to a load. Choosing a proper power rating for an upgraded supply
is always measured in approximation. Usually you can calculate the
rating by adding 50W to the original power supply. For example, when
upgrading an IBM AT supply, the actual power supply would be 192W
but it is taken to be the next rating as 242W (192W+50W).
Physical dimensions: The physical dimension of the power supply
device also plays a very important role. The device must fit into the
space given in the PC. You should be able to bolt the device into the
place and see that the mounting holes are aligned with the original
Activity 1:
Suppose you find the system is not switching on how do you suspect
power supply problem?
Hint: Refer Section 7.3.1 dealing with problems
The operating system is responsible for supporting the controls and dialogs
needed for selecting the power management scheme. Windows is
considered to be a premiere operating system and you can configure any
power management settings of the system through power management
properties dialog box. One of the examples of power management dialog
box in Windows XP is as shown in the figure 7.2.
Hibernation: this mode is when you keep your system idle for longer
period say more than a day then it automatically switches off by turning
off the hard drive and monitor first and then shutting down the computer.
There are a number of schemes which are used to control power
management in Windows. Some of them are given below:
Selecting a power scheme: In order to enable standby mode you need
to select a power scheme. To do this follow the steps below:
Click start → settings
Click Control panel
Double click on Power Management icon
You will get a power management dialog box as shown in figure 7.2.
Click the Power schemes drop-down menu
Select from the available choices according to the use of your system .
You will generally have options like Always ON, Home/Office Desk and
Portable/Laptop.
After selecting the scheme the settings like System Standby, Turn-off
Monitor, and Turn-off hard disks will be updated to their default values. You
can tweak the values according your need. Suppose you want to give more
time before turning off the monitor when the system is in idle mode then you
can set the values under “Turn-off Monitor”. After making the changes click
apply and click ok.
Saving/Deleting a Power scheme: when you set the timer values
according to your need and want to save under a unique name, then you
can click Save As and enter the name of your new scheme. This will be
added to your power schemes drop-down list. If you want to delete the
existing power scheme or do not want any of the power scheme names
in the drop down list you can simply select the intended scheme and
click delete.
Manually invoking the standby mode: If you want to put your computer
into standby mode manually then you can use the shutdown dialog box
as shown in the figure 7.3 and click standby.
This can also be done by setting this mode on when the computer power is
on or when you close the laptop display. To do this follow the same step
given in selecting a power scheme section in the earlier paragraphs (refer
figure 7.2)
Click the advanced tab
You will get the dialog box as shown in figure 7.4
Find the drop down list labelled “When I press the power button on my
computer”
Select the “standby” in the list
Click apply and click OK.
Manually invoking the Hibernation mode: As you know Hibernation
mode helps in restoring all the files and folders when it is turned on
again. In order to select this mode you need to (refer figure 7.2)
Click the Hibernate tab
Click on check box labelled “Prompt for password when computer goes off
standby”. You can use your Windows password (system password) for both
standby and hibernate mode.
Configuring Battery Warnings: you can configure your system to give
warnings at the time of low or variation battery conditions and suggest
the PC to act according to the conditions. To do this you need to click
on the UPS tab and configure the settings.
Activity 2:
Set the hibernate mode in your computer and set the password to come
out of hibernate mode.
Hint: Refer section 7.4 power management in windows OS
7.5 Troubleshooting
7.5.1 Switching Power Supplies
Troubleshooting a switching power supply is not an easy task. It requires
more time and extra effort to perform the task. The problem in the power
supply comes in a number of ways which has no standard technique to
trouble shoot. However, if you follow some of the basic tips you may avoid
the problem to a maximum extent.
1. As heat is basically released from the battery and power supply device
cooling is very important. Therefore, you need to have clean fan blades
and open ventilators.
2. The AC line voltage switch must be set correctly for the connected
region.
Activity 3:
1. If you encounter a write data error when using a CD-RW under
Windows XP how will you trouble shoot it?
Hint: Refer troubleshooting power management in the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
7.6 Summary
Power supply plays an important role in PC operation and its components. It
converts AC into one or more levels of DC that can be used by electronic
devices inside the computer. Though you might not be willing to give more
importance to it, in reality any fault in the power supply can create severe
problems in the stability issues, data loss, and also result in damage to
motherboard or drives. You can always prevent the use of power by the
system while in idle state. In this unit you have seen the working of the
typical switching power supply and got to know reliable guidelines for
selecting and upgrading a power supply. Major power management
techniques for computers on Windows operating system were also
reviewed. You also saw how to use those schemes and to troubleshoot
many of the power supply and power management problems.
7.7 Glossary
Term Description
RMS Root Mean Square is the measure of AC voltage which
produces the same volts as DC voltage without showing the
loss of energy
Oscilloscope electronic equipment that provides visual images of varying
electrical quantities and allows observation of constantly
varying signal voltages, usually as a two-dimensional graph
with function of time in x axis and electrical potential
differences in the y axis.
7.9 Answers
Self Assessment Questions
1. Feedback loop
2. Single chip regulator
3. Duty cycle
4. a. False
b. True
5. Not boot
6. Power problem
7. Power OK
8. Capacity or the new supply, physical dimensions
9. Operating system
10. Hibernate mode
11. Hibernate
12. a. True
b. False
Terminal Questions
1. Refer Section 7.2, Switching regulations
2. Refer Section 7.3.1, recognizing the problem
3. Refer Section 7.4, Power management in Windows OS
4. Refer Section 7.5.1, Switch power supplies.
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by Stephen J. Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by Scott Mueller,
Que publishing, 2003
E-References:
http://eetd.lbl.gov/EA/Reports/39466/
http://www.microsoft.com/windowsxp/using/setup/learnmore/russel_
02march25.mspx
http://www.tech-faq.com/configuring-power-management.html
http://www.microsoft.com/windowsxp/using/setup/learnmore/russel_
02march25.mspx
8.1 Introduction
In unit 2 we discussed about Memory and its features which is used to store
data in the computer. We got to know that memory is divided into primary
memory as well as secondary memory. Both the memory devices require an
engine which helps in working of the storage devices. During all the
evolution of computers we depend on the storage devices for storing data
and information. Earlier computers used floppy disc to store the data. With
Manipal University Jaipur B1416 Page No.: 142
Understanding PC and Troubleshooting Unit 8
8.2.1 Construction
Hard drive consists of magnetic read/write heads that reads the data from
the rotating discs.
It consists of the different part which serves the different function of the hard
disc. Hard disc consists of one or more rough and solid substrate called as
Platters. Platters are made out of aluminium as it is a light material. They
are circular in shape and magnetic substances are coated to both the sides
of the platters for read/write the data. A two or more magnetic heads are
connected to the platter in order to read/write the data into the disc. Platters
move on the common axis and heads are allowed to move on the radius on
the platter. Therefore it allows the heads to read all parts of the surface.
The information of each division of the platter is formed to represent a
specific location. This forms a design of set of concentric circles which is
used to record the data. Each concentric circle on a platter is called as
atrack and these tracks are further divided into sections. When the head of
one surface on one track, the head of the corresponding other surface is
also on the respective track. All the tracks are together called as cylinder.
Sometimes track and cylinder are used interchangeably you can see a
typical assembly of platter and its data organization in the figure 8.1.
read/write head between another delay added by the track to the hard
drive performance. There are number of ways in seek time listing they
are track-to-tack seek, full stroke seek and average seek.
Track-to-track seek is the time required to step between two adjacent
tracks on the platter.
Full stroke is the time required to step from inner most to the outer most
tracks. This time is relatively longer. The average seek time is half the
full stroke seek time.
Seek and latency is together needed to load and save files. For
example, while loading a file certain amount of seek time is taken to
locate the track which contains starting of the file. There is some latency
during the platter rotating around the necessary sector.
The major parts of the hard disk are the frame, platters, read/write
heads, head actuators, spindle motor and electronics package.
o Frame: The frame is also called as chassis which is an important
part of the hard drive. This affects the structural thermal and
electrical integrity of the drive. In order to mount the other
components on the hard drive the frame must be strong and provide
steady platform. Therefore cast aluminum is used in larger drives for
chassis and the smaller drive in the laptop computer uses a plastic
chassis.
o Read/Write Heads: Read/write head form the interface between the
electronic circuitry and magnetic media of the hard drive. While
writing, electronic signals are translated into the magnetic flux
transitions with the help of a head which saturate points on the
media where the transition takes place. The read operation works
almost reverse to this process. Here flux transitions induce electrical
signals in the head that are amplified, filtered and translated into
respective logic signals.
o Head Actuators: Hard drives use voice coil motors which are also
called as rotary coil motors which are used to actuate head moment.
Voice coil motors work with the principal of analog meter moments
that is a permanent magnet is enclosed within two opposing coils.
When there is a current flow in the coil, it produces a magnetic field
which opposes the permanent magnet. In order to cause a deflection
The modern standards of external data transfer are listed as PIO and
DMA modes. The DMA data transfers mean that the data is transferred
directly between the drive and the memory without using CPU as an
intermediary whereas PIO data transfers uses CPU between the drive
and the memory.
Drive Caching: Hard disk contains an integrated cache which is also
called as buffer. The purpose of the buffer is similar to other caches. It is
not a part of PC cache hierarchy. Cache acts as a buffer between a fast
device and a slow device. The results of the recent disk read or stored in
cache and whenever it is requested it fetches the information.
Cache is used improve the performance of hard drives by reducing the
number of physical access to the disk.
Troubleshooting: The problem related to hard drives are very
importantly resolved because if you lose some programs and data it is
major lose for user but many drive problems are recoverable without
replacing the drive.
You can follow the below guidelines for troubleshooting the problem in the
hard drive.
o Be careful for power and static discharge: whenever you change the
jumpers or unplug the cables and cards make sure that you have turn of
the computer. Wear an antistatic wrist strap when you are working on
your computer or handling drive.
o Verify compatibly: The drive controller and the drive must be verified so
that they are matched to each other.
o Check all cards: You must ensure that all expansion cards are placed in
their respective slots on the motherboard and securely mounted with
screws.
o Check all connectors and cables: All the ribbons and power cables must
be securely connected. The ribbon cables are prone to get damaged at
the connectors. You need to try with a new cable which is good. You
must ensure that no connector pins are bent. Pin one on the interface
cable must be aligned with pin one on the drive and the controller.
o Verify drive jumper settings: You must ensure that you have installed
all the necessary jumpers and removed the incorrect and duplicated
jumper settings by reviewing the instructions in the manual.
o Check your power supply capacity: whenever you add a new device to
your computer you must ensure that it gets sufficient power supply for
that device.
o Verify the drive settings in the CMOS setup: The drive settings in the
CMOS setup must not exceed the physical specification of the drive. It
should also not exceed the limitation set by the operating system and
the BIOS.
o Check for viruses: your system must be periodically scanned for
viruses. Before using an unknown device in the computer for the first
time scan it for viruses.
Activity 1:
How do you troubleshoot a hardware problem when you encounter an
invalid command line error when using any kind of Nuts and Bolts.
Hint: Refer the concept of troubleshooting an hard drive from the book
Troubleshooting, Maintaining and Repairing PC’s by Stephen J. Bigelow
only read data and it cannot write. It is known for its low cost, good
reliability and broad media compatibility.
CD Media: CD’s are produced by stamping the pattern of pits and lands
onto a molded polycarbonate disc which is also known as substrate. The
substrate is covered with a silvered coating which allows in reflecting the
laser light. A tough scratch resistant is coated on a disc after silvering.
Finished disc is labeled through silk screen (It is a printing technique in
which artwork is converted onto films to create a fine mesh screens).
CD data: CD’s are recorded as single continuous spiral track running
from the spindle area. Fig 8.4 shows an example of spiral pattern as it is
recorded on the CD. The inside dotes lines shows the relationship
between the pits and lands. CD’s use a highly focused laser beam and
laser detector to sense a presence or absence of pits. When laser light
strikes the land it reflects light towards the detector which produces a
very strong output signal. When the laser light strikes a pit the light is
slightly out of focus.
EFM Basics: EFM stands for eight to fourteen modulations is a complex
decoding process that convert sequence of pits and land into meaningful
binary information. EFM is used by CD to obtain the ability of placing a
large number of bits into a limited number of flux transitions, user data,
error correcting information, address information and synchronization
pattern are contained in the form of bits stream which is represented by
pit and land. Flux transition is the bits encoded by magnetic media and it
is not the discreet orientation of any magnetic area.The EFM encoding
technique equates each byte (8 bits) with a fourteen bit sequence which
is called a symbol. In this technique each binary one must be separated
by atleast two binary zeros.
Data storage: A CD-ROM contains twenty four synchronization bits,
fourteen control bits, twenty four data symbols and eight complete error
correction symbol (EC). You must always keep in mind that three
merged additional bit separates each symbol by bringing the total
number of bit in the frame to 588. Therefore 588 bit on the CD-ROM
represent 24 bytes of data which can be expressed as a number of pit
and land. There are ninety eight frames in a data block. Therefore each
block carries 98x24 which is equal to 2048 bytes. The data delivered by
the basic CD-ROM to its host computer is equal to 153.6KB (75 blocks)
of data per second.
As u know the CD-ROM disc is recorded as one continuous spiral track
around the disk, the ordinary sector and track id information that we attach
to the magnetic disc does not apply very well rather the information can be
divided in terms of 0-59 minutes recorded initially at the beginning of each
block. In normal production the CD-ROM run between 553 to 650 MB caring
of compact disc. CD is reliable data storage medium for long term. The life
of the CD is affected by its physical storage and handling. You can follow
some of the following tips to protect and maintain the disc.
1. Avoid bending the disc
2. Never heat the disc
3. Avoid scratching the disc
4. Keep away chemicals from the disc
Excessive dust and finger print interfere with the laser beam can cause disc
read error. When this happens it can be cleaned by a dry soft linen cloth. Do
not wipe the circular motion with your hand fingers. Always store the disc in
a cradle during storage or travel.
8.3.2 Construction
All the drives must be able to accept the standard size disc from variety of
surfaces. Even then the drive must spin the disc at the constant linear
velocity (CLV). CLV is a qualifier for the rated speed of an optical disc drive
and the writing speed of recordable disc that means disc speed varies
inversely with the tracking radius. Whenever the tracking comes almost near
to the disc edge the disc speed slow down and vice versa. Typical working
of the CD ROM can be shown with the help of a exploded diagram of CD
drive as in the figure 8.2.
8.3.3 Troubleshooting
CD-ROM installation is a very easy task. But the problems lie in the
compatibility issues, poor media quality, outdated drivers, conflicting
software applets, and operating system versions. In this section you will get
to know few troubleshooting procedures for CD-ROM drives.
Changing the Drive letters: As you know that the windows will assign a
specific letter for each CD drive in the system during the start time, we will
have initially default letters for the drives. Though we may have the initial
adjustments automatic we can change the Drive letter as per our name. but
we should take few measures while changing the drive letter. The following
will give you steps to change the drive letter.
1. you need to click start → settings → control panel
2. double click the system icon → click the Device Manager tab →click the
settings tab
3. in the Reserved Drive Letters section, set Start Drive Letter and End
drive letter to the specific drive letter you wish to use for your CD-ROM
→ click OK repeatedly till you return to the control panel.
4. Restart the computer to see you changes effected.
Auto Insert Notification (AIN): sometimes you may observe that the CD
drive blinks for every few second even if there is no read/write operation is
happening. This is due to the Auto Insert Notification (AIN) feature of
windows that allows the disk to automatically identified and set ready when
the disk is inserted in the drive. Normally there is no harm with AIN but
Activity 2
Try to optimize your CD drive settings and give a broad overview of the
result.
Hint: Refer the concept of CD drive performance under section 8.3.3
You can increase the life of your disk by following some of the rules
given below:
1. You should not bend the disk.
2. You should never heat the disk as the material used is plastic.
3. Avoid scratches on the disk. Circular scratch can entirely wipe the data
from the DVD.
4. Avoid using chemicals to clean the disk.
The rear view of the DVD drive looks similar to the one given in figure
8.4.
It used 4-pin connector to connect to the power. The signal connector may
be SCSI that can be directly connected to existing drive adapter. You can
set a series of small jumpers to set the drive identify. There are two audio
output connectors. One is 4-pin connectors that attaches to the sound board
and the other 2-pin connectors that’s supplies sound to a digital recording
system.
The MPEG-2 decoder: though DVD disk can easily provide 4 GB of storage
which is still not enough space to hold the audio and video data required for
an average- length movie. Movie data are highly compressed during being
recorded. This creates problemswhile playing as while decoding it may give
broken audio or dropped video frames. Therefore to ensure smooth real
time playback of the DVD movie, hardwarebased MPEG-2 decoder card is
added to an available PCI slot and connector directly to the monitor. The
decoder decompresses the MPEG-2 information relieving a tremendous
amount of work from the system processor. Decoded audio from the movie
is also passed from the decoder card to the sound card using CD audio
Activity 3
How to troubleshoot when your DVD drivers refuse to get installed?
Hint: Refer the concept of troubleshooting DVD drive from the book
Troubleshooting, Maintaining and Repairing PC’s by Stephen J. Bigelow
control the Mark edge position precisely. The output signal of Write Pulse
Compensator goes through Laser Driver and Optical Pick-up. The optical
pick-up has a spherical aberration compensator to focuson the both layers
of the Dual Layer disc. The reproduced signal was equalized and filtered
and passed through PRML decoder to correct the initial bit error.
The standard disk size is of 12 cm in size. The single layer blu-ray disk can
handle up to 25GB of data and dual layer disk can handle up to 50GB of
data.
Types of Blu-ray disk: the Blu-ray disk can be differentiated based on
storage capacity of the disk. They are,
o Mini Blu-ray Disk: Mini disk size has the physical size of 8 cm. In this
type, the single layer Blu-ray disk can handle 7.8 GB of date and
dual layer disk has handled 15.6 GB of data. This version has been
designed for compact recording devices like compact camcorders
o Blu-ray disk recordable: this refers to two types of optical disk format
that is used with an optical disk recorder. They are BD-R and BD-
RE. BD-R disk can be written only once. BD-RE is a recordable and
can be re-used by erasing the existing data for multiple numbers of
times.
o BD9 and BD5: this was proposed as a cost-effective to 25/50 GB
BD-ROM disks. In this type it used the same codecs and instructions
pattern as the Blu-ray Disk video to record at a low cost. BD5 is the
lower capacity version with an idea of using inexpensive DVD media
for recording using single-layer 4.7 GB DVDs.
o Later multilayered recordable disk in BDAV format (Blu Ray Disk
Audio/ Video is a format that support Audio and video) with a speed
of 2X (72 Mbps) and 4X (144Mbps) that was capable of 100/128GB
called BD-R 3.0 came into existence.(Blu-ray Disc recordable (BD-R)
refers to two optical disc formats that can be recorded with an optical
disc recorder. BD-R discs can be written to once.BD RE is the ideal
format for making sequential backups, or recording video for time
shifting purposes. BD-RE can be erased and re-recorded multiple
times. Along with a multi layereddisc rewritable in BDAV with the
speed of 2X and 4X, capable of 100GB called BD-RE 4.0 (upgraded
version of BD-RE)also became in use.
8.5.3 Troubleshooting
No Power on the Blu-ray drives: If you find difficult even to power up
your Blu-ray player, then you must, check for the secure connection of
the power cord. Check the outlet by plugging any other device like lamp
or clock. Even then if your Blu-ray drive does not turn on, then servicing
may be required.
No Picture from the Blu-ray drive:if the power light is on and you are
able to see the picture then, you need to check to make sure all cables
are securely connected to the television and that they are in the correct
ports. Check the input settings on the television to make sure you are
set to the right channel or selection. For example, your TV may need to
be on channel 2 or have the HDMI input option selected. Refer to your
television's user manual if you are unsure which settings apply. You can
also check by restarting the TV. Ifstill the picture don’t appear then,
output video format is not correct. You can hold the stop button for more
than ten seconds so that the setting are reset and may correct the
problem.
Some disk is not playing on the drive: suppose any disk is not playing on
the Blu-ray disk drive, you must remove the disk and clean the disk for
any dirt. Cleaning may sometimes help you in solving the problem. You
must be sure that you are placing the disk in a proper direction and not
upside down. You must always use the original disk and appropriate
disk format which the drive is able to support.
This device is less expensive and very reliable and durable source of
storage media. The flash drive is used for the same purpose like CD-ROM
and floppy disks.
8.6.1 Essential component of flash drive
Flash drive consists of four parts. They are,
Male type-A USB connector: this connector is used to connect the flash
drive to any computer available in the computer world. Male type-A USB
connector provides a physical interface to the host computer. This is
similar to the contact shown in the figure 8.6
USB mass storage controller: This controller implements the USB host
controller. USB mass storage controller contains a small microcontroller
along with a small amount of on-chip ROM and RAM.
NAND flash memory chip: is a nonvolatile data storage medium that
requires no power to retain the stored data. These are mostly used in
digital cameras, memory cards, USB flash drives, etc. it is shown in the
figure 8.6 labeled as NAND EEPROM and bonding wires.
Crystal oscillator: .A crystal oscillator is an electronic oscillator circuit
that uses the mechanical resonance of a vibrating crystal of electric
material to create an electrical signal with a very precise frequency.It is a
very important part of the device.
LEDs: These are small lights that indicate the data transfers.
8.7 Summary
Disk Drives are the machine that reads and writes the data into the
respective disks. The different types of disk drives are hard drives, CD
drives, DVD drives and the latest Blu-ray disk drives and Flash memory
drive.The hard drive is also known as hard disk drive or fixed disk drive. It is
the main and largest storage device on the computer. It is referred usually in
the computer by C: drive. CD-ROM (Compact Disc, read-only-memory) is an
adaptation of the CD that is designed to store computer data in the form of
text, graphics and stereo sound.DVD stands for Digital Versatile Disk that
can hold program, data, audio and video. It is capable of providing up to
17GB of external storage on your computer. Blu-Ray Disk is often referred
shortly as BD. BD is the advanced version of DVD which is made out of
smaller pits and lands. Single Layer BD can store about more than five
times the DVD capacity (almost 25 billion bytes) and double layer BD can
store up to 50 billion bytes. The standard disk size is of 12 cm in size. The
single layer Blu-ray disk can handle up to 25GB of data and dual layer disk
can handle up to 50GB of data. Flash Memory drive also called as USB
flash is an external storage device which can be used to read and write the
flash memory. This device is less expensive, very reliable and durable
source of storage media. The flash drive is used for the same purpose like
CD-ROM and floppy disks. And in this unit we have discussed on the
troubleshooting tips for various types of disk drives.
8.8 Glossary
Term Description
C: Drive It is the default drive in the computer which is basically used to
store the program files.
Disk Drive It is a device that holds and spins an optical disk and reads
information from it.
Floppy Disk It is a magnetic storage media that is made up of a thin flexible
magnetic storage medium sealed in a square or rectangular plastic
carrier lined with fabric that removes dust particle.
Case Mod Computer case is modified in any non-standard way is called as
case mod.
MPEG Moving Picture Experts Group is an organization of experts to sets
standards for audio and video compression and transmission.
MPEG-2 It is a standard used for the generic coding of moving pictures and
related audio information.
8.10 Answers
Self Assessment questions
1. Integrated Drive Electronics
2. Specification
3. CD-ROM
4. EFM
5. Low level device
6. Auto Insert
7. Access time
8. a. True
b. False
c. True
9. True
10. BD-R and BD-RE
11. Blu-ray disk movie
12. Male type-A USB connector
Terminal Questions
1. Refer section 8.2.1: The hard drive construction, fig 8.1, typical
diagram.
2. Refer section 8.3.1: Basics of CD-ROM drive.
3. Refer section 8.3.3: Troubleshooting.
4. Refer section 8.4.2: The DVD drive and decoder.
5. Refer section 8.4.3: Troubleshooting of DVD drive.
6. Refer section 8.5.1: Physical media types of Blu-ray disk.
7. Refer section 8.6: Flash memory drive.
8. Refer section 8.6.4: Troubleshooting a USB flash drive.
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by Stephen J. Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by Scott Mueller,
Que publishing, 2003
DVD demystified, third edition by Jim H. Taylor, Mark R. Johnson,
Charles G. Crawford, McGraw Hill Publications, 2006
How to Do Everything with Windows Vista Media Center, By Joli Ballew,
Justin Harrison, McGraw Hill Publications, 2008
E-References:
http://pcsupport.about.com/od/componentprofiles/p/p_hdd.htm
http://www.wisegeek.com/what-is-a-hard-drive.htm
http://www.faqs.org/docs/linux_admin/x1001.html
http://searchstorage.techtarget.com/sDefinition/0,,sid5_gci214013,00.
html
http://www.jemisp.com/megabyte.htm
Manipal University Jaipur B1416 Page No.: 169
Understanding PC and Troubleshooting Unit 9
9.1 Introduction
You have seen in unit 4 that buses are used to transfer data from CPU to
the peripheral devices connected to it. Port is a hardware that supports the
communication between one computer to another computer and other
peripheral devices. Parallel port is a device that is used to connect and
communicate between computer and various peripherals. In parallel port,
circuit for collage, decode data and control signals are virtually eliminated
because it sends the entire data from computer to printer simultaneously.
Though it is simple, parallel port is not free from failures as there may be
cable problems, static discharge damage, or continuous hardware defects,
leading to printer disconnection. Due to the inadequacy to handle faster
peripherals by the conventional bidirectional port, IEEE released a standard
for bidirectional parallel peripheral interface signalling method. This method
is named as IEEE1284 and it is useful for bidirectional parallel
communication.
In this unit you will study about pin assignment, operation of conventional
parallel ports and also the advances that have taken place. You will also
study the different modes of IEEE1284 and issues related to the standard.
Apart from this, the unit will discuss various troubleshooting steps that you
could use to separate and rectify port problems.
Objectives:
After studying this unit you will be able to:
Describe the operation of the parallel port
Identify the advances in the Parallel port
Resolve the problems through troubleshooting.
9.2 Parallel port functioning
The parallel port interface is one of the simplest circuits in the PC. Figure
9.1 illustrates a typical bidirectional port.
Data signals are the conductors that carry information from the parallel port
to or from the printer or other peripheral. There are eight data lines (D0 to
D7). These lines are located from pin 2 to pin 9. The pin 1 and pin 0 are
occupied by ground signals. Handshaking signals are bidirectional protocol
used between sender and receiver to acknowledge to the sender that the
data has been received. Ground signals are used to reduce the noise
effects in the signal. They also provide common electrical reference
between the computer and peripheral. –Initialize signal (-INI) is initialized to
ensure that the printer starts. It is active low so that the printer will apply
logic 0 to initiate the start. The Select signal (SEL) is used to inform the
computer that the component is ready to receive the data. It is active high so
that the logic 1 indicates that the printer is online and ready.
The computer will know that it does not have to send data when the printer
select signal is logic 0 since it is not ready. In order to verify whether the
data is ready on the parallel port signal –Strobe Signal (-STR) is used. It is
used to accept the data from the peripheral and store it on the printer’s
internal buffer for processing. In order to delay the computer from sending
the data until the printer is ready Busy signal (BSY) is used. When a strobe
signal is received by the peripheral, it drives the busy signal to logic 1. This
remains at logic 1 until the printer is ready for next byte. Busy signals can
indeterminately delay the computer when peripheral error occurs. For
example, whenever the paper gets stuck in the printer or paper is exhausted
or ribbon is jammed, it remains at logic 1 for a long time. Whenever the
printer has to communicate to the computer that it is ready to receive
another character it uses Acknowledge signal (ACK) which is active low
signal.
9.2.2 Port operation
Printer is placed online by parallel data transfer. Initially busy signal must be
logic 0, strobe signal and acknowledge signal must be logic 1. This is the
indication that the printer is ready to accept one byte of data. When the
printing is initiated, it checks the status of the printer setting and the CPU
polls the desired LPT (Line print terminal) port. LPT is the original form and
still commonly used as parallel port interface. If the status shows ready then
a byte of data is written to the data register and passed to the peripheral.
Data must be valid for at least 0.5 µS (microsecond) before the strobe signal
is set to logic 0. Printer responds with the Busy signal by returning a logic
one. This changes the status of the port. The strobe pulse must lasts for at
least 1.0µS. Data must be held at least 0.5 µS after the strobe signal is
passed. This timing indicates that it has enough time to receive data. It is
the minimum requirement of the connector that the data must be valid for
minimum of 0.5 µS below which is the time not sufficient enough to receive
the data. Computer stops sending data now since the Busy signal is logic 1
and previous data is still being processed. Timing diagrams are the artefacts
that are used to explore the behaviours of one or more objects throughout a
given period of time.
Busy signal is set to logic 0 after the data byte is processed by the printer.
Acknowledge signal with logic 1 is sent to the computer indicating that it is
ready to receive the data. This is shown in the timing diagram in figure 9.3
which illustrates this theory. The printer sets busy signal high when it is
processing a character after the select signal in the initialise mode. Once the
busy signal is low that means when the printing of a character is done, it set
the acknowledge signal high and request the printer for new data to send.
In the mode of printing, after the printer line receives a character for printing
request, the character bits are put on the data line. Busy signal is tested
repeatedly until it is found to be low, then the strobe signal is sent. The
printer set busy signals high when the character data have been latched and
sets it low again when the character has been processed. Once the busy
signal is low the acknowledge signal is set high indicating the new data
request. In the diagram you can find the three major types of signals
printers. This mode carries data rate up to 50 kbps at 6 meter or 20 ft. with a
CC-cable which can be increased to up to 150 kbps at 10 meter or 32.6 ft.
Byte mode: this mode requires software drivers to disable the drivers that
control the data signals so that data can be sent from the printer to the
computer. The data is sent at the same speed as sent from the computer to
the printer. This mode is able to send one byte (8 bits) of data transfer and
when combined with compatibility mode can create bidirectional data
transfer line. It carries data rate up to 500 kbps at 10 meter or 32.8 ft. with
CC-cables.
ECP mode: Extended Capability Port mode is an advanced mode for
communication between printers and scanners which allows data
compression for images and FIFO facility for items in queue. ECP provides
high performance bidirectional path between computer and the peripheral.
And supports data rates up to 2 to 4 MB per second. The features of ECP
mode are:
Run length encoding (RLE) data compression for host system’s LPT port.
FIFO buffers for both forward and backward channels.
Feature of channel addressing is used for multifunction logical devices
within a single physical device such as printer/fax/modem devices. For
example, In a printer/fax/modem device, where a single parallel port is
connected to a peripheral device using channel address software driver of
ECP mode, you can assign a new channel to the modem while the printer is
still busy in printing a high resolution image.
This mode carries data rate up to 500 kbps at 1 Mbps at 6 meter or 20ft. or
10 meter or 32.8 ft. with CC-cables.
EPP mode: Enhanced Parallel Port mode was designed to provide a high-
performance parallel interface which could be used with the standard
interface. The EPP mode uses one ISA I/O cycle that transfers data
between the computer and the peripheral devices. This allows data transfer
rate at the speed of 500 KB to 2MB per second, depending on the speed of
the slowest interface. The EPP mode is bi-directional. and suitable for
network adapters, data acquisition, portable hard drives, and other devices
that need speed.
It uses single instruction to transfer data to or from the PC. Moreover, the
EPP protocol provides a high degree of coupling between the peripheral
driver and the peripheral devices.
IEEE issues
While IEEE might be appealing, there are some serious considerations to be
kept in mind while dealing with it. You must specifically ensure that you
have IEEE 1284 complaint parallel port, cable and peripheral devices like
printer, tape drives, hard drive and so on. The main problem in using IEEE
port is using the specific printer cable with older dot matrix printer. To benefit
from IEEE you must have at least IEEE 1284 cable and a device with
significant memory capacity such as a laser printer.
The computer must be able to determine the features of the peripheral that
is connected to it so that it can choose the mode of standard. Therefore, a
method called negotiation was developed to determine these factors.
Negotiation is a series of events that exists on the parallel port interface and
used to determine the requirement of type of mode for the device. For older
device compatibility, mode is selected for operation as it does not respond
to negotiation.
Self Assessment Questions
1. ______________ is a device that is used to connect and
communicated between computer and printer.
2. Data registers are called as ______________.
3. ______________ is any time varying quantity which is generated to
produce the interrupt.
4. IEEE joined with ______________ released a standard for bidirectional
parallel port.
9.3 Troubleshooting
Though the parallel port is a very simple device it can throw some huge
challenges. Although the easiest way would be to replace a port whenever
there is a problem in it, the following tips might help you to detect any
problem in the mother port before you do so. There are three options before
you:
South Bridge chip that supports the parallel port can be replaced. Though
this can be economical it is not common practical solution.
Set the jumpers to disable the faulty parallel port and install a multi
expansion I/O slot to take its place. This offers a cheap, fast fix for a
defective parallel port.
Motherboard can be replaced. This is a simple but very expensive option.
This is the last solution for any technician when the parallel port is defective.
9.3.1 Preventing parallel port trouble
Though the parallel port is very a simple device it is important for you to
address some common issues that manifest themselves regularly. The
following points could be considered before identifying the problem:
Cable: As a cheap or damaged cable can cause serious problem it is
essential that you ensure that the cable length is less than 6 ft. When you
suspect a cable problem try connecting a different cable or a good known
cable. In most cases using the IEEE 1284 cable will solve the problem.
Port mode: you need to choose a right mode for the right device. Not all the
parallel ports operate well on ECP or EPP modes. In case of defects or
problems in the printer try changing the mode to compatibility mode or any
standard mode in the CMOS setup. In high end devices you need to specify
the setting as ECP or EPP to get full functionality of the port.
Hardware conflicts: It is very common to have a conflict if the system uses
second LPT port (LPT2) for IRQ5 because it is mostly used up by sound
boards. The line print terminal (LPT) was designed to operate text printer. If
you have two or more LPT ports in the system, then you need to configure
the sound boards to use another IRQ or to remove the sound board entirely.
Printer driver conflicts: This problem is common when you use certain
parallel port devices such as Iomega Zip drives, SyQuest SyJet drives etc.
The parallel port receives the special reserved non printable characters by
these drives. This signals the drive that the next data is for the drive and not
for the printer. This situation can cause conflicts between the drivers and
each unit might appear like a defective system. Therefore, by using one LPT
port for the parallel port drive and another LPT port for the printer will
resolve the above mentioned conflict.
Check and correct any IRQ conflicts: Check and correct IRQ conflicts.
You need to verify that a particular IRQ allocated to a parallel port is not
used by any other device. This kind of setting is a problem with sound board
and IRQ 5. You need to remove or reconfigure the device which has
conflicts. For example, consider a SyQuest drive. If you have no SCSI
controllers listed, then it indicates that a SyQuest Windows driver is
prevented from loading, indicating an IRQ conflict.
Check and remove any similar device drivers: whenever you upgrade a
parallel port device ensure that the older driver is removed so that there is
no interference with the new device drivers. For example, if you have
upgraded your Windows with SyQuest Windows’s parallel port drivers and
another removable media device such as tape backup running a device
drive on older Windows, this will compete with the newer drive and prevent
the SyQuest drive from installing properly under Windows. In that case you
need to remove or uninstall any device drivers or software related to old
parallel port device and then reinstall the new device drivers.
Activity 1:
How will you troubleshoot when you hear a beep code or see a POST
error indicating a parallel port?
Hint: Refer the concept of symptom of parallel port in the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
9.4 Summary
Parallel port is a device which is used to connect and communicate between
computer and other peripheral devices. Parallel port interface is one of the
simplest and straight forward circuits in the PC. It consists of three registers
which perform specific functions: they are data register, status register and
control register.
While accessing the printer, the system CPU loads the port data register
with the value to be passed. In this unit you studied the different types of
signals which are responsible for transferring the data from the computer to
the peripheral device which is mostly a printer. You also discussed the
operation of the parallel port with the help of different kinds if signals which
have been represented with the help of parallel port timing diagram. Apart
from these, a comparison between the various parallel port modes such as
unidirectional port and bidirectional ports were made in this unit.
You have not only come to know the standard used in new peripheral
device and its different mode components but also discussed how to
prevent the parallel port from experiencing any problem, but if problems to
occur then how to troubleshoot in the Windows configuration.
9.5 Glossary
Term Description
LPT port Line print terminal is the original form and still commonly
used as parallel port interface
Centronics This is one of the conventional methods of transferring data
mode to the printer in which it does not have handshaking
mechanism. therefore we need to react fast to the data send
by the host
9.7 Answers
Self Assessment Questions
1. Parallel Port
2. Bidirectional
3. Signal
4. NPA
5. a) True
b) False
6. Extend Capability Port
Terminal Questions
1. Refer sec 9.2.2 Port Operation
2. Refer sec 9.2.3 IEEE 1284 modes
3. Refer sec 9.3 Troubleshooting
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by Stephen J. Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by Scott Mueller,
Que publishing, 2003
E-References:
http://eetd.lbl.gov/EA/Reports/39466/
http://www.microsoft.com/windowsxp/using/setup/learnmore/russel_
02march25.mspx
http://www.tech-faq.com/configuring-power-management.html
http://www.microsoft.com/windowsxp/using/setup/learnmore/russel_
02march25.mspx
http://courses.engr.illinois.edu/ece390/books/labmanual/parallel-
comm.html
http://whatis.techtarget.com/definition/0,,sid9_gci213469,00.html
http://ckp.made-it.com/ieee1284.html
10.1 Introduction
Unit 9 acquainted you with parallel port, its trouble shooting and the different
types of modes in port operation. You also got to know the significance of
signals and timing diagrams with respect to parallel port which is used to
connect printer with the computer.
Serial port is a device that is used to connect and communicate between the
low-bandwidth devices like modem and keyboard and mice. It uses two data
lines; one to transmit data and another to receive data. Right from the
beginning the serial port has been a bidirectional port making it possible to
interact between a computer and other peripheral devices other than
printers. As it used very few signal lines, it made the cable less expensive
and reduced potential connector problems.
In this unit you will study the essential concepts of serial port and its
operation and the guidelines to troubleshoot serial port problems.
Objectives:
After studying this unit you will be able to:
Discuss the essential concepts of serial communication.
Explain the set up and working of modems devices.
Resolve the serial port problems through troubleshooting.
Serial port is bipolar port which means that it has 2 voltages; both positive
and negative. The positive voltage represents logic 0 which indicates space
and negative voltage represents logic 1 which indicates mark. You can
observe in the diagram that the first element in the asynchronous data frame
is start bit. This start bit is always logic 1 or mark. Whenever the receiver
identifies the logic 1 that means that the data frame has started. From 2 nd to
8th bit are data bits. The number of bits can be altered or set by the
communication software. Parity bit, an error checking bit can be included
after the 8th bit. It is calculated by both sending and receiving device. The
data is correct only when both parity match otherwise an error is flagged.
Serial communication has five types of parity.
They are:
None: None indicates word is not added with parity bits.
Even: if the data bits contain odd number of 1s, then the parity is set to 1 to
make the number of 1s even.
Odd: if the data bits contain even number of 1s, the parity is set to 1 to
make the number of 1s odd.
Mark: parity is always set to 1
Space: parity is always set to 0.
The last part is the stop bit which is always logic 0. Stop bit indicates the
receiving device that the device has to remain idle until it receives the next
subsequent start bit. Framing is represented as data/parity/stop. For
example, the connection to a BBS(Bulletin Board system) that is a
application dedicated to sharing or exchange of information or messages in
the telecommunications network) typically uses 8/N/1 framing which means
that it has 8 data bits/ no parity bit and 1 stop bit.
Signal Levels
As the serial port uses bipolar signalling, it is able to support very long
cabling with less noise. Positive voltage is represented by logic 0 (space)
between +3 Vdc and + 15 Vdc. Negative voltage is represented by logic 1
(mark) between -3 Vdc and -15 Vdc. Serial ports can also use +/- 5 Vdc or
+/- 12 Vdc since power supply directly produces those voltages.
Baud vs BPS
Baud is defined as the number of signal events in the transmitted signal.
When the bits are transferred from serial port through a modem then
modem will modulate the data through different series of phase, frequency
and amplitude transitions. While a transition is referred to as a baud the total
number of frequency or voltage signals per second existing on a
communications line is the Baud rate. Sometimes it is also referred to as
switching speed. Bit per second or Bps refers to the number of data bits that
can pass through a specific point in one second. For example, if we have a
serial port, we consider 1 bit = -12 volts and 0 bit = +12 volts. If bps of the
serial port is 38,400, a sequence of 010101 would also be 38,400 baud. As
the voltage fluctuates between negative to positive and vice-versa, there are
38,400 shifts/sec. Considering another sequence 111000111, for this there
will be less fluctuations of voltage as the number of 1’s in sequence stays at
-12 volts but still we can say that there are 38,400 baud because there is a
chance of increase in the number of changes/sec.
The modems like voice band digital modem ( are modern modems that does
not require much time to transfer data as it is not dependent on modem – to-
modem speed and can use serial port speed for the data transfer) can
encode more than one bit per second in every transition. Therefore, the bps
of a modern modem is several times higher than its baud rate. For example
routed through receive pin. DCE is responsible for such swaps so that the
3rd pin on the transmit pin connector gets connected to related pin on the
receive pin.
Two DTEs cannot be connected with a straight-through cable. However, null
modem is used to swap the signals and connect the transmit lines between
the two DTE.
10.3.2 Serial Port Signals
Serial post signals are very helpful in easily turning on and off by a switch.
Signals can also be sued to monitor external devices without exchanging
the serial data. Signals provide messages like loss of power, battery low
alarm and status information with the help of power supply model.
Serial port uses either 25-pin connector or 9-pin subminiature D-type
connector to be used in the PC. These connectors look like the ones shown
in figure 10.2.
25-Pin M
9-pin M
Figure 10.2: 25-pin M and 9-pin M
Serial cables are identical at both the ends. Like parallel port, serial
connections also have three types of signals namely, data lines, control
lines, and ground lines. Data signals are the conductors that carry
information from the serial port to or from the modem or other peripheral.
Control signals are bidirectional protocol used between sender and receiver
to acknowledge the sender that the data is received Ground signal is used
to reduce the noise effects in the signal. The data signals and control
signals are bipolar in nature. Bipolar signals are also called as bipolar
transmission. It is a method of sending binary data over cable or wire. These
signals are represented by 2 logic states high and low and denoted by logic
1 and logic 0.
Tx and Rx: These are the kind of data lines which are responsible for
sending and receiving the data in the serial port. Tx stands for transmit line
which sends the serial data from the computer. Rx stands for Receive line
which accepts serial data from the serial port device. A peripheral device
consists of both Tx and Rx signals. Its working is as shown in Figure 10.3.
When the computer is connected to a peripheral, then one device sends the
data to the other using Tx line and the other device receives the same data
using Rx data line and vice-versa. In the Figure, Vcc is the common
collector voltage which supplies power to the device and GND is the
grounding of the device. Only one device can have control over the data
lines at a time.. If more than one device tries to send data to the single Rx
line then it gives error message stating “bus contention”. This message
means, rather than communicating among devices to a single device, no
data will be sent or received correctly. The figure 10.4 shows how the bus
contention message is obtained.
Figure 10.4: bus contention messages between more than two devices.
In the above figure you can see that the computer will not receive any data
since the two devices peripheral 1 and peripheral 2 are sending the data on
the same line at the same time creating contention.
RTS and CTS: RTS stands for Request to send which is a signal that is
generated by the DTE (Data terminal equipment). This signal informs
DCE(Data carrier equipment) that it will receive a data. But this does not
mean that DTE can unload the data to DCE because DCE must be ready to
receive the data. Therefore, once the DCE receives the RTS signal DTE
waits for CTS signal back from the DCE. CTS stands for Clear to send are a
signal that tells the DTE that the receiver node is ready to receive the data.
Then DTE starts sending the data. This RTS/CTS signal is responsible for
control data flow through the system hardware.
DTR and DSR: DTR stands for Data Terminal Ready is a signal that tells
the DCE that the DTE is ready to establish a connection. This signal is
asserted when the DTE is initialized and ready to start the serial operation.
After the DTE informs the DCE that connection is ready to be established,
the DCE will initialize itself and when it is ready sends DSR signal back to
DTE. DSR which stands for Data Set Ready is a signal which tells DTE that
DCE also has established the connection and DTE can send the data. The
DTR/DSR signal is established when the DTE and DCE are initialized and
are active through the connection. If any of these signals fail then the
connection is disconnected and the RTS/CTS signal will have no existence.
The major difference between DTR/DSR and RTS/CTS is that the RTS/CTS
signal informs the DTE/DCE that the data is being sent or received by them
while the DTR/DSR establishes connection between DTE and DCE and
initializes both of them.
DCD: DCD which stands for Data Carrier Detect is particularly used with
modem. It generates this signal when a carrier is detected from a remote
device and when it is ready to establish the communication pathway. DCD
signal is sent back to the DTE so that DTE remains active as long as the
connection is established.
RI: RI which stands for Ring Indicator is a signal asserted by DCE and
particularly used in modems. This signal which is generated when it detects
a telephone ring is important if a remote user wants to call in to seek your
permission to access your computer from a remote machine. Ring indicator
is also important when the computer gives a “wake on ring” in case of power
management configuration.
SelfAssessment Questions
5. UART stands for ___________.
6. _______ is a data communication equipment.
7. Bipolar signals are also called as bipolar _____________.
8. _______ is a transmit line which outputs the serial data from the
computer.
9. RTS stands for ___________.
10. _______ Signal is asserted when the DTE is initialised and ready to
start the serial operation.
10.4 Modems
A combination of modulator and Demodulator, is shortly known as Modem.
Modem is a device that is used to modulate analog signals to digital signal
and demodulate the digital information to corresponding analog signal. It is
also used to communicate the data from one computer to another computer
through a telephone line.
In the initial stages of modem operation, the speaker is used to check the
dial tone for connectivity. Overall operation of the modem is managed by the
controller which accepts the command from the modulator and some
parameters which are to be changed. NVRAM is the non-volatile random
access memory which stores the default loaded parameters. During a power
cut you can load the default parameter from the NVRAM. The internal
modem gets power supply directly from the expansion bus.
External modem: external modems are the devices that are used to connect
computers with public network. The external modem is not present as built
in device inside the serial port but is connected from outside the computer.
The block diagram of the external modem is as shown in the Figure 10.6.
The working of the external modem is similar to the internal modem except
that the device is connected to the serial port of the system rather than
being connected directly to the expansion bus. An external modem is
connected to computer through the already configured serial port in the
computer. 9-pin or 25-pin serial cable is used to connect modem to the
computer externally which makes the set up easier and faster because you
need not bother about the interrupt lines and I/O address settings. In
external modems hardware conflicts are rare.
The external devices are powered using a small AC adapter. External
modem provides LEDs which states the series of signal status which allows
you to check the communication status.
5. Insert the modem card by pushing it firmly and evenly inside the slot.
Ensure that the card is seated properly in the slot and replace the
screws to secure the bracket of the modem card to the computer
chassis.
6. Reconnect the modem with the telephone jack.
7. If you want to use the phone on the same line then you should plug the
phone to the phone jack. You must also have a microphone to avail
simultaneous voice and data feature.
Software installation
Once the hardware is installed it needs the support of device drivers and
application software. The following are the steps to be taken to install the
software:
1. The modem must be automatically detected when the Windows restarts.
If the device is PnP complaint then you need to use the Add New
Hardware wizard to execute the installation process.
2. Select the “Driver from disk provided by hardware manufacturer” and
then click OK.
3. Insert the CD to install the device drivers, and the select the drive letter.
4. After you Click OK modem’s drivers will be loaded by the Windows.
5. Verify the modem installation for success once it is loaded. When your
desktop returns, then click start, select settings and then click control
panel.
6. Double click the modem icon.
7. The suitable description of the modem is obtained in the modems
properties dialog box as shown in Figure 10.7. This means your modem
installation is done properly.
8. To test the modem click the diagnostics tab. Select the modem and
click for more info button.
9. After a few minutes, you should see the more info dialog box as
shown in the Figure 10.8 which lists the modem’s port information as
well as series of standard modem commands.
10. Once the modem is working you can install any other applications
that accompany the modem.
Suspect the modem itself: you need to check for modem settings so that
the jumpers or DIP switches are placed correctly with each setting. The
most susceptible point is the telephone interface which is very sensitive
to high voltage spikes that might enter the telephone line.
Command processor: You must check for the command processor
which is the controller that manages the operation of the modem in the
command mode and interrupts command strings. When a new model
installation fails to behave as intended you must check the working of
command processor of the modem.
SelfAssessment Questions
11. Modulator and demodulator are together known as ___________.
12. The telephone interface is connected to ______ to receive audio signal.
13. ______________ is digital modulation signal that changes the phase of
the reference signal.
14. COM is a ________ port.
Activity 1:
How do you troubleshoot when your modem is detected on the wrong
COM port on your PC?
Hint: Refer the concept of symptom of modem in the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
10.5 Troubleshooting
The serial port mechanism is a very simple I/O device. Even then it shows
some of the special challenges. Older PC used an 8-bit bus therefore it was
convenient to just replace the board outright in case of failure. In today’s
computer however, as there is an integrated component on the
motherboard, you have to be more careful. When you detect a failure on
the serial port you have three choices:
UART replacement: with the help of surface mount soldering tools and
replacement chips UART can be replaced in an economical way.
Motherboard jumpers can be set and an expansion slot be installed to take
the place of the defective port as by doing this the computer will assume
that there is a port available.
Parameter Description
BAUD Sets the data transmission rate in bits per second
PARITY Sets how the system checks for transmission errors
using the parity bit. The value can be one of the
following: N(none), E(even), O(odd), M(mark), or
S(space)
DATA Sets the number of data bits in a frame
STOP Sets the number of stop bits that define the end of a
frame
TO=ON/OFF Turns the infinite timeout processing option on or off
X=ON/OFF Turns the XON/XOFF protocol on or off
DTR=ON/OFF Turns the DTR circuit on or off
ODSR=ON/OFF Turns the output handshaking using DSR circuit on or off
OCTS=ON/OFF Turns the output handshaking using CTS circuit on or off
RTS=ON/OFF|HS|TG Specifies the settings for the RTS circuit to on, off,
handshake or toggle
IDSR=ON/OFF Turns the DSR circuit sensitivity of or off
Therefore, it means only two IRQ; IRQ3 and IRQ4 are available for the COM
port.
0x3F8: This address number (1111111000) is used to refer whether the
COM port will be even or odd. In this case, the number after 0 is 3 which
refer to an odd number. So the COM port will be odd. For example COM1 or
COM3. The letter “F” stands for first i.e. the first of the even communication
port. That means COM1.
0x2F8: this address number is represented by binary number 1011111000.
Here, the first number after 0 is 2, refers to an even number. So, the COM
port will be even. For example COM2 or COM4. The letter “F” stands for first
i.e. the first of the even communication port. That means COM2.
0x3E8: the address number is represented by binary number 11111101000.
Here it refers to odd number indicating odd COM port. And the letter E
indicates the next eliminating the first. Therefore in this case it is COM3.
Activity 2:
What step will you take when you see an 11xx or 12xx serial adapter
error displayed on your system?
Hint: Refer the concept of symptom of serial port in the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
10.6 Summary
Serial port is a device that is used to connect and communicate between the
low-bandwidth devices like modem and keyboard. Serial port used two data
lines; one to transmit data and another to receive data. It is a bidirectional
port. Asynchronous communication is a type of communication in which a
start signal is initiated before a data byte or character and a signal is sent
after each code. Clock can be used by receiving device to detect each data
bit. This method is known as synchronous communication. The combination
of synchronization bits and data byte is called as Data Frame. Serial port
uses either 25-pin connector or 9-pin subminiature D-type connector to be
used in the PC.
DTE stands for data terminal equipment. DCE stands for data carrier
communication and is normally a modem or any other piece of data
communication equipment. The distinction becomes very important between
DTE and DCE because data and handshaking signals are swapped at the
DCE end.
RTS which stands for Request to send is a signal that is generated by the
DTE which informs DCE that it will receive a data. CTS which stand for
Clear to send is a signal that tells the DTE that the receiver node is ready to
receive the data.
Modem is the combination of modulator or demodulator which converts
analog signals to digital and vice-versa. Construction of internal modem
needs to be undertaken carefully as you have to open the case of the
computer and work inside the system. Though the rate of failure of modem
and serial port is minimal, you have to be a bit more careful while
troubleshooting.
10.7 Glossary
Term Description
COM Communication port is a serial port which is serial port that is
responsible for communication between the computers.
IRQ IRQ stands for Interrupt ReQuest, and refers to special
numbered channels that are used by devices to get the
processors attention.
25-pin D type D-sub contains two or more parallel rows of pins or sockets
connector usually surrounded by a D-shaped metal shield that provides
mechanical support, some screening against electromagnetic
interference, and ensures correct orientation. It consists of 25
pinouts.
9-pin connector. Similar to 25-pin connector but it consists of 9 pinouts
GND Grounding is a direct connection to the earth to prevent
contact with a dangerous voltage if electrical insulation fails.
VCC Common collector voltage is a power supply connected to a
transistor.
10.9 Answers
Self Assessment Questions
1. Serial Port
2. Synchronous
3. Data Frame
4. Baud rate
5. Universal Asynchronous Receiver/Transmitter
6. DCE
7. Transmission
8. Tx
9. Request to send
10. DTR
11. Modem
12. RJ11 Telephone Jack
13. Phase Shift Keying
14. Serial
15. a. False
b. True
Terminal Questions
1. Refer Section 10.2, Asynchronous Communication
2. Refer Section 10.3, Serial Port
3. Refer Section 10.4.1, Constructing and Operating a Modem
4. Refer Section 10.4.3, Installing a Modem
5. Refer Section 10.5, Troubleshooting
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by Stephen J. Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by Scott Mueller,
Que publishing, 2003
CMOS, Circuit design, layout and simulation, third edition by R. Jacob
Baker, Wiley IEEE publishing, 2010.
E-References:
http://oss.sgi.com/LDP/HOWTO/Modem-HOWTO-22.html
http://whatis.techtarget.com/definition/0,,sid9_gci214405,00.html
http://www.sparkfun.com/tutorials/224
http://ipsit.bu.edu/sc546/sc546Fall2002/blocknode/understandingrts.html
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/co
m.ibm.aix.commadmn/doc/commadmndita/asynch_flowcontrol_dtr.htm
http://www.wisegeek.com/what-is-a-modem.htm
http://www.wisegeek.com/what-are-serial-ports.htm
http://www.tech-faq.com/quadrature-amplitude-modulation.html
11.1 Introduction
Many common and easily recognizable input devices like keyboard and
mouse are used to give instructions through commands or information to a
computer to accomplish a task. The keyboard allows you to enter a text
into word processing software so that you can complete your assignment, or
Manipal University Jaipur B1416 Page No.: 209
Understanding PC and Troubleshooting Unit 11
type in a search query on a web browser while the mouse allows you to
navigate around the screen and select options by clicking the button.
Output devices like the computer monitor and the printer enable you to see
or obtain information once the data has been fed into the computer and the
computer in turn has completed its function. The monitor who provides
instant feedback on the screen in the form of an image is referred to as ‘soft
copy’ while the printer allows you to create a ‘hard copy’ of the information.
Apart from these, sound cards allow you to record and playback your voice,
about which function you will be learning in this unit.
This unit will enable you to learn about other kinds of device that can be
attached to the computer so that special information can be fed into it and
then viewed in a number of ways.
Objectives:
After studying this unit, you should be able to:
Explain the functions of mouse and ways of troubleshooting it
Discuss the importance of keyboards and their maintenance
Describe the features of sound boards
Troubleshoot the problems associated with sound boards
11.2 Mice
Modern PCs come with a pointing device called Mouse which is used to
point at a particular option on the screen and then select that option by
clicking it. Although there are varieties of mouse manufactured by various
companies, their basic function remains the same. Microsoft and Logitech
are the top manufacturers of Mice.
moves across the tabletop. The movements of this roller ball are translated
into electrical signals transmitted to the computer across the cable. The
connector used with the mouse depends on the type of interface used.
Once the mouse is connected to the computer, a device driver, which can
be separately loaded or built into the system software, helps it to
communicate with the system. Figure 11.1a shows a mouse with two
buttons and a scroll wheel.
Housing
The mechanism of the mouse internally is very simple. The rubber ball in it
rests against two rollers, one for translating the X-axis movement and the
other for the Y-axis movement. These rollers are usually connected to small
disks with shutters that alternately block and allow the passage of light.
There are small optical sensors which detect movement of the wheels by
noting an internal infrared light blink on and off as the shutter wheel rotates
and "chops" the light. The infrared light blinks are then translated into
movement along the axes. This type of setup is called an opto-mechanical
mechanism and is popularly used nowadays.
Microsoft IntelliMouse
A new variation of the popular mouse called IntelliMouse was introduced by
Microsoft in late 1996 looking exactly like the standard Microsoft mouse
except for a miniature gray wheel rising up between the left and right
buttons. The only change in mouse are the wheel has two main functions:
the primary function to act as a scrolling device, allowing one to scroll
through documents or Web pages by merely pulling down or pushing it up
with the index finger and the secondary function to act as a third mouse
button when pressed. This is very useful while browsing Web pages or
working with word processing documents or spreadsheets. The major
advantage of IntelliMouse is that, unlike other three-button mice by other
vendors, it does not get in the way while working and there is less likelihood
of it being clicked by mistake. Its only drawback is that the new wheel will
work only if the software is rewritten to support it.
11.2.2 The Trackball
If you were to turn over a traditional mouse you will observe a stationary
device called a track ball or roller ball. If you move or rotate this roller ball,
the cursor also will move in turn.
In the case of traditional mouse, the user needs to perform three tasks
simultaneously viz. grasping the mouse, moving it and clicking the button.
However, the newer version allows the user to perform these tasks
independently of each other. The trackball comes in various sizes. If the ball
is small, it requires less effort for its movement or rotation. As regards
buttons on the trackball, they can be single click, right click, double click, or
drag-lock. While some trackballs are of the plug and play type requiring no
installation other than connecting of a cable to the computer's port others
have supporting software to be installed in the computer. This software
enables you to customize the acceleration of the mouse and assign different
functions to the buttons of the trackball. Below figure 11.2 shows a sample
trackball.
the roller ball fall into your hand. You should ensure that there is no visible
dirt or any other contamination or you need to wash it with soapy water or a
mild solvent such as contact cleaner solution or alcohol and dry it off. Next
take a look at the socket in which the roller ball normally rests. You will see
two or three small wheels or bars against which the ball normally rolls. If you
see dust or dirt on or around these wheels or bars, then clean them. It is
important to ensure that there is no dirt or dust remaining because if it is
present the movement of the roller ball is hindered and the mouse will not
work properly. After thorough cleaning, insert the roller ball into the socket
and securely attach the cover panel thus making the mouse function again.
11.2.4 Troubleshooting
If you encounter problems with the mouse, it is advisable to look in only two
general places-hardware or software.
Hardware Problems: The hardware problem generally relates to interrupt
conflicts and is more difficult to solve.
Interrupt Conflicts: A computer uses internal signals called Interrupts to
indicate when something needs to be done. A mouse uses an interrupt
whenever it has information to be sent to the mouse driver. The mouse
might not work properly or even might not work at all if a conflict occurs
and a different device uses the same interrupt used by it. If your system
uses a mouse port then interrupt conflicts do not normally occur but they
can occur with the other types of mouse interfaces. Mouse ports built
into modern mother-boards are almost always set to IRQ 12. On
machines that use a PS/2 mouse (a type of mouse that plugs into a
PS/2 mouse port), this is the IRQ reserved for its use. Using a PS/2
mouse frees up the COM1 serial port and the interrupt it uses for other
devices. If your system has a motherboard mouse port, you should take
care that you don't set any other adapter cards to IRQ 12, otherwise a
conflict occur. Whenever you use a serial mouse (a mouse that
connects to a computer via a serial port) there is every likelihood of
interrupt conflicts occurring if you add a third or fourth serial port. The
reason behind this is that in ISA bus systems, odd-numbered serial ports
(1 and 3) are often improperly configured to use the same interrupts as
the even-numbered ports (2 and 4). Therefore, if your mouse is
connected to COM2: and an internal modem uses COM4: both might
use the same interrupt, resulting in a conflict. But if you move either the
mouse or the modem to a different serial port you can use both of them
at the same time. For example, if your mouse uses COM1: and the
modem still uses COM4:, you can use them both at the same time
because odd and even ports use different interrupts. The best way to
prevent these interrupt conflicts is to make sure that no two devices use
the same interrupt.
In case the driver declines to acknowledge the mouse irrespective of its
type, then try using a different mouse which works. If you find that the
problem is caused by a defective mouse, then the best option would be
to replace it with a good mouse.
Software Problems: Software problems, which are trickier than hardware
problems generally, manifest themselves as the mouse "just not working." In
such instances, you would do well to check the driver and the software
applications before assuming that the mouse itself is faulty.
Driver Software: The mouse requires the installation of a device driver to
function properly. It is recommended that you use default drivers built
into the Windows or OS/2 operating environments. In case you want the
mouse to work with DOS applications then you should load an extra
driver (via CONFIG.SYS).
Application Software: It is necessary to check the setup information or
configuration section of the program if your mouse does not work with a
specific piece of application software, Even after indicating to the
program that you are using a mouse, and it does not work, then it is
recommended that you contact the technical support department of the
application software company for help.
11.3 Keyboards
The keyboard, a primary input device is one of the basic system
components. Used for entering commands and data into the system the
keyboard is the friendliest input peripheral. You can not only key in program
and data through it, but also give commands to the software from the
keyboard. It is almost impossible to use a computer without a keyboard.
11.3.1 Basics of Keyboard
Keyboard generally consists of 105 keys. The keyswitch (a type of small
switch placed under the keys) is activated when a key is pressed. An
electronic circuit in the keyboard determines as to which key has been
pressed. Then a standard 8-bit code is generated and sent to the computer.
Detecting which key is pressed and generating the corresponding code is
known as encoding. There are two types of keyboards. One is the serial
keyboard which sends data, bit by bit, in a serial fashion and the computer
converts the data into parallel byte. The other is the parallel keyboard which
sends the data as a byte in a parallel form; all the bits are sent
simultaneously on the different lines (wires). It is essential that the cable
between the keyboard and the computer has more wires in a parallel
keyboard.
Keyboard Functions
A matrix of rows and columns connect the keyswitches; each keyswitch
having a fixed set of coordinates, namely, row number and column number.
The keyboard electronics performs the following functions:
Sensing a key depression
Encoding
Sending code to computer
The keyboard electronics follows a standard technique known as scanning.
The keyboard electronics sends inputs, signals to the matrix through the
rows while the outputs are sent through the columns. The electronic circuit
senses the column lines. There are different types of keyswitches. Some of
the common types are:
Mechanical keyswitch – These switches will have metal contacts in a
momentary contact arrangement.
Membrane keyswitch – These switches are formed together on a sheet
that is fixed on a rubber dome sheet.
Capacitive keyswitch - Capacitive switches are non-mechanical type of
switches currently used.
Key Switch Design
Keyboards nowadays come with several types of switches; most keyboards
use one of several variations on a mechanical key switch. A mechanical key
switch relies on a mechanical momentary contact type switch to make
electrical contact in a circuit while some high-end keyboard designs use a
totally different non-mechanical design that relies on capacitive switches.
The following are the variations of mechanical type switches:
Pure mechanical
Foam element
Rubber dome
Membrane
Pure Mechanical: Generally it has a tactile feedback mechanism with a clip
and spring arrangement to give a "clicky" feel to the keyboard and a built-in
feature offers some resistance while pressing the key. Mechanical switches,
whose life time is 20 million keystrokes, are very durable and usually have
self-cleaning contacts.
Foam element: Older keyboards used this technology in which switches are
characterized by a foam element with an electrical contact on the bottom
that is mounted on the bottom of a plunger attached to the key itself. When
the switch is pressed, a foil conductor on the bottom of the foam element
closes a circuit on the printed circuit board below and a return spring pushes
the key back up when the pressure is released. The advantage of using
foam is that it reduces the contact, thereby preventing bounce. The
disadvantage of using this type of switch is that it is prone to corrosion on
the foil conductor and the circuit board traces below.
Rubber dome: Rubber dome switches are mechanical switches which are
the improved versions of the foam element-type switches. These switches
which use a rubber dome instead of a spring that has a carbon button
contact on the underside, are very simple in design, use fewer parts, are
highly reliable and very popular in modern computers. When the key is
pressed, the key plunger presses on the rubber dome, causing it to resist
and then collapse all at once,. As the rubber dome collapses, the user feels
the tactile feedback, and the carbon button makes contact between the
circuit board traces below. When the key is released, the rubber dome
reforms and pushes the key back up.
Membrane keyboard: Membrane keyboards are very suitable for extremely
harsh environments. When no other type of keyboard can work in certain
situations, these sheets can be bonded together and sealed and protect
from the elements.. Many industrial applications use membrane keyboards
especially for terminals that do not require extensive data entry but are used
to operate equipment such as cash registers.
Capacitive switches: Although they are expensive, these switches have
the advantage of being resistant to dirt and corrosion and also offering the
highest-quality tactile feedback of any type of switch. A capacitive switch
does not work by making contact between conductors but instead, two
plates usually made of plastic are connected in a switch matrix designed to
detect changes in the capacitance of the circuit. When the key is pressed,
the plunger moves the top plate relative to the fixed bottom plate. These
switches have a lifetime of up to 25 million or more keystrokes.
11.3.2 Maintenance and Troubleshooting
Although difficult intermittent problems might give rise to keyboard errors,
generally two simple problems are usually faced by users:
Defective cables
Stuck keys
Defective cables are easy to spot if the failure is not intermittent. If the
keyboard stops working altogether or every keystroke results in an error or
incorrect character, then the problem lies with the cable. Troubleshooting
such a fault is simple, especially if you have a spare cable on hand. To do
this simply replace the suspected cable with one from a known working
keyboard, and ensure that the problem is set right. However, if the problem
Manipal University Jaipur B1416 Page No.: 218
Understanding PC and Troubleshooting Unit 11
still exists then you should try to look elsewhere for its source. By using a
DMM (Digital Multi-Meter). you can test the cable for continuity by removing
it from the keyboard.
Keyboard stuck key failure
When you press a key on the keyboard, the processor built into the
keyboard (8048- or 6805-type) reads the keyswitch location in the keyboard
matrix. The processor then sends to the motherboard a serial packet of data
containing the scan code for the key that was pressed. This is called the
Make code. When the key is released, a corresponding Break code is sent,
indicating to the motherboard that the key has been released. The Break
code is equivalent to the Make scan code plus 80h (‘h’ stands for
hexadecimal). For example, if the Make scan code for the "A" key is 1Eh,
the Break code would be 9Eh. By using both Make and Break scan codes,
the system can determine whether a particular key has been held down and
determine whether multiple keys are being pressed. If you get the message
“keyboard struck, key failure”, you can look up the scan code to determine
which keyswitch is causing the problem. You can solve the problem
removing the keycap of the offending key and cleaning the switch.
Many newer systems have a electrical fuse that can be replaced. This
protects the motherboard keyboard and mouse connectors. Locate any type
of fuse on the motherboard in the vicinity of the keyboard or mouse
connectors. Some other systems may have a socketed keyboard controller
chip (8042-type), in which case, it may be possible to repair the
motherboard keyboard circuit by replacing this chip. As these chips have
ROM code in them, it is advisable to get the replacement from the
motherboard or BIOS manufacturer.
Cleaning a Keyboard
Periodical cleaning is a part of maintenance, which is essential to maintain a
keyboard in good condition. Preventive maintenance requires that you
vacuum clean the keyboard weekly or at least monthly. You could also use
canned compressed air (available at electronics supply stores) to blow the
dust and dirt out instead of using a vacuum cleaner. Before you dust a
keyboard with the compressed air, turn the keyboard upside down so that
the particles of dirt and dust collected inside can fall out. You should avoid
pressing the keys hardly. You should also avoid playing games for a long
time to increase the durability of key switches.
Self Assessment Questions
4. A standard technique known as __________ is followed by the
keyboard electronics.
5. __________ is a keyboard controller chip.
6. One of the best ways to maintain a keyboard in top condition is
__________.
pins that can be used to send and receive MIDI data. If you connect a MIDI
cable to the joystick port, you can connect PC to a MIDI device.
Synthesizer: If you are considering MIDI and you intend to compose or play
music, then you will need sequencer software, which is a musical
application designed to play back musical notation to record, edit, and play
back MIDI files.
11.4.1 The Recording
You need to connect a microphone to the sound card to record sound in the
computer. Some of the sound cards may not have options to connect a
microphone. While purchasing a sound card, you should check whether it is
having an ‘Audio In’ jack to plug the microphone.
11.4.2 The Playback
Speakers are used to playback the recorded sound. Successful multimedia
presentations, business applications, and MIDI work require external high-
fidelity stereo speakers. Sound cards offer little or no power to drive external
speakers. Although some sound cards have small 4-watt amplifiers, they are
not powerful enough to drive quality speakers which are essential for quality
sound. A 16-bit sound card may provide better sound to computer speakers.
However if you have good speakers then 8-bit sound card can also provide
better sound. Speakers are measured by the following three criteria:
Frequency response: This is a measurement of the range of high and
low sounds that a speaker can reproduce. The ideal range is from 20 Hz
to 20 KHz.
Total Harmonic Distortion (THD). This is an expression of the amount
of distortion or noise created by amplifying the signal. The amount of
distortion is measured in percentages. An acceptable level of distortion
is below .1 percent (one-tenth of 1 percent). For some CD-quality
recording equipment, a common standard is .05 percent. Some
speakers have a distortion of 10 percent or more. Headphones often
have a distortion of about 2 percent or less.
Watts. This is the amount of amplification available to drive the
speakers. Many sound cards have built in amplifiers, providing up to 8
watts per channel. (Most provide 4 watts.)
Digital Pulses
For both THD and SNR, smaller values indicate better quality. Some cards
also support digital input, allowing people to store digital recordings without
converting them to an analog format.
11.4.4 The role of MIDI
1980’s saw the development of MIDI (Musical Instrument Digital Interface)
to communicate between synthesizers. Although it was earlier just a
specification, now it has become a standard, which allows programs to play
music through the PC sound card.
MIDI, a computer standard music format is used to write compositions and
musical events. Actually the sounds are found in your sound card not in the
MIDI files. These files only give a description of how the music is to be
played. For example a MIDI sequence can describe the hit on a piano key.
The MIDI sequence describes:
• The instrument
• The note
• The strength of the key hit
• How long to maintain the note
11.4.5 An Inside Look of a Sound Board
Figure 11.4 shows an inside look of a PCI (Peripheral Computer Interface)
sound card. The sound card may contain a lot of jumpers, which you have
to set/reset before connecting other devices.
Locate any jumpers on the sound card if used by it and identify what they
control. There may be jumpers that set the MIDI port to use with a joystick,
or jumpers that set the IRQ (Interrupt Request) for the controller for CD-
ROM. Locate the jumpers for the IRQ setting. When a bridge is made with a
jumper between two adjacent posts, the jumper is said to be ON. When the
jumper is removed, it is OFF.
Self Assessment Questions
7. __________ is required to record the sound.
8. The number of measurements per second, called the __________, is
measured in kHz.
9. MIDI stands for __________.
several devices on it, and each one will use a range of addresses
starting with a particular base. Most sound cards include installation
software that analyzes PC and attempts to notify any of the standard
settings in use by other devices.
It is advisable to install a sound card using the default settings where
possible because poorly written software cannot work properly with alternate
settings, even if they do not cause conflicts.
Solving Hardware Conflicts
The best way to find a hardware conflict is to locate all of the documentation
for the PC and its various devices, such as a tape backup interface card,
CD-ROM drive, and so on. The most common causes of system resource
conflicts are the following:
SCSI host adapters
Network interface cards
Bus Mouse adapter cards
Serial Port adapter cards for COM3: or COM4:
Parallel Port adapter cards for LPT2:
Internal modems
Tape drive interface cards
Scanner
interface cards.
You could find out as to which device is conflicting with the sound card by
temporarily removing all of the expansion cards except the sound card and
other essential cards like the video card. Then add each of the cards
removed, one at a time, till you find that sound card does not work. When
you come to the last card, it is most likely the troublemaker, the card
causing the conflict. Now, either switch the settings for the device that is
conflicting with sound card or change the settings of the sound card. To do
this, set jumpers or DIP (Dual In-line Package) switches, or use sound
card's setup software to change its settings.
Ensure that the sound card is set in such a way that it uses all default
resources, and that other devices using these resources are either
changed or removed.
Are the speakers connected? Check that the speakers are plugged into
the sound card's Stereo Line Out or speaker jack.
Find out whether they are amplified speakers and are powered on.
Check the strength of the batteries or the adapter's connection to the
electrical outlet.
If the speakers are stereo check that the plug inserted into the jack is a
stereo plug, not mono (short form of Monaural or Monophonic sound
reproduction, which is a single-channel).
Make sure that the mixer settings are high enough. Many sound cards
include a mixer control for DOS and/or Microsoft Windows. The mixer
controls the settings for various sound devices, such as a microphone or
CD player. There may be controls for both recording and playback.
Increase the master volume or speaker volume when in the play mode.
Use sound card's setup or diagnostic software to test and adjust the
volume of the sound card. Such software usually includes sample
sounds that play.
Switch off computer for a minute and then switch it back on. Such a hard
reset (as opposed to pressing the Reset button or pressing
Ctrl+Alt+Delete) may clear the problem.
If computer game lacks sound, check that it works with sound card. For
example, some games may require the exact settings of IRQ 7, DMA 1,
and address 220 to be Sound Blaster-compatible.
Scratchy Sound
If there is a scratchy sound then the solution is quite simple. You could solve
the problem in the following ways:
If the sound card is near other expansion cards could be picking up
electrical interference from other expansion cards inside the PC.
Therefore, move the sound card to an expansion slot as far away as
possible from other cards.
If you find that the speakers are too close to the monitor move them
farther as the speakers may be picking up electrical noise from monitor.
on top of the line PC's. This is especially true if the game is reporting 30 or
higher FPS (frames per second). This may lead to random crashes of the
desktop or hanging.
Blue screen crashes (especially protection faults and similar)
are often due to this. You could prevent this from occurring by: ensuring you
have the most up-to-date driver for your sound hardware; disabling Direct
X's (Microsoft’s gaming technology) sound optimization.
Follow the below steps to do this:
1. Go to start. Select run. Type in "dxdiag" (an executable file to diagnose
direct X) and hit enter.
2. The Direct X Diagnostic tool will launch. Wait a couple of seconds while it
detects hardware information.
3. Click on the sound tab.
4. Move the hardware acceleration slider all the way to the left (off or none
will be displayed).
5. Ok and exit.
The actual performance hit on your system is variable. Many manufacturers
bypass Direct X's software acceleration in favor of their own hardware or
driver based routines. In majority of the cases, you won't notice any
difference with how the game plays (except less crashes and more stability).
If you do see decreased performance, try moving the slider up a notch and
retest the game. Often you can get basic acceleration or better before the
initial problem reappears.
11.5.3 Multiple Codecs
If you find there are several codecs on the same card, you need to call
snd_ac97_mixer () (a procedure to run codecs) multiple times with
ac97.num=1 (setting the value of the variable num) or greater. The num field
specifies the codec number. If you set up multiple codecs, you either need
to write different callbacks for each codec or check ac97->num in the
callback routines.
11.5.4 WAV Playback Problems
When you try to play wave sound (.wav) files in Windows you might
encounter the following problems prompting you to troubleshoot them:
Program-specific problems such as improper configured Playback device,
In case the information in the Audio Format box is not missing, try to play
other wav files that are compressed by using the same type of compression
as the wav file that you are attempting to play. If you are successful then it is
possible that the first .wav file that you tried to play may be damaged.
11.6 Summary
Let’s recapitulate important concepts discussed in this unit:
A standard mouse consists of several components: A housing that can
be held in the hand and moved around, a roller ball that signals
movement to the system, buttons (usually two) for making selections, a
cable for connecting the mouse to the system and an interface
connector to attach the mouse to the system.
The keyboard is the primary input device. It is used for entering
commands and data into the system. The keyboard is the friendliest
input peripheral.
A sound card has many uses, including: adding stereo sound to
entertainment (game) software, increasing the effectiveness of
educational software, particularly for young children, adding sound
effects to business presentations and training software, creating music
by using MIDI hardware and software, adding voice notes to files,
adding sound effects to operating system events, enabling a PC to read,
enabling PC use by disabled individuals, playing audio CDs.
In order to install a sound card, you will have to select IRQ numbers, a
base I/O address, or DMA channels that don't conflict with other devices.
11.7 Glossary
Term Description
Keyboard The keyboard is the primary input device. It is used for entering
commands and data into the system. The keyboard is the
friendliest input peripheral. Both program and data can be keyed
in through it.
Direct DMA channels are the way to move information directly to PC's
Memory memory, bypassing PC's processor. DMA channels allow sound
Access to play while PC is doing other work.
(DMA)
11.9 Answers
Self Assessment questions
1. Microsoft, Logitech
2. True
3. Hardware problems
4. Scanning
5. 8042
6. Periodic cleaning
7. Microphone
8. Sampling rate
9. Musical Instrument Digital Interface
10. IRQ numbers, base I/O address, DMA channels
11. DMA channels
12. Audio format
Terminal Questions
1. Mouse is a pointing device which is used to point a particular option on
the screen and then select that option by clicking. Different
manufacturers produce different varieties of mouse. Trackballs are also
called as "rollerballs". Trackballs are a stationary device. Movement or
rotation of the ball moves the cursor. (Refer sections 11.2.1 & 11.2.2)
2. When a key is pressed, the keyswitch is activated. The keyboard has an
electronic circuit to determine which key has been pressed. Then a
standard 8-bit code is generated and sent to the computer. (Refer
section 11.3.1)
3. To install a sound card, you have to select IRQ numbers, a base I/O
address, or DMA channels that don't conflict with other devices. Most
cards come already configured to use on otherwise idle set of ports, but
problems occasionally arise. (Refer section 11.5)
4. The audio portion of a sound card has a default IRQ setting, but also
supports any of several alternate interrupts. You should try to leave the
sound card at the default setting (usually IRQ 5) and change other
adapters where possible. (Refer section 11.5)
References:
Troubleshooting, Maintaining and Repairing PC’s by Stephen J.
Bigelow, TMH
Understanding and Repairing PCs by Mueller, PHI.
E-References:
http://www.freeopenbook.com/upgrading-repairing-pc/ch18lev1sec2.html
http://www.fileinfo.com/extension/at3
http://www.wisegeek.com/what-is-a-sound-card.htm
12.1 Introduction
In this unit we shall discuss about video adapters and accelerators. A user
gives raw information to the system through the input device and gets the
processed information through the output device, usually a visual display
unit, also called as monitor. This output display is made possible by a
special hardware called video adapter. This video adapter card may be a
standalone device or may be integrated into the motherboard. Display
adapter, graphics accelerator or graphics card are other names of the video
adapter. Modern video cards have most advanced features such as 2D / 3D
graphics rendering, video capturing, multiple monitor outputs and MPEG
decoding.
Manipal University Jaipur B1416 Page No.: 235
Understanding PC and Troubleshooting Unit 12
12.2.3 DirectX
DirectX is a technology from Microsoft, which is a collection of Application
Programming Interfaces (APIs) for handling tasks related to multimedia,
especially game programming and video, on Microsoft platforms. Originally,
the names of these APIs all began with the word Direct, such as Direct3D,
DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. But later on
the name DirectX was coined to refer to all of these APIs (the X standing in
for the particular API names) and this continued to be the name of the
collection. When Microsoft developed a gaming console called ‘Xbox’, to
indicate that the console was based on DirectX technology. The initial X has
been used in the naming of APIs designed for the Xbox such as XInput and
the Cross-platform Audio Creation Tool (XACT), while the DirectX pattern
has been continued for Windows APIs such as Direct2D and DirectWrite.
For the development of video games for Microsoft Windows, Microsoft Xbox,
and Microsoft Xbox 360, 3D graphics API within DirectX (Direct3D) is being
widely used. Other software applications for visualization and graphics tasks
such as Computer Aided Design / Computer Aided Manufacturing
engineering use Direct 3D You would have observed that the terms
‘Direct3D’ and ‘DirectX’ have been used interchangeably.
The DirectX Software Development Kit (SDK) consists of runtime libraries in
redistributable binary form, along with accompanying documentation and
headers for use in coding. Originally, the runtimes were only installed by
games or explicitly by the user. Windows 95 was not launched with DirectX
but it was included with Windows 95 OEM (Original Equipment
Manufacturer) Service Release 2 Windows 98 and Windows NT 4.0 both
contained DirectX which SDK can be downloaded for free.
The new versions of DirectX such as Direct3D 9Ex, Direct3D 10 and
Direct3D 11, available only for Windows Vista and Windows 7 were built to
depend upon the new Windows Display Driver Model.
Direct3D 9Ex: this allows full access to the new capabilities of drivers while
maintaining compatibility for existing Direct3D applications. The new
Vista/Windows Display Driver Modelgraphics architecture includes a new
video memory manager that supports virtualizing graphics hardware to
multiple applications and services such as the Desktop Window Manager.
Direct3D 10: It is designed around the new driver model in Windows Vista
and featuring a number of improvements to rendering capabilities and
flexibility.
Direct3D 11: It has the major features of multithreading support to assist
video game developers in developing games that better utilize multi-core
processors.
12.2.4 Replacing / Updating an Adapter
It is important to know which type of video adapter can be used in your
system as there are three main types of video adapter upgrades available.
Add-on Video Card
Add-on video card can be physically inserted into and taken out of the
computer as an individual hardware component. It can be plugged in PCI or
AGP slots. In order to upgrade an add-on video card, you haveto remove
the old card and drivers and install the new video card and drivers.
Motherboard Video-only Chipset
This type has an integrated video along with an open AGP expansion slot.
Either you can use the motherboard’s integrated video or plug-in your own
video card in the AGP slot. Modern PCs are equipped with this setup. You
should disable the on-board video and add an AGP video card and install
drivers for the new card to upgrade to this type.
Motherboard with Integrated Video
There is only on-board video in this type.You will not find an extra AGP slot
that you can use to install a new video card. You may be able to install a
slower PCI video card or if you really want an AGP video card you can opt
for a motherboard upgrade (to one that offers an AGP slot).
Self Assessment Questions
1. The AGP technology was introduced by _______________.
2. DirectX technology is from _______________.
3. BIOS stands for _______________.
Graphics
Processor
Earlier graphics accelerators faced the hurdle of the queue being too small
(typically 16 entries) to give the host and the graphics accelerator sufficient
opportunity for parallelism. So, the host driver would commonly be stalled
waiting for the queue to free up enough space for the next operation. But in
modern graphics accelerators, you will not face this problem as the queue
has been significantly expanded usually to sizes usually above 512 entries.
While a register window retained a small queue, a portion of the graphics
memory would be used as an extension queue to the register window
queue.
Some accelerators, in order to improve queue access performance use the
ploy of memory mapping the queue to contiguous sequential addresses, to
use the PCI bursting capabilities of the host chipset.
Features and Host Feature Emulation
There are various factors which influence the marketability of graphics like:
price, how well they support games, and how well they conform to
standards. Earlier, starting in 1989, PC based graphics acceleration was
limited to 2D but with the advent of DirectDraw and Direct3D and availability
of 3D accelerated games, 3D is being preferred. 3D is not as simple as 2D
for graphic companies to deal with.
Monitor Refresh
Monitor refresh is the last factor in determining the video speed which takes
a certain amount of memory bandwidth away just to update the monitor. But
3D applications perform double buffering in order to prevent tearing or
flickering. By double buffering we mean that the trace is sent back and forth
between two frame buffers and the monitor is alternately refreshed by the
buffer. In order to repoint the monitor to refresh from a different section of
graphics RAM to avoid tearing, you have to wait until the current refresh (if
one is pending) is complete. Typically this is done by "waiting for vertical
retrace". This "wait period", however is dictated by the specifications of your
monitor, not by the performance of your CPU or graphics accelerator.
Self Assessment Questions
7. The term GPU was coined and popularized by _______________.
8. The term VPU was first introduced by _______________.
9. GPU stands for _______________.
12.6 Troubleshooting
Some typical problems encountered with video cards are discussed in this
section. Most of the problems addressed are related to specific setup issues
with the video subsystem. You should always make sure that you are using
the correct drivers for your video card. If you have any problems related to
the video subsystem, or even general instability with the system that shows
up when you are running Windows, thenbe sure that it is caused due to the
use of faulty or incorrect drivers. The video cards are generally shipped with
their drivers in a floppy-disk or CD-ROM from their manufacturers. However
the up-to-date drives can be found in their company’s website. These will
often fix many of the strange problems sometimes seen when installing a
new video card.
12.6.1 Avoiding the Basic Problem
Problems Associated with Graphics/Video Cards and Devices
Video cards, graphics cards, and other 2D/3D graphic accelerator cards are
bunched with the corresponding device drivers that are essential for the
proper function and performance of the graphics device. Sometimes these
old device drivers may not work properly if you upgrade your motherboard,
processor or operating system. Under these circumstances you need to
uninstall the old drivers, download the latest drivers suitable for the
upgraded motherboard, processor or operating system and then reinstall it.
Resolving Installation Problems with Driver Detective
The device driver update tool called Driver Detective can be used to update
Graphics and video device drivers quickly and accurately. The Driver
Detective tool can identify individual graphics and video cards with driver
problems. They can also automatically download the most up-to-date
drivers suitable for a particular motherboard, processor and/or operating
system.
If you encounter difficulties like crashing, hanging, freezing, etc. Then it
means that the display adapter has some problem. In case your video card
displays some things incorrectly then you may be able to identify the
problem by comparing your screen errors with examples screenshots. This
section contains some screenshots of video cards which show different
kinds of visual problems. But if your video card crashes or hangsthen it
isoften difficult to find the cause because there could be various other
reasons displaying the same signs. You could carry out some standard
procedures to set right the problem. As a last resort you could seek the help
of support forumsBut before trying these proceduresit is advisable to create
a system restore point as described below. A restore point allows you to
undo software changes you make while trying to solve your video card
problem.
1. Install the latest motherboard chipset drivers
2. Uninstall your old display drivers and then install the latest display
drivers
3. Disable your sound system
4. Disable your AGP port
5. Do physical checks
6. Test your CPU and RAM
7. Check your power supply
12.6.2 Missing Display Options
Missing display is a common problem in which the operating system, such
as Windows XP, does notappear on the screen. In other words, the
computer starts up but nothing appears on the monitor. Assuming that your
monitor is in good condition, your next step should be to take a look at the
video card.
This particular problem can be caused from several different things such as
a video card that is not properly seated or a loose connection from the video
card to the monitor. Troubleshooting this problem will require you to locate
the video card inside your computer and verify the following:
Assuming that the video card adapter is separate from the motherboard,
you should check that the card is properly seated. Sometimes one end
of the card may creep out of the slot when it is initially screwed in
resulting in no display appearing on the monitor.
Verify the correct jumper settings for video cards that are mounted to the
motherboard by checking the documentation that camewith the
hardware.
The cable running from the monitor to the video port may also be broken
or there may be a loose contact. Examine the monitor cable to ensure
that there are no broken or bent pins. A bent pin can usually be
straightened using a pair of sharp-nosed pliers. Also check that the
cable running from the monitor to the VGA port is secure.
Select the Properties button under Adapter Type to locate specific driver
information including the driver version. You can find the version information
beside the Driver Version field. Compare this version with the latest version
on the manufacturer's Web site. If the driver needs to be updated complete
steps four through seven listed under the section entitled “Updating Video
Drivers”. If the latest driver is installed, you may need to adjust the
resolution and refresh rate (this is the rate at which the video card redraws
the screen) for the video adapter card. Incorrect display settings can cause
problems with your display.
Screen Resolution
In order to configure display settings, right click the Windows XP desktop
and click Properties to open the Display Properties dialog box. Then select
the Settings tab as shown in Figure 12.3 to change the resolution settings.
Use the slider under Screen resolution to adjust the settings. Normally, a 17
inch monitor will have a default resolution of 800x600.
Once again, select the Settings tab and click the Advanced button. Select
the Monitor tab as shown in Figure 12.4. Use the drop down arrow to adjust
the refresh rate to about 70 MHZ. Remember that a higher refresh rate will
reduce the amount of flickering. As with the screen resolution, if you are
unable to select the desired refresh rate, go back to the video driver to make
sure the latest one is installed. Use the Monitor tab to adjust the refresh
rate.
It is important to verify that the monitor supports the screen resolution and
refresh rate configured in the Display Properties dialog box. You should
refer to the documentation or manual that came with your monitor in order to
identify the values that are supported.
Problems Displaying Videos or Animations
You will encounter problems with videos and animations, if the display
adapter driver does not support DirectDraw. If videos and animations are
not correctly displayed on the monitor, you should first determine if the video
card adapter driver supports DirectDraw which can be accomplished using
the DirectX Diagnostic Tool. Then from the Run command type DxDiag.exe
and click OK. From the Display tab, click the Test DirectDraw button.
Windows XP will perform a series of tests. If your display does not pass
each of the tests, you will need to update the video adapter.
If updating the video adapter driver does not solve the problem, verify that
your video card is indeed supported by the operating system installed on
your computer. If you are running Windows, you can check the Hardware
Compatibility List (HCL) to determine if the video card adapter is supported.
Updating Video Drivers
Faulty or incorrect video drivers can result in such things as operating
system instability, video subsystem problems, and so on.Most video cards
come with drivers on a floppy disk or a CD-ROM. You can use the drivers
that came with the hardware or visit the manufacturer's Web site to obtain a
more recent one. The drivers should come with a text file outlining the
installation process.
The first step in updating the driver is to identify the make and model of your
video card. In Windows XP, you can see a list of all the hardware
components within Device Manager. The video card should be listed under
Display Adapters as shown in Figure 12.5. However, if it is has not been
recognized by Windows XP, it may be listed under Unknown Devices.
Double click on the video adapter listed to identify the make and model. This
information can be used to retrieve the latest driver from the manufacturer's
Web site. Device Manager will list the Display Adapter installed in the
computer.
If you are running Windows XP, you can update a device driver using the
steps listed below:
1. Right click My Computer and click Properties.
2. From the Hardware tab, click Device Manager.
3. Within Device Manager, double-click the video adapter listed under
Display Adapters.
4. Click Update Driver as shown in Figure 12.6 to open the Hardware
Update Wizard.
5. Accept the default option, Install the Software Automatically.
Choose the Install from a List or Specific Location option if you
have the updated driver so you can indicate the file location. Click
Next.
6. Windows searches for an updated driver and instructs you if an
updated driver has been found.
7. Click Finish once the updated driver has been installed.
12.7 Summary
Let’s recapitulate important concepts discussed in this unit:
Video adapter is a board that plugs into a personal computer to give it
display capabilities. Those capabilities of a computer, however, depend
on both the logical circuitry (provided in the video adapter) and the
display monitor.
DirectX is the technology from Microsoft, which is a collection of
Application Programming Interfaces (APIs) for handling tasks related to
multimedia, especially game programming and video, on Microsoft
platforms.
The video display hardware can be broadly classified into non-
accelerated and accelerated cards.
A Graphics Processing Unit or GPU (also occasionally called visual
processing unit or VPU) is a specialized microprocessor that offloads
and accelerates graphics rendering from the central processor. It is used
in embedded systems, mobile phones, personal computers,
workstations, and game consoles.
Video cards, graphics cards, and other 2D/3D graphic accelerator cards
are bundled with the corresponding device drivers that are essential for
the proper function and performance of the graphics device.
12.8 Glossary
Term Description
GPU GPU (Graphics Processing Unit) islike CPU (Central Processing
Unit).It is a dedicated processor designed for accelerating video
and 3D graphics rendering.
Video BIOS This is the firmware that contains the basic program that
controls the basic operations of the video card, including
interaction with the computer and the software applications.
Video Memory It provides the memory needs of the GPU and the display
unit.Generally video memory ranges from 128MB to 4GB.
However new and emerging graphics cards contain more
memory.
RAMDAC RAMDAC (Random Access Memory Digital-to-Analog
Converter) converts digital signals to analog signals. These
analog signals were used in old CRT displays. However new
LCD displays do not require the RAMDAC.
DirectX DirectX is the technology from Microsoft, which is a collection of
Application Programming Interfaces (APIs) for handling tasks
related to multimedia, especially game programming and video
on Microsoft platforms.
VRAM VRAM (Video RAM) isa kind of RAM technology that could allow
multiple accesses per cycle (one for video refresh, and one for
accelerator output).
RAMBUS RAMBUS is a technology, wherein the RAM is partitioned over
multiple buses.
12.10 Answers
Self Assessment questions
1. Intel
2. Microsoft
3. Basic Input Output System
4. Accelerated, Non-accelerated
5. Dynamic Random Access Memory
6. Video Random Access Memory
7. NVIDIA
8. ATI Technologies
9. Graphics Processing Unit
10. Katmai New Instructions
11. Multi Media Extension
12. DxDiag.exe
Terminal Questions
1. Refer section 12.2: Conventional Video Adapters
2. Refer section 12.3: Classification of Video Display Hardware
3. Refer section 12.4.1: Issues in Video Performance
4. Refer section 12.6.1: Avoiding the Basic Problem
References:
Troubleshooting, Maintaining and Repairing PC’s by Stephen J.
Bigelow, TMH
The Indispensable PC Hardware Book by Messmer (Addison Wesley-
Third Edition)
E-References:
http://www.wisegeek.com/what-is-a-graphics-adapter.htm
13.1 Introduction
In unit 8 and unit 11 you have studied various peripheral devices which are
used for input and storage media. In unit 8, section 8.6 you studied Flash
memory which can be externally connected to a port. You need some
device to connect these devices. Also In order to achieve a greater
performance in the data transmission between system and the peripheral
devices, you can connect computer devices to each other with less cable.
Therefore you can use Small Computer System Interface was introduced
this became famous as SCSI systems (also pronounced as ‘scuzzy’). In this
unit you will study about SCSI devices through which you can connect your
peripheral devices to computer and to each other.
SCSI is a set of standards that define commands, protocols, and electrical
and optical interfaces for physical connection and data transmission
between computers and peripheral devices. SCSI provided a single adapter
which can operate a number of unique devices simultaneously, bonded by
same signal cable. SCSI systems can handle all the devices like, CD-ROM,
hard drives by a system fitted with a SCSI adapter through which they can
achieve data throughputs better than the other low-end PCs. These low-end
PCs used separate adapters for each of these devices.
In this unit we will discuss on the overview of SCSI interface. We shall cover
the essential installation tips of a SCSI host adapter. You can also get to
know the guidelines to resolve SCSI problems.
We always wanted to have devices that do not require installation and
updating the new PC device. This idea gave rise to the birth of USB.
Universal Serial Bus is hardware interface that is used to attach secondary
hardware devices like pen drive, hard disk, etc., in a PnP way. In this unit
you will also study the general concepts of USB. You will get to know the
guidelines for troubleshooting the USB in case of problems.
Objectives:
After studying this unit you will be able to:
Understand the essential concepts of SCSI systems
Perform installation of a SCSI host adapter
Discuss some of the SCSI issues
Resolve the SCSI problems through troubleshooting
Understand the general concepts of USB
Explain the architecture of USB
Resolve the USB problems through troubleshooting
connected because it only works with the command and data. This means
the computer peripherals and hardware components are completely free
from compatibility issues because it is taken care by SCSI devices.
Device independence: In order to maintain the device independence
feature of the device, SCSI is both a BUS and a command set. SCSI is a
bus which is a collection of cables and switches where each cable has
its name and specific purpose. A command set is a limited set of
instructions that is used to allow the computer and peripheral device to
transmit data over the bus. For example, The SCSI Test Unit Ready
command is used to determine if a device is ready to transfer data
(read/write), i.e. if a disk spins up or the disk is ready or loaded. The
example for SCSI are hard drives, optical devices, printers etc. The
appearance of these devices is one and same because any old device
can be easily replaced by a new device without modifications. Since the
method to connect to the device is done by the peripherals device and
not by microprocessor, the computer can employ some small set of
instructions that flow to and fro between the peripheral and computer.
Bus length: SCSI devices are connected with a 50 pin or 68-pin cable
whose total length will measure the overall bus length. There are two
types of SCSI devices based on the length of the buses. They are
internal SCSI devices and external SCSI devices. Some of the system
may have either internal or external or both.
Internal SCSI device are those that are connected to the computer through
passive terminators installed in the drive. These devices are connected to a
SCSI controller ribbon cable.
External SCSI devices are Inline terminators connected in series.
These devices have closed ended terminators plugged into a bus connector.
When the system has only internal SCSI devices, the bus length is
measured from the SCSI host adapter to the last internal SCSI device on
the terminated device. When there are only external SCSI devices, the bus
length is measured from the SCSI host adapter to the last external SCSI
device on the terminated device. If there are both internal and external SCSI
devices, then the bus length is measured from the last external device to the
last internal device. With the use of short bus length the implementations of
SCSI have become faster.
Manipal University Jaipur B1416 Page No.: 261
Understanding PC and Troubleshooting Unit 13
Initiators and targets: Based on the type of SCSI bus, the devices can
be initiators and targets. An initiator is a device that starts
communication when something has to be done. A target is a device
that responds to the initiator’s commands. The organisation for initiator
and target is a two way process and interactive. An initiator may become
target in the course of data transfer cycle and vice-versa. There must be
at least one initiator and one target in the system. Usually the SCSI
adapter card will be the initiator and all the other devices like hard drives
or CD-ROMs are usually the targets.
Synchronous and asynchronous: SCSI needs a handshaking protocol
to organise data transfer from sending end to receiving end.
There are three types of handshaking protocols. They are asynchronous,
synchronous and fast synchronous.
Asynchronous protocol works like a parallel port in which whenever each
byte is received it must be acknowledge and request is sent before the next
byte can be sent. This type of operation leads to reliable but slow
performance.
Synchronous and fast synchronous operations do not bother about request
and acknowledge handshake only for data transfer. Therefore the
operations will be slightly faster with a fixed amount of delay time called as
offset.
The fast synchronous protocol uses shorter signals, which gives faster
speed. The protocol to be used is chosen by the initiator and the target
through their communications.
Disconnect and Reconnect: SCSI gives features of disconnect and
then reconnecting the devices again later. This feature is the main
reason of SCSI desirability in the multitasking environment and allows
different operations to operate simultaneously. The initiator can decide
whether it can give the feature authority of disconnecting the device to
the target.
Terminators: It is a small resistor array which is used to enhance with
SCSI signal integrity.
The SCSI cable must be terminated with a location of terminating resistor
depending upon the devices that are added to the Bus. Since there is a
particular limit to the number of devices that can be added to the cable, the
termination have become a big deal. They just have to add the resistor.
Termination has become a very important element of SCSI setup and
troubleshooting. The incorrect termination can cause lot of signal problem.
There are two types of terminators, active terminator and passive
terminator. Active terminator provides its own regulated power sources. This
feature will influence the longer cable. Passive terminator has resistor pack
that can be plugged into SCSI device.
Passive terminator is suited for short distances usually work for cable length
inside the PC.
SCSI IDs and LUNs: SCSI bus is designed to support eight devices at a
time (hard drive, DVD drive, host adapter, Scanner, Printer, etc.) called
as logical unit. A logical unit number must have its own unique ID
number ranging from 0 to 7. The SCSI IDs are the set for SCSI adapter.
Each SCSI device uses jumpers or DIP switches (A series of tiny
switches built into circuit boards which helps us to configure a circuit
board for the specific types of the computer or the applications.).
Generally the SCSI adapter is set for ID7 (SCSI ID 7 is the preset SCSI
ID for the SCSI host bus adapter giving it the highest priority on the
SCSI bus), the primary SCSI hard drive is set to ID0 (it is the standard
ID used for an internal drive) and the secondary SCSI hard drive is set
to ID1 (low priority comparatively). From ID2 to ID6 are the unique ID
numbers in which the other devices can be placed.
A logical unit number or LUN is a number used to identify a logical unit,
which is a device addressed by the SCSI protocol or similar protocols. Logic
unique numbers (LUNs) are similar to SCSI ID that is used to identify a
logical unit. LUNs indicate devices within devices. Every SCSI ID from 0 to 7
can have up to eight LUNs that mean there can be eight sub devices for
every given device ID. You can also make your device ID consisting of more
than eight sub devices. For example, suppose you have three hard drives
E:, F: and G:, ID2 can be used by all three drives but E: can be assigned to
LUN0, F: to LUN1, G: to LUN2. Unfortunately, an SCSI user cannot decide
randomly to use LUNs assignment because there must be a hardware
designed for that purpose. If you have a device that uses LUNs like CD juke
box, you may need to enable LUNs support in the host adapter’s bios or
device drivers.
Ideally SCSI host adapters are PnP devices that can automatically detect
the resource connected to the PCI slot. Problems occur because of
|incorrect hardware or software installations. In this section, you will
understand the overview of SCSI adapter installation process and SCSI
BIOS setup.
Internal Hardware installation: you need to install the SCSI host adapter
and connected to at least one SCSI device.
You must follow the steps below to perform installation of a typical SCSI
host adapter:
1. Switch off the computer and unplug it.
2. Unbolt the case and detach the screws and keep it in a safe place.
3. While replacing the SCSI host adapter with new one, remove the
older device carefully and keep it on a antistatic surface or antistatic
bag.
4. Identify the new SCSI host adapter which is usually connected to
PCI slot or ISA slot. Remove the cover of the new slot and keep the
screw in a safe place.
5. Insert the SCSI host adapter card slowly and firmly inside the slot.
Fix the screw to tighten the bracket.
6. Connect the computer’s drive activity LED cable to the suitable
connector of the SCSI card.
7. You should ensure that all the other bus connections are proper if
needed.
You should have proper terminator for SCSI bus and no SCSI IDs. The
SCSI IDs of each SCSI device must be verified and the termination end
point must be properly checked.
Software Installation: Any hardware requires the appropriate software
available for proper execution of the device. You must install the
necessary device drivers for the SCSI device you have installed.
You need to follow the instructions below to properly install the software
to the windows.
1. It should automatically detect the SCSI device when windows start
up.
2. Click on Driver which is provided by the device manufacturer in the
Disk. Then click OK.
USB is a connection with two points in which one point is a master on host
and another point works as slave. Host is usually a computer that may have
127 slaves connected at a time. Computer has 2 to 4 USB connectors but
hub number may increase up to 127.
The USB system architecture consists of three main components they are
Host computer, USB device and USB cable.
HOST computer: It controls the communication between the computer
and USB devices. There are two layers in the host computers. They are
USB host controller hardware layer and a software layer. The software
layer includes USB device drivers for a wide range of USB peripherals
such as keyboards, mice, digital still cameras, scanners, mass storage
devices etc.
USB hardware layer is responsible for the following
To Detect the attachment and remove the USB devices
Monitor device status and collect activity statistics
Provide power to attached USB devices
Manages control and data flow between the USB host and USB devices.
Checks the basic validity of bus transactions
USB Devices: These devices are the peripherals of the computers that
communicate with the host computer using USB protocol. Some of the
devices are flash Drive, MP3 player, image still camera, video camera, etc.
Additional to this, there is special type of USB device called as USB hub that
gives the additional attachment points to connect more peripherals. USB
Hub is a device that has multiple USB ports which is used to plug the
various USB devices and other hubs.
USB Cable: cable is a wire that is used to connect host computer and USB
device.
The maximum length of standard USB cable limits to 5 meters for high
speed devices and 3 meters for low speed devices. The reason behind
using short cable length is the maximum allowed delay of the signal is
limited to shorter time above which the connection will be lost. Practically,
some USB devices may work with longer than specified cable. When longer
cable is used it may decrease the signal quality provided by the USB bus.
This avoids the USB device to work properly or may not work at all.
13.3.3 Troubleshooting
Usually USB problems are not severe. But still there are few steps which
can control these small problems such as hardware failure, device driver’s
configuration problems, cabling problems, firmware/BIOS problems, Root
hub configuration problems, etc.
The steps are as follows:
Hardware failures or Configuration problems: There may be some
hardware problems such as high or low power, limited bandwidth,
malfunctioning, etc. In this case, make sure that the root is working
properly through the Device Manager. If you find an exclamation mark in
a yellow circle or triangle along with root hub then it means there is
some error. USB Root Hubs are both physical and virtual installation
ports that can be found on your computer that are used for implementing
and installing additional hardware files and components to your
computer's hard drive. You need to verify that the BIOS assign the
Interrupt request line (IRQ) to the root USB controller. This is very
important as it loads the device drivers. If the devices are not working
when you plug the device to a root hub then check the power
requirement of the bus. If the device tries to draw more power than the
capacity of the bus then the device don’t work. Otherwise if the port gets
less power, then port is not at all active. Then also it will not work.
Device driver configurations problems: when the device is connected
to the root hub, it should automatically load and configure the device
without even asking a device driver. If the computer prompts you for
device driver then you need to enquire with the manufacturer of the
device that the windows you are using support the specific device.
Cabling problems: USB has two types of cables. They are high speed
and low speed cables. If you plug high speed cable in to a low speed
cable, then it can cause signal distortion over a long distance. The major
difference between the two types of cabling is their shielding.
Firmware/BIOS problems: Firmware is software that is stored
permanently inside the ROM. It is the key to all USB devices. All the
information about the device is present in the device’s firmware. Port
reset itself once the descriptors in the firmware are loaded into the
system. Verify the root hub and you must have up-to-date firmware for
both BIOS and USB device. Malfunctioning of firmware results in loading
the second copy of the device in the Device Manager. When you
remove and insert the device, the device becomes available again and
appears as the second instance of the same device. When you find this
you must verify that you have the most up-to-date firmware for that
device.
Root Hub Configurations Problems: This problem is related to
computer set up. IRQ line need to be assigned by an USB controller in
the computer BIOS. You must assign the IRQ through CMOS setup.
Self Assessment Questions
8. Which devices are termed as intelligent serial interface?
9. UHCI stands for _____________.
10. The two types of cables are __________ and ___________.
11. State whether the following statement are true or false
a. Hardware problems are due to high or low power and limited
bandwidth
b. When the USB device is connected to the root hub we need to load
the device drivers and configure the device by using drivers in the
disk.
c. Firmware is antivirus software.
d. Root hub configuration problem is a problem related to computer
set up.
Activity 1
What will you do when you find the PC hangs when working with USB?
Hint: Refer the concept of USB symptoms under the book on
troubleshooting, maintaining, and repairing PCs by S. J. Bigelow
13.4 Summary
SCSI is a set of standards that define commands, protocols, and electrical
and optical interfaces for physical connection and data transmission
between computers and peripheral devices. The computer peripherals and
hardware components are completely free from compatibility issues
because it is taken care by SCSI devices. Installation of SCSI devices is
very easy because it is similar to PnP devices. The different checklist can
be used to verify the installation of SCSI devices. It is very easy to
troubleshoot the connectors and wires since it will not give much trouble.
The trouble may cause during installation, setup, and operation of the
devices that is on the bus.
Universal serial Bus (USB) is a serial Bus standard for connecting the
device to the computer without installing the driver when the computer is
shut down and restarted. USB allows up to 127 USB devices to run
simultaneously on computer. USB is a connection with two points in which
one point is a master on host and another point works as slave. Host is
usually a computer that may have 127 slaves connected at a time.
Computer has 2 to 4 USB connectors but hub number may increase up to
127. The USB system architecture consists of three main components, Host
computer, USB device and USB cable.
Though the USB problems are not severe, there are few steps which can
control these small problems such as hardware failure, device driver’s
configuration problems, cabling problems, firmware/BIOS problems, Root
hub configuration problems, etc.
Manipal University Jaipur B1416 Page No.: 275
Understanding PC and Troubleshooting Unit 13
13.5 Glossary
Term Description
Firmware Is a software that are stored permanently inside the ROM.
Root hub Are both physical and virtual installation ports that can be found on
your computer that are used for implementing and installing
additional hardware files and components to your computer's hard
drive.
USB hub Is a device that has multiple USB ports which is used to plug the
various USB devices and other hubs.
DSL Is a technology that provides data transmission over the telephone
network without interfering with the voice service.
MPEG-2 Is a standard for the generic coding of moving pictures and
associated audio information. MPEG-2 (Motion Picture Experts
Group – 2) is a compression standard for digital television. It
enables digital television broadcasters to transmit video streams
with higher resolution and audio streams with higher quality sound
while using as little bandwidth as possible.
13.7 Answers
Self Assessment Questions
1. SCSI
2. Small Computer System Interface
3. 50 pin or 68-pin
4. Handshaking
5. Terminator
6. LUN
7. False
8. USB
References:
Trouble shooting, maintaining and repairing PCs, the 1st author in PC
hardware, 5th edition by Stephen J. Bigelow, Tata McGraw Hill
Publications, 2001
Upgrading and repairing PCs, 15th anniversary edition by Scott Mueller,
Que publishing, 2003
CMOS, Circuit design, layout and simulation, third edition by R. Jacob
Baker, Wiley IEEE publishing, 2010.
E-References:
http://pcsupport.about.com/od/termss/g/scsi.htm
http://www.usblyzer.com/usb-system-architecture-components.htm
Unit 14 PC Assembly
Structure:
14.1 Introduction
Objectives
14.2 Plug and Play Devices
PnP under Windows OS
Enabling PnP under Linux
Troubleshooting
14.3 Identification of Cables in Computers
14.4 Fitting of Cabinet
14.5 Mounting Motherboard in Cabinet
14.6 Summary
14.7 Glossary
14.8 Terminal Questions
14.9 Answers
14.1 Introduction
In the previous units you studied the concept of CPU, memory,
motherboard, Buses, CMOS, BIOS, power supply and power management,
storage devices, parallel port, serial port, input-output devices, video
adapters and accelerators, and SCSI and USB systems. These concepts
you have studied individually in detail. You have studied the basic concepts
of all these devices and components. But any computer device is useful only
when it works well when connected to the computer and interact with all the
other devices of the computer. This unit will tell you how to accommodate all
the devices in one block and the working of the computer. In this unit we
shall discuss about assembling the PC with all the different components
discussed so far. Before you begin the process of assembling, first you need
to identify various devices and components need for a PC. In this unit, you
will study to identify necessary devices and components that make up a PC.
Also you will identify various cables in the computer, as a lot of devices
need to be connected to the computer. Operating systems such as
Windows OS, Windows Vista and Windows 7 support Plug and Play
devices. In these OS, you need not configure your devices; just plug your
device into the respective port, your system will work.
Moreover, the Plug and Play device driver support for many device classes
is provided by the Microsoft Windows Driver Model (WDM), which also
supports power management and other new capabilities that can be
configured and controlled by the operating system.
Plug and Play Architecture in Windows 2000
Figure 14.1 shows the architecture of Plug and Play in Windows 2000.It
contains two modes of functionalities: user-mode functionality and kernel-
mode functionality. The user-mode functionality cooperates with kernel-
mode components to provide dynamic configuration and interfaces with
other components that need to participate in Plug and Play, such as Setup
and Control Panel. Boot-time Plug and Play activity and interfaces with the
HAL (Hardware Abstraction Layer), Executive, and device drivers are
supported by the kernel-mode functionality. Let’s see the functions of
various components in this architecture.
and Play Manager can send requests to determine whether a device can be
safely kept in pause mode or removed; give the device driver an opportunity
to synchronize outstanding I/O requests to the incoming request; coordinate
with the user mode Plug and Play counterpart to pause or remove devices
that are available for such actions.
Power Manager and Policy Manager in the Kernel-mode
All power management APIs are handled by the Power Manager component
in the kernel-mode in combination with the Policy Manager. It also
coordinates matching power events, and generates power management
IRPs. It is the Power Manager which gathers the requests made by several
devices to be turned off, When several devices request to be turned off, the
Power Manager collects those requests, decideswhich requests must be
serialized, and then generates appropriate power management IRPs. The
Policy Manager component in the kernel-mode monitors activity in the
system and integrates user status, application status, and device driver
status into power policy. It is only under specified circumstances or upon
request that the Policy Manager generates IRPs to change device power
states.
I/O Manager in the Kernel-mode
There are a number of services provided by the I/O Manager in the kernel-
mode for device drivers like translating user-mode read and write
commands into read or write IRPs, andmanaging all the other main
operating system IRPs. As the functions of these interfaces are same as in
Windows NT 4.0 and both Windows NT 4.0 and Windows 2000 include the
I/O Manager, a Windows 2000 Plug and Play driver can be manually
installed on Windows NT 4.0 to serve as a Windows NT 4.0 driver, but it will
not support Plug and Play or other features specific only to Windows 2000.
WDM (Windows Device Manager) Interface for Plug and Play
The I/O system provides a layered architecture for drivers. The following
sections discusstypes of WDM drivers, driver layers, and device objects:
WDM Driver Types
The WDM Bus drivers are the standard WDM drivers that describe bus
capabilities and control the bus power management and Plug and Play. The
bus is referred by any drive from which other devices are listed. A bus driver
not only responds to new Plug and Play and power management IRPs but
Manipal University Jaipur B1416 Page No.: 282
Understanding PC and Troubleshooting Unit 14
Device Objects
The device objects which are the device to the driver created by the
corresponding driver are generally of three kinds: physical device objects
(PDOs), functional device objects (FDOs), and filter device objects. Physical
Device Objects (PDOs) represent a device on a bus. Every Plug and Play
API that refers to a device refers to the PDO. The Functional Device Objects
(FDOs) represent the functionality of a device to a function driver. The filter
device objects represent a filter driver as a hook to add value. These three
kinds of device objects are all of the type DEVICE_OBJECT, but are used
differently and can have different device extensions.
Additional Windows NT (New Technology) Interfaces
The Plug and Play drivers in Windows 2000 are not limited to using the
WDM (Windows Device Manager) interfaces. These drivers can call other
interfaces to support legacy Windows NT drivers, detection, or other
Windows 2000-specific capabilities that are not provided under WDM. You
should keep in mind that a driver that supports features specific to
Windows 2000 is no longer compatible with Windows 98. However if you
want to use the same drivers in Windows 2000 and Windows 98, then you
should opt for WDM drivers only.
User-Mode Plug and Play Components
The User-Mode APIs in Windows 2000 are 32-bit extended versions of
Windows 95 based Configuration Manager APIs and expose functionality
from the user-mode Plug and Play. The Windows 2000 Setup program
installs the drivers and so forth. The 32-bit device installer installation APIs
that Setup uses to install drivers are functionally a superset of the
Windows 95 SetupxDi (Windows 95 setup files) routines. Windows 2000
provides APIs that applications can use for customized hardware event
management and to create new hardware events.
Plug and Play Device Tree
The Plug and Play Manager maintains a device tree for the devices which
can be viewed through the Device Manager, which keeps track of the active
devices in the system and information about those devices. The Plug and
Play Manager updates the device tree as devices are added and removed
or as resources are reallocated. Depicted like a family tree, the device tree
is hierarchical in nature with devices on a bus represented as children of the
bus adapter or controller. The registry is the central storehouse for static
hardware information. Plug and Play system components and drivers build,
maintain, and access new and existing sub-trees in the registry.
14.2.2 Enabling PnP under Linux
It is from mid-2004 that serious problems of Plug and Play technology in
Linux have been resolved. Although initially Linux did not support PnP
devices nowhowever if you require it to support PnP devices then all you
need to do is select certain options while compiling the kernel. The BIOS
may assign IRQs but Linux may also assign some of them or even reassign
what the BIOS did. The configuration part of ACPI (Advance Configuration
and Power Interface) is designed to make it easy for operating systems to
do their own configuring. Linux can use ACPI if it's selected when the kernel
is compiled.
In Linux, each device driver does its own low level configuration which
function was difficult to perform until Linux supplied software in the kernel
that the drivers could use to make it easier forthem. Today, in Linux, driver
simply calls the kernel function: pci_enable_device () and the device gets
configured by being enabled and having both an IRQ and addresses
assigned to the device. This assignment could be what was previously
assigned by the BIOS or what the kernel had previously reserved for it when
the PCI or isa PnP device was detected by the kernel. There is even an
ACPI option for Linux to assign all devices IRQs at boot-time.This is done
through a program called ‘setserial’ which allows you to tell the device driver
software the I/O address of the serial port, which IRQ is set in the port's
hardware, etc. Although the drivers are still doing the configuring they just
have to request Linux to do it. In effect it is the non-device-driver part of the
Linux kernel that does most of the configuring. Linux then could be
considered a PnP operating system, at least for common computer
architectures.
In Linux, when a device driver finds its device, it sees the addresses and
IRQs assigned by BIOS and/or Linux and normally accepts them. However
the driver is at liberty to change the addresses using the functions supplied
by the kernel. But the kernel will not accept addresses that conflict with
other devices or ones that the hardware can't support. When the PC starts
up, you may see messages on the screen mentioningthat some Linux
device drivers have found their hardware devices and what the IRQ and
address ranges are. Thus, the kernel provides the drivers with functions
(program code) that the drivers may use to find out if their device exists,
how it's been configured, and functions to modify the configuration if
needed. You can refer to the word document “kernel-doc” in the directory
/usr/src/linux/Documentation. In this directory, you can also see pci.txt
(“How to Write Linux PCI Drivers”). Also you can refer to the file ‘pci.h’ in the
location: /usr/include/linux/pci.h for more information about PCI drivers.
14.2.3 Troubleshooting
This section discusses troubleshooting techniques for some common PnP
devicesunder Windows OS.
Plug and Play USB Not Working
In spite of Windows OS being loaded with a lot of drivers to support Plug
and Play devices these devices may not function for various reasons. The
most common reason may be that Windows OS may not have the device
driver for that particular USB. An example of such a device would be your
USB wireless broadband stick or a locally manufactured cell phone. Such
devices need related drivers to be installed prior to their functioning on any
computer.
The other common reasons as to why sometimes Windows OS plug and
play devices do not work may include faulty devices, incorrectly configured
hardware, mismatched USB cables, outdated firmware and problems with
USB root hubs. If you find a plug and play device that should be detected
automatically but is not being recognized by Windows OS, you can
troubleshoot Windows OS, keeping in mind the above possibilities.
Sometimes the USB device may work in another computer having Windows
OS but not in your computer. If this is the case first download the latest
updates of Windows OS, including latest Service Pack. Use the Windows
Update option under Tools Menu of the Internet Explorer to get the latest
updates. If you are using another browser, you can use the Automatic
Updates icon in the Control Panel to get the Windows OS Updates.
Before you download and install any updates you may be missing, or before
installing the latest Service Pack, which is not on your computer, create a
system restore point. You can do this by using the System Restore option.
devices as the USB cables are categorized based on the data transfer
speeds, which vary from cable to cable. You should checkif the cable is
compatible with your plug and play USB device. If you find that the cables
are ok and the problem persists then you should go in for advanced
Windows OS troubleshooting method for USB plug and play devices.
Advanced Windows Troubleshooting for Plug and Play Devices
As Windows OS has a certain power limit for each of its ports if any of the
ports attempts or starts consuming more power than the specified limit, the
operating system suspends the port temporarily. If this happens to the USB
ports, then the Windows OS plug and play device may not be recognized.
Updating the BIOS and USB Firmware to Restore the Settings of
Windows Ports:
Though the power settings are restored when you give a power cycle as
explained above, sometimes the problem lies with the firmware, meaning
the hardware itself. There could be several reasons why a port would draw
more power than allocated. If you found that the power cycle did not fix the
USB port, then now you may need to update the firmware. Moreover, you
can also update the system BIOS so that you can start afresh.For this you
could search the website of the manufacturer of your computer for the latest
version of USB firmware and any BIOS update for downloading them.
Reinstallation of USB Controllers:
Even after undertaking all checks for troubleshooting, your Windows OS
plug and play device does not work, and then you have to consider two
possibilities for this: either the USB controllers are corrupt or the USB ports
are bad. In the latter case, you will have to replace the USB ports. But
before that, check if the reinstallation of the USB controllers can solve your
problem with the Windows OS plug and play device not working.
To reinstall the USB controllers, you need to uninstall them first. To uninstall
the controllers, open the Device Manager by holding down the Windows key
and hitting the Break key. In the System Properties Dialog box that appears,
select the Hardware tab. Then click on the Device Manager Button (first one
from the top). In the dialog box, expand the Universal Serial Bus Controllers.
You will find it at the bottom of the window.
Once expanded, right click on each of the USB Controller and select
uninstall from the context menu. You may be presented with a message
saying something about system instability. Ignore the message and uninstall
all of them.
Self Assessment Questions
1. In Linux, the ‘pci.h’ header file is available in __________ directory.
2. ACPI stands for __________.
3. Every USB cable will work with all kinds USB plug and play devices.
(True / False)
Although there are different types of USB cables a standard USB connector,
USB-A, is a rectangular connector. The USB-A end is present on every USB
cable as it is the end that connects to your computer. The other end of the
USB cable may have different connectors including USB-B (a square
connector commonly used with printers, external hard drives, and larger
There are also connectors that have USB-A connectors at the end that
connect to the computer, and a device-specific connector at the other end
(e.g. the iPod). USB Male to Female connectors is also available for
extending the length of a USB cable. Many other non-USB cables can also
connect to your computer via a USB converter; these cables have the
standard USB-A connector on one end while the other end could have
connections for other ports such as Ethernet or audio.
Audio Cables and Connectors
The most common audio cable is the standard headphone jack which is also
referred to as TRS connector.Such connectors are available in several
sizes, but the most common ones used with computers are the 3.5 mm or
1/8" mini audio jack. Figure 14.4 shows the standard audio jack.
This standard audio jack can be used to connect most speakers and
microphones to the computer. The microphone port on your computer is
usually pink in color. The speaker port will be usually green. Some
computers have additional TSR audio ports colored black, grey, and gold;
these are for rear, front, and center/subwoofer output, respectively.
There is a bigger variety of the TSR connector which is called 1/4″ TRS.
This is commonly used in professional audio recording equipment and it can
be connected to a computer using a 1/4" to 1/8" converter as shown in
Figure 14.5.
S-Video
S-Video cables are also known as Separate Video or Super Video cables
carry analog video signals. They are commonly used for connecting DVD
players, camcorders, and older video consoles to the television. Standard
S-Video connectors are round in shape and usually have 4 to 9 pins. Figure
14.8 shows the S-Video cable.
Ethernet Cable
The Ethernet cable, also known as RJ45 is based on Cat5 (Category 5)
twisted pair cable and is made from 8 individual wires.The Ethernet
connector, has 8 pins and looks similar to a phone plug, but is actually
thicker and wider. It too has a clip to help maintain a tight connection like a
phone connector. Figure 14.11 shows the Ethernet cable.
set for Slave. Place the hard disk in the case and fasten with 4
screws.Connect one of the power supply cables to the hard drive.
Installing the CD-ROM Drive
First you need to set the jumper on the CD-ROM drive. You can configure
CD-ROM as either ‘Slave’ or ‘Master’. Here are the options:
Attach the CD-ROM to IDE (Integrated Drive Electronics) connector 1
and make the CD-ROM a slave. In this case, you will set the jumper on
the CD-ROM to "Slave" then attach the CD-ROM drive to the same IDE
cable as the hard drive. Or,
Attach the CD-ROM to IDE connector (Integrated Drive Electronics) 2
and make the CD-ROM a master. In this case you will set the jumper on
the CD-ROM to "Master" and attach the CD-ROM drive with a separate
IDE cable. In order to use this method, you will need a second IDE
cable.
Connect one of the power supply cables to the CD-ROM drive.
Once you have mounted the above devices in the cabinet, your next step is
to fix the motherboard in the cabinet and connecting the above devices to
the motherboard.
Once you install the memory, the next step is to mount the motherboard in
the case.
Installing the motherboard
It is essential to ensure that the motherboard you have purchased matches
your cabinet. Spacers, which come with the case, help you to mount the
motherboard on one side of the casewhere there is a metal plate that is
slightly bigger than the motherboard. You will find a number of plated screw
holes that you can match the spacers to and there should be at least a
couple of mounts on the case that you can fixa screw into. When you plug
cards into the PCI slots, they will point out through the slots at the back of
the PC cabinet. Also the ports (LAN, USB, PS/2, parallel etc.) will all have
to fit through the slot for the back-panel. It is recommended that you go
through the instruction manual that comes along with the case. It is
important to ensure that the motherboard does not touch the case at any
point otherwise it will result in short circuiting something making the
motherboard useless. Another vital point to consider is that no screws are
Manipal University Jaipur B1416 Page No.: 296
Understanding PC and Troubleshooting Unit 14
Figure 14.14: The 20 pin standard ATX power cable connected to motherboard
Next you have to connect various data cables from the devices such as
floppy drive, hard disk drive, CD-ROM drive into the motherboard. Figure
14.15 shows a schematic diagram of a motherboard. The diagram clearly
shows the respective slots to insert power cable, IDE cables, FDD (Floppy
Disk Drive) cable etc.
Fitting Cards
Fitting the sound and video cards is very easyas the PCI and AGP slots like
the memory slots are keyed meaning that the cards can only be inserted
one way. As usual you should take all the antistatic precautions. Next take
the graphics card from the antistatic bag and push it down into the AGP slot.
Look along the length of the slot to ensure that the card is not sitting up at
either end. Your motherboard may have a lot of PCI slots so try to place the
cards in those slots, such that enough space is available between them.
Sometimes your AGP card may develop heat; in that case try to avoid the
PCI slot next to it, just to ensurea cooling airflow around your case. Modern
AGP cards have cooling fans fitted in them.
Once you complete the above tasks, you can close the cabinet and then
connect the monitor, keyboard, mouse, speakers and microphone to the
computer. Now your computer is ready for installing the operating system.
14.6 Summary
This unit has provided you with some important concepts like:
Plug and Play (PnP) which is a combination of hardware and software
support that enables a computer system to recognize and adapt to
hardware configuration changes with little or no intervention by a user.
The kernel-mode functionality in Windows 2000 Plug and Play
whichsupports boot-time Plug and Play activity and interfaces with the
HAL (Hardware Abstraction Layer), Executive, and device drivers.
In Linux, each device driver does its own low level configuration.
Before start assembling a PC, you should identify various cables such
as power cables, data cables etc. in the computer.
USB cables are used to connect most new devices to your computer
including flash memory sticks, portable media players, internet modems
and digital cameras.
14.7 Glossary
Term Description
PnP Plug and Play (PnP) is a combination of hardware and
software support that enables a computer system to
recognize and adapt to hardware configuration changes with
little or no intervention by a user.
ACPI Advanced Configuration and Power Interface Specification
(ACPI) defines a comprehensive, system-wide approach to
controlling system and device configuration and power
management. ACPI provides these services for all versions
of Windows later than Windows 95.
Device object The device object represents the device to the driver which
will be created by the corresponding driver. Generally there
will be three kinds of device objects.
USB Universal Serial Bus (USB) cables are used to connect most
new devices to your computer including flash memory sticks,
portable media players, internet modems and digital
cameras.
RJ11 RJ11 is the standard telephone cable. It is used to connect
the Internet through DSL/ADSL modems.
RJ45 RJ45 is the standard Ethernet cable. It is based on Cat5
twisted pair cable and is made from 8 individual wires.
APM APM stands for Advanced Power Management, which is an
Application Programming Interface developed by Intel and
Microsoft and released in 1992 which enables an operating
system running an IBM-compatible personal computer to
work with the BIOS (part of the computer's firmware) to
achieve power management.
TRS Connector A TRS connector (Tip-Ring-Sleeve) also called an audio
jack, phone jack, phone plug, jack plug, stereo plug, mini-
jack, mini-stereo, or headphone jack, is a common analog
audio connector. It is cylindrical in shape, typically with three
contacts, although sometimes with two (a TS connector) or
four (a TRRS connector).
14.9 Answers
Self Assessment questions
1. /usr/include/linux
2. Advanced Configuration and Power Interface Specification
3. False
4. 3.5 mm
5. 4 to 9
6. RJ45
7. Switch Mode Power Supply
8. True
9. True
Terminal questions
1. Refer section 14.2: Plug and Play Devices
2. Refer section 14.3: Identification of Cables in Computers
3. Refer section 14.4: Fitting of Cabinet
4. Refer section 14.5: Mounting Motherboard in Cabinet
References:
Troubleshooting, Maintaining and Repairing PC’s by Stephen J.
Bigelow, TMH
Inside the IBM PC by Peter Norton, PHI
E-References:
http://www.build-your-own-computer.org/pc-assembly.html
–––––––––––––––––––