What is “flashing the BIOS”?












23















What does "Flashing the BIOS" mean? Are there benefits to flashing it? Is it safe? Should it be done inside or outside of an OS, for example my current Windows 7 installation?










share|improve this question




















  • 2





    This question has been featured in a Super User Community Blog post: What is “Flashing the BIOS”?.

    – studiohack
    Apr 11 '11 at 3:15


















23















What does "Flashing the BIOS" mean? Are there benefits to flashing it? Is it safe? Should it be done inside or outside of an OS, for example my current Windows 7 installation?










share|improve this question




















  • 2





    This question has been featured in a Super User Community Blog post: What is “Flashing the BIOS”?.

    – studiohack
    Apr 11 '11 at 3:15
















23












23








23


1






What does "Flashing the BIOS" mean? Are there benefits to flashing it? Is it safe? Should it be done inside or outside of an OS, for example my current Windows 7 installation?










share|improve this question
















What does "Flashing the BIOS" mean? Are there benefits to flashing it? Is it safe? Should it be done inside or outside of an OS, for example my current Windows 7 installation?







bios flashing






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 17 '11 at 0:08







studiohack

















asked Mar 31 '10 at 16:51









studiohackstudiohack

11.3k1880114




11.3k1880114








  • 2





    This question has been featured in a Super User Community Blog post: What is “Flashing the BIOS”?.

    – studiohack
    Apr 11 '11 at 3:15
















  • 2





    This question has been featured in a Super User Community Blog post: What is “Flashing the BIOS”?.

    – studiohack
    Apr 11 '11 at 3:15










2




2





This question has been featured in a Super User Community Blog post: What is “Flashing the BIOS”?.

– studiohack
Apr 11 '11 at 3:15







This question has been featured in a Super User Community Blog post: What is “Flashing the BIOS”?.

– studiohack
Apr 11 '11 at 3:15












2 Answers
2






active

oldest

votes


















24














There is a chip in your computer that has bootup instructions (The Basic Input Output System). It tells your computer how to do very basic things, interact with some hardware, load the operating system, etc. Flashing it means to update it with a new program. You shouldn't do it unless you need to do so in order to fix something.



The process is usually done by using either built-in functionality of the old BIOS, or a MS-DOS-based program (booted from floppy), or more recently, a Windows program (which comes with a special driver to obtain access to hardware). (Linux? What's that?)



If power goes out while flashing, you will likely be left with an unbootable computer. Some motherboards come with secondary firmware on a separate chip though, which kicks in if the main BIOS is corrupted (e.g. power failure during flashing). This firmware usually supports flashing the BIOS from a file in a CD or floppy disk.



BTW, the word flashing is used because BIOS uses Flash Memory.






share|improve this answer


























  • interesting...I know what the BIOS is, was just curious as to what was meant by flashing it...makes sense. Thanks!

    – studiohack
    Mar 31 '10 at 16:57











  • People also recommend not typing anything on the keyboard or moving the mouse cursor while flashing the BIOS as well.

    – Isxek
    Mar 31 '10 at 17:34











  • @lsxek: oh really? sounds pretty serious to me...what software/scenarios would you need to flash the BIOS for?

    – studiohack
    Mar 31 '10 at 17:36








  • 5





    You might need it in order to allow your motherboard to support newer hardware. For instance, to support a newer version of SATA, or to provide a possible bug fix to how the motherboard reads memory, etc...

    – BBlake
    Mar 31 '10 at 17:40






  • 7





    The BIOS is almost always on it's own chip attached to your motherboard. It is essentially a memory chip. Older BIOS chips used ROM (READ ONLY MEMORY) and could not be updated. Newer chips use flash based memory.

    – BBlake
    Mar 31 '10 at 17:42



















11














Background/Benefit:



The BIOS is a stand-alone chip on the motherboard that is plugged in to provide basic functionality (hence Basic Input-Output System). It provides non-volatile memory, meaning that the contents are retained when the power is removed. Naturally, sometimes the programming may need to be updated to fix bugs or add new functionality.





Etymology:



Unlike magnetic media in which a magnetic head is used to flip tiny bits of ferro-magnetic molecules on the disk, in the old days, chips like this would be EPROMs that had a little circular window on the top of the chip, through which specialized equipment would literally flash a beam of ultra-violet light to erase the chip, allowing it be re-programmed (somewhat like how CPUs were manufactured with beams of light baking the transistor masks into the silicon wafers). Think of erasable CDs or DVDs; to erase them, the laser basically “melts” (not technically) the material, then it can be written.



(Note, just like leaving CDs/DVDs in the sun can damage them, leaving an EPROM exposed to the sun could also damage them, so they often had protective stickers covering the flashing window.)



These optically programmed EPROMs were too expensive to manufacture for general use, so EPROMs were often made without the window, thus making them write-once and non-updateable. As a result, they were later replaced with EEPROM (Electronically-Erasable, Programmable Read-Only Memory) chips, making them much easier and cost-effective since they could be updated with the customer’s system itself instead of needing to be sent to a shop to use the special equipment.



That’s where the term flashing comes from, and like most outdated terms, it just kind of stuck.





Risks:



In the past (and to a lesser extent still), flashing the BIOS was considered risky because the BIOS was the foundation of the device (recall the Basic part of the name). Therefore if the write was interrupted or corrupted for any reason (imagine bumping or pulling the plug of the computer while burning a non-erasable CD), the data would then be corrupt, so it would not surprisingly, not work. Plus since the chips were relatively slow to write and took about a minute to write a 1MB block, this made them a little susceptible to environmental problems like power-loss. Since the chip provides the basic functionality required to even boot the device, there would be no way to re-program it again to fix it (if you need the computer to program it, but the computer doesn’t work, how would you program it? Chicken-egg. ;-))



