Unit 13 SCSI and USB Systems
Unit 13 SCSI and USB Systems
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