CSCI 2150 -- Laboratory Experiment
Basic PC Configuration & BIOS Flashing


A few years ago, graduates from our department raised concerns that they had never seen the inside of a computer nor had they installed an operating system such as Windows or Linux. This has changed, and much of the change has occurred in this class, CSCI 2150. This lab is the first of ten or eleven that introduce the student to the basics of PC installation, maintenance, and troubleshooting.

For many students in computer science, PC hardware and operating system installation is trivial. Either through requirements at their job, a desperate need to repair a home PC, or a passionate computer hobby, a number of people have learned to upgrade, maintain, and troubleshoot computers. If you are in this group, then this and many of the other labs based on the PC will seem trivial. The key is to make sure that everyone has achieved a certain level of competency when it comes to the systems they will be working with in future CSCI course and in their careers. If you feel that the repair and configuration of PCs is a trivial exercise, be sure to help those in the lab who are new to the concepts.

So as a CSCI student, what do you need to learn about the PC? Since each of you will be using the computer in different ways once you graduate, no one can really say. The way this class looks at it is that you should be able to make any of the upgrades or repairs commonly needed on a desktop machine. This includes troubleshooting problems, swapping defective parts, improving the computer's resources such as memory or drive capacities, or repairing or upgrading software including the operating system.

The first topic to tackle is to understand the configuration of the computer's hardware. Improper configuration can lead to problems such as boot failure or inaccessible resources. This lab provides a step-by-step procedure to introduce you to the system configuration.

If you miss the day we do this lab in class or if you would like to do the lab over again, you are more than welcome to come in during open lab hours to repeat the lab on your own.

Static Electricity

Since this lab involves coming in contact with the internal circuitry of the computer, we need to talk about static electricity. It is not a question of whether static electricity will damage components, it always does. Sometimes, it may take a day or two or even a month for the damage to appear, but eventually the computer will begin to have random failures and then finally the damaged component will fail. A major goal of opening a computer case up for upgrade or repair is to not have to open it up again later for an additional repair.

You cannot predict when static electricity will occur. Yes, static electricity is worse when conditions are dry, but do not depend on that. Simply standing up or using cellophane tape could create enough charge to damage some electronics. That small spark jumping from the back of your hand to your hard drive can turn the drive into a door stop...a $60 door stop.

To avoid damaging components with static electricity, always, always, always touch a metal part of the computer's case or some other large piece of metal to ground yourself before coming close to any exposed electronic components.

The lab is also equipped with wrist straps that you can wear to safely ground yourself without restricting your movement. There are two parts to a wrist strap: an elastic wrist band and a coiled wire. Simply attach the alligator clip at the end of the coiled wire to the computer's chassis and attach the end of the wire with the snap to the snap on the wrist band. As long as the user is wearing this wrist band properly, he or she is statically discharged.

Picture of a Typical Anti-Static Wriststrap

Anti-Static Wrist Strap

Improved mobility is only one benefit of the wrist strap. Each wrist strap contains a fuse that acts as a protection to the user in case the metal clip touches a high voltage source. Instead of shocking the user, the fuse blows and disconnects the user from the wire. Unfortunately, once this fuse blows, the wrist strap is no good and must be discarded. It is good practice to check the fuse in each wrist strap on a regular basis. This is done with an Ohmmeter, a device which checks to see if there is an electrical connection between two points.

If you or your lab partner are found not following anti-static procedures during any portion of a lab where electronics are exposed, you will automatically forfeit 10% (one letter grade) of your lab quiz grade.

Objective

This lab will introduce you to the operation of the computer's BIOS and the configuration of the computer's hardware. During the lab, you will:

You will be using some of the procedures shown in this lab in future labs, so it is important to understand them now.

Accessing the Computer's Internals

First, let's look at the motherboard. We will begin by removing the cover.