Of course this was not the end of the world; you could pop it in another computer with dual-BIOS slots or a special BIOS programming device and program it, but unfortunately these special motherboards were rare and expensive as were the devices, which could usually only be found in some computer shops.



(The same problem exists for other BIOSes as well like in optical drives, video cards, etc. To be able to re-flash the BIOS of a drive or card, it has to be detected and identified by the system, but if the BIOS doesn’t work, then the system cannot do so because the device can’t initialize properly.)





Solutions:



These days, while the problem still exists for drives and cards, motherboard manufacturers have provided some solutions to help. A common method is to implement a backup BIOS in the board that can kick in when the primary one is faulty. This backup BIOS can then be used to flash a copy onto the primary, thus restoring functionality. In the past, this was done with a second BIOS socket on the board with a second, identical chip, but these days, board mfgs often opt to use a non-writable chip since the backup does not need to be updatable and using a non-flashable one is cheaper. When booting, a compatible board will usually display a hotkey (eg F2, Insert, etc.) that can be pressed to copy the backup to the primary.



Another method that some boards use is to include a small, dedicated chip that has a “flasher” on it. When the system receives power, even if the system won’t boot, you can press a special key that will trigger the flasher to read the floppy (or USB drive, etc.) to see if there is a file with a BIOS image on it. If so, then it copies the image to the BIOS.





OSes:



Again, in the past, Flashing utilities were DOS programs because DOS was the closest thing to an RTOS (Real-Time Operating System) due to it’s non-multi-tasking nature. As such, it was not as vulnerable to interruptions, task-switches, paging, low-memory, and whatnot that could corrupt the flashing process. These days (ie several years ago) however, DOS is effectively “dead” (never!), and the chips are much faster (a 4MB block can be flashed in ~30 seconds), so flashing utilities are generally Windows programs, though DOS ones still often exist.





Photos:



Here’s a photo I just took of an old 8-bit Sony IDE controller. Notice the EPROM with its protective sticker removed. Below it, you can see a close-up of the EPROM, including the connective wires through the flashing window. (Don’t worry, the flash from my digital camera is not sufficient to wipe out the chip. Besides, I have a couple of other 8-bit controllers if I need them. :-))