The design of the Dell computers in our lab facilitates the quick removal of the components. Because of the wear these systems receive from constant disassembly and reassembly, removal of some components may have become more difficult with time, but you shouldn't have to force anything. Our lab PCs are tower machines that have been laid on their sides for easier access to the components. All of the instructions here assume that the machine is already on its side.

  1. Verify that your computer is turned off.
  2. Move the monitor from on top of your PC so that you can remove the cover.
  3. Verify that the flap on the front of the PC that hides the USB and headphone jacks is closed.
  4. There are two buttons, one on either side of the cover toward the back of the machine. They are dark gray and shaped like a squashed oval. Press these buttons simultaneously and lift the back of the cover up and forward. Lifting the cover may be difficult and require two people, one to lift and the other to hold down the base of the machine. The cover is hinged at the front and should lift to almost a right angle with the base of the PC.
  5. Power Supply -- In the past, the power supplies needed to be removed in order to gain access to the motherboard. In the GX260's that we are using now, the power supply is small enough that this is unnecessary. If, however, you should need to remove one for replacement, simply remove the two screws holding the supply in the case, press the green tab where the supply rests on the case, and slip the supply up and out. This is shown in the figure to the right. (Source: Dell Documentation -- Higher Education, "Dell™ OptiPlex™ GX240 Service Manual")
  6. CDROM and swapable hard drive bays -- The CDROM, the swapable hard drive bay, and the floppy disk drive can be easily accessed from their position in the front cover (the cover that you flipped forward). If you look at any of these devices, you should see two green tabs, one on either side of each device. By grabbing the tabs of one of the devices, pulling them toward each other, then pulling the tabs out, the device should slide from its position within the case. Try this with one or two of the devices to make sure that you can do it.

Motherboard Jumpers

In the old days, the majority of a computer's configuration, everything from the amount of memory installed to the number of serial ports, was configured with a device known as a jumper. Now everything is configured using the boot configuration screen which we will discuss in the next section. There is still one thing that we need to configure with a jumper.

A jumper, the blue block in the figure below, is used to straddle two pins on a circuit board to create a "short circuit" or electrical connection. The outside of the jumper is plastic, but a metal strip inside of the plastic is what connects the two pins.

Image showing jumper connecting two pins.

These electrical connections between certain pins can be used to configure some of the most basic settings of the motherboard. In earlier generations of motherboards for example, if the processor was changed, the motherboard must alter the clock frequency that drives that processor. There were jumpers on the motherboard to do that.

The only jumper we need to be concerned with is a jumper that disables the BIOS password, the password that is required to configure the PC. If the user forgets the password used to configure the PC, then the configuration will never be able to be altered again. This jumper allows the password to be reset or disabled.