8-bit Sony IDE controllerClose-up of EPROM flashing window






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f126149%2fwhat-is-flashing-the-bios%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    24














    There is a chip in your computer that has bootup instructions (The Basic Input Output System). It tells your computer how to do very basic things, interact with some hardware, load the operating system, etc. Flashing it means to update it with a new program. You shouldn't do it unless you need to do so in order to fix something.



    The process is usually done by using either built-in functionality of the old BIOS, or a MS-DOS-based program (booted from floppy), or more recently, a Windows program (which comes with a special driver to obtain access to hardware). (Linux? What's that?)



    If power goes out while flashing, you will likely be left with an unbootable computer. Some motherboards come with secondary firmware on a separate chip though, which kicks in if the main BIOS is corrupted (e.g. power failure during flashing). This firmware usually supports flashing the BIOS from a file in a CD or floppy disk.



    BTW, the word flashing is used because BIOS uses Flash Memory.






    share|improve this answer


























    • interesting...I know what the BIOS is, was just curious as to what was meant by flashing it...makes sense. Thanks!

      – studiohack
      Mar 31 '10 at 16:57











    • People also recommend not typing anything on the keyboard or moving the mouse cursor while flashing the BIOS as well.

      – Isxek
      Mar 31 '10 at 17:34











    • @lsxek: oh really? sounds pretty serious to me...what software/scenarios would you need to flash the BIOS for?

      – studiohack
      Mar 31 '10 at 17:36








    • 5





      You might need it in order to allow your motherboard to support newer hardware. For instance, to support a newer version of SATA, or to provide a possible bug fix to how the motherboard reads memory, etc...

      – BBlake
      Mar 31 '10 at 17:40






    • 7





      The BIOS is almost always on it's own chip attached to your motherboard. It is essentially a memory chip. Older BIOS chips used ROM (READ ONLY MEMORY) and could not be updated. Newer chips use flash based memory.

      – BBlake
      Mar 31 '10 at 17:42
















    24














    There is a chip in your computer that has bootup instructions (The Basic Input Output System). It tells your computer how to do very basic things, interact with some hardware, load the operating system, etc. Flashing it means to update it with a new program. You shouldn't do it unless you need to do so in order to fix something.



    The process is usually done by using either built-in functionality of the old BIOS, or a MS-DOS-based program (booted from floppy), or more recently, a Windows program (which comes with a special driver to obtain access to hardware). (Linux? What's that?)



    If power goes out while flashing, you will likely be left with an unbootable computer. Some motherboards come with secondary firmware on a separate chip though, which kicks in if the main BIOS is corrupted (e.g. power failure during flashing). This firmware usually supports flashing the BIOS from a file in a CD or floppy disk.



    BTW, the word flashing is used because BIOS uses Flash Memory.






    share|improve this answer


























    • interesting...I know what the BIOS is, was just curious as to what was meant by flashing it...makes sense. Thanks!

      – studiohack
      Mar 31 '10 at 16:57











    • People also recommend not typing anything on the keyboard or moving the mouse cursor while flashing the BIOS as well.

      – Isxek
      Mar 31 '10 at 17:34











    • @lsxek: oh really? sounds pretty serious to me...what software/scenarios would you need to flash the BIOS for?

      – studiohack
      Mar 31 '10 at 17:36








    • 5





      You might need it in order to allow your motherboard to support newer hardware. For instance, to support a newer version of SATA, or to provide a possible bug fix to how the motherboard reads memory, etc...

      – BBlake
      Mar 31 '10 at 17:40






    • 7





      The BIOS is almost always on it's own chip attached to your motherboard. It is essentially a memory chip. Older BIOS chips used ROM (READ ONLY MEMORY) and could not be updated. Newer chips use flash based memory.

      – BBlake
      Mar 31 '10 at 17:42














    24












    24








    24







    There is a chip in your computer that has bootup instructions (The Basic Input Output System). It tells your computer how to do very basic things, interact with some hardware, load the operating system, etc. Flashing it means to update it with a new program. You shouldn't do it unless you need to do so in order to fix something.



    The process is usually done by using either built-in functionality of the old BIOS, or a MS-DOS-based program (booted from floppy), or more recently, a Windows program (which comes with a special driver to obtain access to hardware). (Linux? What's that?)



    If power goes out while flashing, you will likely be left with an unbootable computer. Some motherboards come with secondary firmware on a separate chip though, which kicks in if the main BIOS is corrupted (e.g. power failure during flashing). This firmware usually supports flashing the BIOS from a file in a CD or floppy disk.



    BTW, the word flashing is used because BIOS uses Flash Memory.






    share|improve this answer















    There is a chip in your computer that has bootup instructions (The Basic Input Output System). It tells your computer how to do very basic things, interact with some hardware, load the operating system, etc. Flashing it means to update it with a new program. You shouldn't do it unless you need to do so in order to fix something.



    The process is usually done by using either built-in functionality of the old BIOS, or a MS-DOS-based program (booted from floppy), or more recently, a Windows program (which comes with a special driver to obtain access to hardware). (Linux? What's that?)



    If power goes out while flashing, you will likely be left with an unbootable computer. Some motherboards come with secondary firmware on a separate chip though, which kicks in if the main BIOS is corrupted (e.g. power failure during flashing). This firmware usually supports flashing the BIOS from a file in a CD or floppy disk.



    BTW, the word flashing is used because BIOS uses Flash Memory.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 23 '11 at 22:01









    Hello71

    7,28233443




    7,28233443










    answered Mar 31 '10 at 16:54









    Donald ByrdDonald Byrd

    720717




    720717













    • interesting...I know what the BIOS is, was just curious as to what was meant by flashing it...makes sense. Thanks!

      – studiohack
      Mar 31 '10 at 16:57











    • People also recommend not typing anything on the keyboard or moving the mouse cursor while flashing the BIOS as well.

      – Isxek
      Mar 31 '10 at 17:34











    • @lsxek: oh really? sounds pretty serious to me...what software/scenarios would you need to flash the BIOS for?

      – studiohack
      Mar 31 '10 at 17:36








    • 5





      You might need it in order to allow your motherboard to support newer hardware. For instance, to support a newer version of SATA, or to provide a possible bug fix to how the motherboard reads memory, etc...

      – BBlake
      Mar 31 '10 at 17:40






    • 7





      The BIOS is almost always on it's own chip attached to your motherboard. It is essentially a memory chip. Older BIOS chips used ROM (READ ONLY MEMORY) and could not be updated. Newer chips use flash based memory.

      – BBlake
      Mar 31 '10 at 17:42



















    • interesting...I know what the BIOS is, was just curious as to what was meant by flashing it...makes sense. Thanks!

      – studiohack
      Mar 31 '10 at 16:57











    • People also recommend not typing anything on the keyboard or moving the mouse cursor while flashing the BIOS as well.

      – Isxek
      Mar 31 '10 at 17:34











    • @lsxek: oh really? sounds pretty serious to me...what software/scenarios would you need to flash the BIOS for?

      – studiohack
      Mar 31 '10 at 17:36








    • 5





      You might need it in order to allow your motherboard to support newer hardware. For instance, to support a newer version of SATA, or to provide a possible bug fix to how the motherboard reads memory, etc...

      – BBlake
      Mar 31 '10 at 17:40






    • 7





      The BIOS is almost always on it's own chip attached to your motherboard. It is essentially a memory chip. Older BIOS chips used ROM (READ ONLY MEMORY) and could not be updated. Newer chips use flash based memory.

      – BBlake
      Mar 31 '10 at 17:42

















    interesting...I know what the BIOS is, was just curious as to what was meant by flashing it...makes sense. Thanks!

    – studiohack
    Mar 31 '10 at 16:57





    interesting...I know what the BIOS is, was just curious as to what was meant by flashing it...makes sense. Thanks!

    – studiohack
    Mar 31 '10 at 16:57













    People also recommend not typing anything on the keyboard or moving the mouse cursor while flashing the BIOS as well.

    – Isxek
    Mar 31 '10 at 17:34





    People also recommend not typing anything on the keyboard or moving the mouse cursor while flashing the BIOS as well.

    – Isxek
    Mar 31 '10 at 17:34













    @lsxek: oh really? sounds pretty serious to me...what software/scenarios would you need to flash the BIOS for?

    – studiohack
    Mar 31 '10 at 17:36







    @lsxek: oh really? sounds pretty serious to me...what software/scenarios would you need to flash the BIOS for?

    – studiohack
    Mar 31 '10 at 17:36






    5




    5





    You might need it in order to allow your motherboard to support newer hardware. For instance, to support a newer version of SATA, or to provide a possible bug fix to how the motherboard reads memory, etc...

    – BBlake
    Mar 31 '10 at 17:40





    You might need it in order to allow your motherboard to support newer hardware. For instance, to support a newer version of SATA, or to provide a possible bug fix to how the motherboard reads memory, etc...

    – BBlake
    Mar 31 '10 at 17:40




    7




    7





    The BIOS is almost always on it's own chip attached to your motherboard. It is essentially a memory chip. Older BIOS chips used ROM (READ ONLY MEMORY) and could not be updated. Newer chips use flash based memory.

    – BBlake
    Mar 31 '10 at 17:42





    The BIOS is almost always on it's own chip attached to your motherboard. It is essentially a memory chip. Older BIOS chips used ROM (READ ONLY MEMORY) and could not be updated. Newer chips use flash based memory.

    – BBlake
    Mar 31 '10 at 17:42













    11














    Background/Benefit:



    The BIOS is a stand-alone chip on the motherboard that is plugged in to provide basic functionality (hence Basic Input-Output System). It provides non-volatile memory, meaning that the contents are retained when the power is removed. Naturally, sometimes the programming may need to be updated to fix bugs or add new functionality.





    Etymology:



    Unlike magnetic media in which a magnetic head is used to flip tiny bits of ferro-magnetic molecules on the disk, in the old days, chips like this would be EPROMs that had a little circular window on the top of the chip, through which specialized equipment would literally flash a beam of ultra-violet light to erase the chip, allowing it be re-programmed (somewhat like how CPUs were manufactured with beams of light baking the transistor masks into the silicon wafers). Think of erasable CDs or DVDs; to erase them, the laser basically “melts” (not technically) the material, then it can be written.



    (Note, just like leaving CDs/DVDs in the sun can damage them, leaving an EPROM exposed to the sun could also damage them, so they often had protective stickers covering the flashing window.)



    These optically programmed EPROMs were too expensive to manufacture for general use, so EPROMs were often made without the window, thus making them write-once and non-updateable. As a result, they were later replaced with EEPROM (Electronically-Erasable, Programmable Read-Only Memory) chips, making them much easier and cost-effective since they could be updated with the customer’s system itself instead of needing to be sent to a shop to use the special equipment.



    That’s where the term flashing comes from, and like most outdated terms, it just kind of stuck.





    Risks:



    In the past (and to a lesser extent still), flashing the BIOS was considered risky because the BIOS was the foundation of the device (recall the Basic part of the name). Therefore if the write was interrupted or corrupted for any reason (imagine bumping or pulling the plug of the computer while burning a non-erasable CD), the data would then be corrupt, so it would not surprisingly, not work. Plus since the chips were relatively slow to write and took about a minute to write a 1MB block, this made them a little susceptible to environmental problems like power-loss. Since the chip provides the basic functionality required to even boot the device, there would be no way to re-program it again to fix it (if you need the computer to program it, but the computer doesn’t work, how would you program it? Chicken-egg. ;-))



    Of course this was not the end of the world; you could pop it in another computer with dual-BIOS slots or a special BIOS programming device and program it, but unfortunately these special motherboards were rare and expensive as were the devices, which could usually only be found in some computer shops.



    (The same problem exists for other BIOSes as well like in optical drives, video cards, etc. To be able to re-flash the BIOS of a drive or card, it has to be detected and identified by the system, but if the BIOS doesn’t work, then the system cannot do so because the device can’t initialize properly.)





    Solutions:



    These days, while the problem still exists for drives and cards, motherboard manufacturers have provided some solutions to help. A common method is to implement a backup BIOS in the board that can kick in when the primary one is faulty. This backup BIOS can then be used to flash a copy onto the primary, thus restoring functionality. In the past, this was done with a second BIOS socket on the board with a second, identical chip, but these days, board mfgs often opt to use a non-writable chip since the backup does not need to be updatable and using a non-flashable one is cheaper. When booting, a compatible board will usually display a hotkey (eg F2, Insert, etc.) that can be pressed to copy the backup to the primary.



    Another method that some boards use is to include a small, dedicated chip that has a “flasher” on it. When the system receives power, even if the system won’t boot, you can press a special key that will trigger the flasher to read the floppy (or USB drive, etc.) to see if there is a file with a BIOS image on it. If so, then it copies the image to the BIOS.





    OSes:



    Again, in the past, Flashing utilities were DOS programs because DOS was the closest thing to an RTOS (Real-Time Operating System) due to it’s non-multi-tasking nature. As such, it was not as vulnerable to interruptions, task-switches, paging, low-memory, and whatnot that could corrupt the flashing process. These days (ie several years ago) however, DOS is effectively “dead” (never!), and the chips are much faster (a 4MB block can be flashed in ~30 seconds), so flashing utilities are generally Windows programs, though DOS ones still often exist.





    Photos:



    Here’s a photo I just took of an old 8-bit Sony IDE controller. Notice the EPROM with its protective sticker removed. Below it, you can see a close-up of the EPROM, including the connective wires through the flashing window. (Don’t worry, the flash from my digital camera is not sufficient to wipe out the chip. Besides, I have a couple of other 8-bit controllers if I need them. :-))



    8-bit Sony IDE controllerClose-up of EPROM flashing window






    share|improve this answer




























      11














      Background/Benefit:



      The BIOS is a stand-alone chip on the motherboard that is plugged in to provide basic functionality (hence Basic Input-Output System). It provides non-volatile memory, meaning that the contents are retained when the power is removed. Naturally, sometimes the programming may need to be updated to fix bugs or add new functionality.





      Etymology:



      Unlike magnetic media in which a magnetic head is used to flip tiny bits of ferro-magnetic molecules on the disk, in the old days, chips like this would be EPROMs that had a little circular window on the top of the chip, through which specialized equipment would literally flash a beam of ultra-violet light to erase the chip, allowing it be re-programmed (somewhat like how CPUs were manufactured with beams of light baking the transistor masks into the silicon wafers). Think of erasable CDs or DVDs; to erase them, the laser basically “melts” (not technically) the material, then it can be written.



      (Note, just like leaving CDs/DVDs in the sun can damage them, leaving an EPROM exposed to the sun could also damage them, so they often had protective stickers covering the flashing window.)



      These optically programmed EPROMs were too expensive to manufacture for general use, so EPROMs were often made without the window, thus making them write-once and non-updateable. As a result, they were later replaced with EEPROM (Electronically-Erasable, Programmable Read-Only Memory) chips, making them much easier and cost-effective since they could be updated with the customer’s system itself instead of needing to be sent to a shop to use the special equipment.



      That’s where the term flashing comes from, and like most outdated terms, it just kind of stuck.





      Risks:



      In the past (and to a lesser extent still), flashing the BIOS was considered risky because the BIOS was the foundation of the device (recall the Basic part of the name). Therefore if the write was interrupted or corrupted for any reason (imagine bumping or pulling the plug of the computer while burning a non-erasable CD), the data would then be corrupt, so it would not surprisingly, not work. Plus since the chips were relatively slow to write and took about a minute to write a 1MB block, this made them a little susceptible to environmental problems like power-loss. Since the chip provides the basic functionality required to even boot the device, there would be no way to re-program it again to fix it (if you need the computer to program it, but the computer doesn’t work, how would you program it? Chicken-egg. ;-))



      Of course this was not the end of the world; you could pop it in another computer with dual-BIOS slots or a special BIOS programming device and program it, but unfortunately these special motherboards were rare and expensive as were the devices, which could usually only be found in some computer shops.



      (The same problem exists for other BIOSes as well like in optical drives, video cards, etc. To be able to re-flash the BIOS of a drive or card, it has to be detected and identified by the system, but if the BIOS doesn’t work, then the system cannot do so because the device can’t initialize properly.)





      Solutions:



      These days, while the problem still exists for drives and cards, motherboard manufacturers have provided some solutions to help. A common method is to implement a backup BIOS in the board that can kick in when the primary one is faulty. This backup BIOS can then be used to flash a copy onto the primary, thus restoring functionality. In the past, this was done with a second BIOS socket on the board with a second, identical chip, but these days, board mfgs often opt to use a non-writable chip since the backup does not need to be updatable and using a non-flashable one is cheaper. When booting, a compatible board will usually display a hotkey (eg F2, Insert, etc.) that can be pressed to copy the backup to the primary.



      Another method that some boards use is to include a small, dedicated chip that has a “flasher” on it. When the system receives power, even if the system won’t boot, you can press a special key that will trigger the flasher to read the floppy (or USB drive, etc.) to see if there is a file with a BIOS image on it. If so, then it copies the image to the BIOS.





      OSes:



      Again, in the past, Flashing utilities were DOS programs because DOS was the closest thing to an RTOS (Real-Time Operating System) due to it’s non-multi-tasking nature. As such, it was not as vulnerable to interruptions, task-switches, paging, low-memory, and whatnot that could corrupt the flashing process. These days (ie several years ago) however, DOS is effectively “dead” (never!), and the chips are much faster (a 4MB block can be flashed in ~30 seconds), so flashing utilities are generally Windows programs, though DOS ones still often exist.





      Photos:



      Here’s a photo I just took of an old 8-bit Sony IDE controller. Notice the EPROM with its protective sticker removed. Below it, you can see a close-up of the EPROM, including the connective wires through the flashing window. (Don’t worry, the flash from my digital camera is not sufficient to wipe out the chip. Besides, I have a couple of other 8-bit controllers if I need them. :-))



      8-bit Sony IDE controllerClose-up of EPROM flashing window






      share|improve this answer


























        11












        11








        11







        Background/Benefit:



        The BIOS is a stand-alone chip on the motherboard that is plugged in to provide basic functionality (hence Basic Input-Output System). It provides non-volatile memory, meaning that the contents are retained when the power is removed. Naturally, sometimes the programming may need to be updated to fix bugs or add new functionality.





        Etymology:



        Unlike magnetic media in which a magnetic head is used to flip tiny bits of ferro-magnetic molecules on the disk, in the old days, chips like this would be EPROMs that had a little circular window on the top of the chip, through which specialized equipment would literally flash a beam of ultra-violet light to erase the chip, allowing it be re-programmed (somewhat like how CPUs were manufactured with beams of light baking the transistor masks into the silicon wafers). Think of erasable CDs or DVDs; to erase them, the laser basically “melts” (not technically) the material, then it can be written.



        (Note, just like leaving CDs/DVDs in the sun can damage them, leaving an EPROM exposed to the sun could also damage them, so they often had protective stickers covering the flashing window.)



        These optically programmed EPROMs were too expensive to manufacture for general use, so EPROMs were often made without the window, thus making them write-once and non-updateable. As a result, they were later replaced with EEPROM (Electronically-Erasable, Programmable Read-Only Memory) chips, making them much easier and cost-effective since they could be updated with the customer’s system itself instead of needing to be sent to a shop to use the special equipment.



        That’s where the term flashing comes from, and like most outdated terms, it just kind of stuck.





        Risks:



        In the past (and to a lesser extent still), flashing the BIOS was considered risky because the BIOS was the foundation of the device (recall the Basic part of the name). Therefore if the write was interrupted or corrupted for any reason (imagine bumping or pulling the plug of the computer while burning a non-erasable CD), the data would then be corrupt, so it would not surprisingly, not work. Plus since the chips were relatively slow to write and took about a minute to write a 1MB block, this made them a little susceptible to environmental problems like power-loss. Since the chip provides the basic functionality required to even boot the device, there would be no way to re-program it again to fix it (if you need the computer to program it, but the computer doesn’t work, how would you program it? Chicken-egg. ;-))



        Of course this was not the end of the world; you could pop it in another computer with dual-BIOS slots or a special BIOS programming device and program it, but unfortunately these special motherboards were rare and expensive as were the devices, which could usually only be found in some computer shops.



        (The same problem exists for other BIOSes as well like in optical drives, video cards, etc. To be able to re-flash the BIOS of a drive or card, it has to be detected and identified by the system, but if the BIOS doesn’t work, then the system cannot do so because the device can’t initialize properly.)





        Solutions:



        These days, while the problem still exists for drives and cards, motherboard manufacturers have provided some solutions to help. A common method is to implement a backup BIOS in the board that can kick in when the primary one is faulty. This backup BIOS can then be used to flash a copy onto the primary, thus restoring functionality. In the past, this was done with a second BIOS socket on the board with a second, identical chip, but these days, board mfgs often opt to use a non-writable chip since the backup does not need to be updatable and using a non-flashable one is cheaper. When booting, a compatible board will usually display a hotkey (eg F2, Insert, etc.) that can be pressed to copy the backup to the primary.



        Another method that some boards use is to include a small, dedicated chip that has a “flasher” on it. When the system receives power, even if the system won’t boot, you can press a special key that will trigger the flasher to read the floppy (or USB drive, etc.) to see if there is a file with a BIOS image on it. If so, then it copies the image to the BIOS.





        OSes:



        Again, in the past, Flashing utilities were DOS programs because DOS was the closest thing to an RTOS (Real-Time Operating System) due to it’s non-multi-tasking nature. As such, it was not as vulnerable to interruptions, task-switches, paging, low-memory, and whatnot that could corrupt the flashing process. These days (ie several years ago) however, DOS is effectively “dead” (never!), and the chips are much faster (a 4MB block can be flashed in ~30 seconds), so flashing utilities are generally Windows programs, though DOS ones still often exist.





        Photos:



        Here’s a photo I just took of an old 8-bit Sony IDE controller. Notice the EPROM with its protective sticker removed. Below it, you can see a close-up of the EPROM, including the connective wires through the flashing window. (Don’t worry, the flash from my digital camera is not sufficient to wipe out the chip. Besides, I have a couple of other 8-bit controllers if I need them. :-))



        8-bit Sony IDE controllerClose-up of EPROM flashing window






        share|improve this answer













        Background/Benefit:



        The BIOS is a stand-alone chip on the motherboard that is plugged in to provide basic functionality (hence Basic Input-Output System). It provides non-volatile memory, meaning that the contents are retained when the power is removed. Naturally, sometimes the programming may need to be updated to fix bugs or add new functionality.





        Etymology:



        Unlike magnetic media in which a magnetic head is used to flip tiny bits of ferro-magnetic molecules on the disk, in the old days, chips like this would be EPROMs that had a little circular window on the top of the chip, through which specialized equipment would literally flash a beam of ultra-violet light to erase the chip, allowing it be re-programmed (somewhat like how CPUs were manufactured with beams of light baking the transistor masks into the silicon wafers). Think of erasable CDs or DVDs; to erase them, the laser basically “melts” (not technically) the material, then it can be written.



        (Note, just like leaving CDs/DVDs in the sun can damage them, leaving an EPROM exposed to the sun could also damage them, so they often had protective stickers covering the flashing window.)



        These optically programmed EPROMs were too expensive to manufacture for general use, so EPROMs were often made without the window, thus making them write-once and non-updateable. As a result, they were later replaced with EEPROM (Electronically-Erasable, Programmable Read-Only Memory) chips, making them much easier and cost-effective since they could be updated with the customer’s system itself instead of needing to be sent to a shop to use the special equipment.



        That’s where the term flashing comes from, and like most outdated terms, it just kind of stuck.





        Risks:



        In the past (and to a lesser extent still), flashing the BIOS was considered risky because the BIOS was the foundation of the device (recall the Basic part of the name). Therefore if the write was interrupted or corrupted for any reason (imagine bumping or pulling the plug of the computer while burning a non-erasable CD), the data would then be corrupt, so it would not surprisingly, not work. Plus since the chips were relatively slow to write and took about a minute to write a 1MB block, this made them a little susceptible to environmental problems like power-loss. Since the chip provides the basic functionality required to even boot the device, there would be no way to re-program it again to fix it (if you need the computer to program it, but the computer doesn’t work, how would you program it? Chicken-egg. ;-))



        Of course this was not the end of the world; you could pop it in another computer with dual-BIOS slots or a special BIOS programming device and program it, but unfortunately these special motherboards were rare and expensive as were the devices, which could usually only be found in some computer shops.



        (The same problem exists for other BIOSes as well like in optical drives, video cards, etc. To be able to re-flash the BIOS of a drive or card, it has to be detected and identified by the system, but if the BIOS doesn’t work, then the system cannot do so because the device can’t initialize properly.)





        Solutions:



        These days, while the problem still exists for drives and cards, motherboard manufacturers have provided some solutions to help. A common method is to implement a backup BIOS in the board that can kick in when the primary one is faulty. This backup BIOS can then be used to flash a copy onto the primary, thus restoring functionality. In the past, this was done with a second BIOS socket on the board with a second, identical chip, but these days, board mfgs often opt to use a non-writable chip since the backup does not need to be updatable and using a non-flashable one is cheaper. When booting, a compatible board will usually display a hotkey (eg F2, Insert, etc.) that can be pressed to copy the backup to the primary.



        Another method that some boards use is to include a small, dedicated chip that has a “flasher” on it. When the system receives power, even if the system won’t boot, you can press a special key that will trigger the flasher to read the floppy (or USB drive, etc.) to see if there is a file with a BIOS image on it. If so, then it copies the image to the BIOS.





        OSes:



        Again, in the past, Flashing utilities were DOS programs because DOS was the closest thing to an RTOS (Real-Time Operating System) due to it’s non-multi-tasking nature. As such, it was not as vulnerable to interruptions, task-switches, paging, low-memory, and whatnot that could corrupt the flashing process. These days (ie several years ago) however, DOS is effectively “dead” (never!), and the chips are much faster (a 4MB block can be flashed in ~30 seconds), so flashing utilities are generally Windows programs, though DOS ones still often exist.





        Photos:



        Here’s a photo I just took of an old 8-bit Sony IDE controller. Notice the EPROM with its protective sticker removed. Below it, you can see a close-up of the EPROM, including the connective wires through the flashing window. (Don’t worry, the flash from my digital camera is not sufficient to wipe out the chip. Besides, I have a couple of other 8-bit controllers if I need them. :-))



        8-bit Sony IDE controllerClose-up of EPROM flashing window







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 1 '11 at 1:50









        SynetechSynetech

        57.5k29186319




        57.5k29186319






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f126149%2fwhat-is-flashing-the-bios%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            Origin of the phrase “under your belt”?