Looking down on the top of your motherboard (the dark green board that is mounted to the bottom of the case you've just opened), you should a bundle of colored wires going into a plug toward the front of the board near the power supply. Between this bundle of wires and the edge of the board, you should see a small jumper, typically black or green.

  1. This jumper allows you to enable or disable the password. Verify that the PSWD (password feature) is disabled. To do this, remove the jumper and slide it back on so that only one pin goes into the jumper. This will disable the setup password.

Next, we want to examine the hardware that is set up for your particular PC. The reason we will be doing this is to verify the system settings when we power up the machine.

  1. Begin by locating three very wide, flat cables that are plugged into the part of the motherboard that is toward the front of the machine. These cables are used to communicate with the computer's drives. (Hard drive, CDROM drive, diskette drive, etc.) They will look similar to the one pictured below. Note that one of these cables actually connects the motherboard to the USB and headphone jacks on the front panel. We are not concerned with this cable yet.

  2. Identify the cable that connects the floppy drive to the motherboard. It should be narrower than the other two cables (floppy drives only require 34 wires whereas the IDE cables require 40) and it should have a section where the cable has been cut and twisted.
  3. The other two are the IDE cables to the hard drive and to the CDROM. Silk screened onto the motherboard should be some lettering that distinguishes the two IDE cables from each other. One should say IDE1 or Primary and the other should say IDE2 or Secondary. Use these markings to identify which IDE cable goes to the back of the hard drive and which goes to the back of the CDROM.
  4. Do not disconnect any of these cables.
  5. In your notebook, record which device is connected to each of the motherboard connections.

Now you should have enough information about the computer to verify that it was configured properly in the system setup.

  1. Verify that you have reconnected any devices you may have disconnected while examining your system's configuration.
  2. Rotate the computer's cover back into place.
  3. If you unplugged power to your computer, please plug it back in now.

Note, your opportunity to successfully perform step 16 depends on you being able to quickly respond to your system prompt after power up. Therefore, read steps 15 and 16 before you do proceed.

  1. Power on your system.
  2. As your computer does its Power-On Self Test (POST), a start-up screen will be displayed where "DELL" is printed in large blue letters across the center of the screen. The message "F2 = Setup" will appear in the upper right corner. As soon as this message appears, press the F2 key. (This key is different for most all computers. For example, the older GX1's that we used to use in this lab, the user was to hold down the <CTRL> and <ALT> keys and press the <ENTER> key to get into system setup.)

After steps 15 and 16, the computer should respond by placing the message "Entering Setup" in the upper right corner of the screen.

After a moment, the first page of the system setup screen will be displayed. This is where we will be verifying the hardware configuration we examined in steps 7, 8, 9, and 10 in addition to examining how the system has been configured. The image below represents the setup screen. Note that the actual screen needs to be scrolled to show all of the options.

                           Dell - OptiPlex GX260
+--------------------------------------------------------------------------+
| Intel  Pentium  4 Processor: 2.00 MHz   | BIOS Version: A08              |
| LEVEL 2 Cache: 512 KB Integrated        | Service Tag : GRL8Q11          |
+--------------------------------------------------------------------------+
============================================================================
| System Time ......................................... 16:30:57           |
| System Date ......................................... Mon Sep 04, 2006   |
|                                                                          |
| Diskette Drive A: ................................... 3.5 inch, 1.44 MB  |

|                                                                          |
| Primary Drive 0 ..................................... Hard Drive         |
| Primary Drive 1 ..................................... OFF                |
| Secondary Drive 0 ................................... CD-ROM Reader      |
| Secondary Drive 1 ................................... OFF                |
|                                                                          |
| Boot Sequence ....................................... <ENTER>            |
|                                                                          |
| Memory Information .................................. <ENTER>            |
| CPU Information ..................................... <ENTER>            |
|                                                                          |
| Integrated Devices .................................. <ENTER>            |
| PCI IRQ Assignment .................................. <ENTER>            |
| IRQ Reservations .................................... <ENTER>            |
| Power Management .................................... <ENTER> | | System Security ..................................... <ENTER> | | | | Keyboard NumLock .................................... On | | Report Keyboard Errors .............................. Report | | | | Auto Power On ....................................... Disabled | | Remote Wake Up ...................................... Off | | Fast Boot ........................................... Off | | IDE Hard Drive Acoustics Mode ....................... Bypass | | | | System Event Log .................................... <ENTER> | | | | Asset Tag ........................................... | ============================================================================

On the setup screen you should see configuration items such as:

At the bottom of the setup screen, you should see a menu of commands to use to modify the configurable items, to move the cursor, etc. For example, SPACE, +, or - will change the value of the currently highlighted field.

  1. Verify that the system clock is correct.
  2. Compare your notes from steps 8, 9, 10, and 11 to see if the computer correctly detected all of your drives and that the drives are on the correct IDE connection. Note that each of the IDE connections is capable of supporting 2 drives. This allows our system to have a total of 4 IDE drives.
  3. Verify that none of the IDE drives has a drive defined for it that does not exist. If this is the case, set that drive to "OFF".
  4. In your notebook, record all of the hard drive specifications for every hard drive in your system. You can determine the size of the drive by highlighting the drive and pressing enter. This should give you the model and the capacity.
  5. In your notebook, record the CPU speed.
  6. In your notebook, record the amount of memory that the processor detected during the POST. To do this, you will need to scroll to the setup item labeled "Memory Information" and press enter.
  7. Move to the boot sequence field and press ENTER. This field tells the computer the order in which its drives will be checked for a valid operating system. For example, the CDROM may be checked before the hard drive is. If no valid operating system is found on the CDROM, the hard drive's operating system will be used. In your notebook, record all of the drives that can be used for booting and the order in which they currently are set to be checked.
  8. At this point we need to change the boot sequence so that it will match what we need for future lab experiments. Use the space bar to enable all of the devices and use the + and - keys to change their order. Make it so that the configuration of this field looks like the following window. Note: Since HTML does not provide me with the ability to make a checkmark, I've replaced the checkmarks that you will see on your screen with x's.
    x  1. Diskette Drive
    x  2. IDE CD-ROM Device
    x  3. Hard-Disk Drive C:
    After verifying that the boot sequence is correct, press enter to accept the change.
  1. Move the cursor down to the Integrated Devices Field. When it is highlighted, press ENTER.
  2. From the Integrated Devices window, highlight the Parallel Port and press ENTER.
  3. This is the I/O address that the software uses to communicate with the printer. It is like a phone number that the processor uses to call the printer port.
  4. In your notebook, record the current setting of the parallel port address. Also, record each of the possible values for this field by scrolling through them all using the left and right arrow keys or the + and - keys. Make sure you put the parallel port address back to its original value before exiting.

Now, we need to reboot the machines.

  1. On the Dell GX260's, pressing escape brings up a menu. If you had to change the boot sequence, select "Save Changes and Exit." Otherwise, select "Discard Changes and Exit."

If your computer does not reboot, examine the possible reasons in the next section of this document.

Why isn't my PC up and running?

Due to the number of components it takes to run a PC, there are a number of reasons why it might not come up. There is no substitute for experience. Once you've put a bunch of computer systems together, you'll know what to look for. In the absence of experience, however, there are a couple of things you can check first.

Loading a New BIOS

In an effort to make sure that your computer is capable of using the latest technology and to ensure its stable operation, we need to verify that the most basic code that the computer uses is the most up-to-date. The main component behind accessing the devices on a computer is called the Basic Input Output System (BIOS)

As will be explained in the lab on operating system installation, the BIOS is necessary to give the processor the rudimentary code in order to bring up the computer. It performs simple functions like testing the hardware (including memory), initializing hardware such as USB or printer ports, and creating the basic interface to storage devices such as the hard drives.

To put it in plain English, the operating system that is stored on the hard drive is completely useless unless the processor knows how to communicate with the hard drive in the first place. The operating system cannot handle the hard drive interface because the processor needs this interface before it can get anything from the hard drive, namely the operating system. This becomes a "which came first, the chicken or the egg?" problem.

Therefore, the next step in this lab is to verify that the latest BIOS has been loaded on your computer.

The latest BIOS for your computer should be available from the manufacturer's web site. In the case of the computers in the lab, the new BIOS's were downloaded in the form of an executable file from the Dell web site. In the lab, you should have access to a number of floppies containing this file, BR89214.exe. You may also download it to your home PC before class. This is not the BIOS, rather it is a program that will create a floppy diskette that then updates your BIOS.

Using this file and the following process, you should be able to update the BIOS on the Dell machines in the lab. Note that you will need to leave the CSCI lab's hard drive in the machine in order to complete this part of the lab.

NOTE: This procedure requires one blank, formatted 3.5-inch floppy disk; label the disk BIOS.

Dell gives the following standard warning about installing a new BIOS: "NOTICE: Changing the system BIOS may result in unintended side affects, such as incompatibility of the new BIOS with installed hardware. If problems arise after a BIOS change, it may be necessary to return the system to the original version of the BIOS." This procedure has been tried on all of the machines in the lab without any ill effects.

  1. Copy the file BR89214.exe to a directory on the local drive of the PC you are working on.
  2. From either Windows Explorer or the run menu item in the Start menu, execute the program that you just copied to the hard drive. (The program's icon should look like a floppy disk.) Dell warns that if a Security Warning window appears, you should simply click "Yes". The following window should be displayed:

  1. As prompted, enter a blank formatted disk into drive A: and press Enter. Note: Any data on this diskette will be destroyed.
  2. If everything functioned properly, you should see an output from the application similar to that shown below:
  1. When the application has finished copying the image to your diskette, you should see the following window:
  1. When the diskette is completed, clicking "Finish" should close the window.

Steps 30 through 35 create a bootable diskette from which you will boot the lab PCs. When you boot the Dell GX260 from this diskette, it will take you through the rest of the BIOS download. The remaining steps take you through that process. If you haven't set up your boot sequence as described in step 24, do that now.

This step in the process is critical. Do not allow the PC to lose power until the process is complete. Losing power may corrupt the BIOS making the PC "unbootable".

  1. Place the new, bootable diskette in the A drive now if you removed it after step 35.
  2. Turn on or reset your machine to boot it from the diskette.

The computer should restart and boot from the floppy disk. Now we will continue with the instructions for flashing a new BIOS.

  1. Upon rebooting, the computer should automatically load a small operating system from the BIOS and run the Flash BIOS program. If the flash BIOS program does not start automatically, look to see if you have a simple text prompt "A:\". If this is the case, try recreating the boot diskette. If this doesn't work, see the instructor. What you should see is the following:
Starting MS-DOS...
GX260A09.EXE Loading...
Verifying system configurations. Checking ROM file... ROM file CRC-32 is correct. Press any key to continue.
  1. At this point, press any key to continue the BIOS loading process. This should result in the following output.
About to replace Dell System OptiPlex GX260 BIOS.
Press 'Y' to replace "A08" BIOS with "A09" BIOS.
  1. Pressing 'Y' causes the program to verify the existing BIOS. This should result in the following output.
The boot block code is different in the new flash.
The boot block will be flashed if you choose to continue.
A power loss during this process may cause the boot ROM to be corrupted.
Press 'C' to continue anyway.
  1. Pressing 'C' causes the program to begin programming the new BIOS. This should result in the following output.
Erasing Flash........... 100%
Programming Flash....... 100%
Comparing Flash......... 100%
Done! -- Press any key to reboot.
  1. When the computer has finished updating the BIOS, you will receive a prompt saying so. Remove the floppy disk and press the "Enter" to reboot the system.

If the process went correctly, the computer should reboot with the new of the BIOS installed. Watch the boot screen which indicate the new BIOS version to verify this. Shutdown the computer and turn off the monitor to complete the lab.