AWARD Flash BIOS command line

JustaGeek

Platinum Member
Jan 27, 2007
2,827
0
71
My P5N-E SLI board has suffered the startup problems since I updated the BIOS from a very old 0202 to 0608 in Windows. The procedure described below seems to have solved the issue.


http://www.lejabeach.com/Guide/awardbios.html


I used the command line:

A:\AWDFLASH P5NESLI.BIN /py /sn /wb /cc /cp /cd

UPDATE: I am not sure if the spaces between the switches are relevant, but decided to put them in anyway.

The only problem is that I renamed the 0608 file to P5NESLI.BIN in Windows. When I tried to use the AWDFLASH, it gave me an error "File not found".

I ran: A:\dir command, and it showed me the files AWDFLASH EXE and P5NES~2 BIN.

I used the "rename" command in DOS:

A:\ren P5NES~2.BIN P5NESLI.BIN

After that all went smoothly.

Why is it important to use that utility with the old-style floppy drive...? Because it has all these switches! Read what they do:

/CC - to clear CMOS after reflashing. This option comes in handy when there is a risk that the data arrays created by new BIOS version in CMOS may differ from those former ones. If so, then you are likely to have troubles with the mainboard startup. Clearing CMOS will let you avoid searching for Clear CMOS jumper on the board, which is really helpful if it isn't accompanied with a proper manual or is simply hard to access.

/CP - stands for clearing PnP (ESCD) Data matrix after BIOS reflashing. The information about PnP devices is stored in ESCD. The key /CP is an equivalent to Reset Configuration Data in PnP/PCI Configuration CMOS Setup. It makes sense to use /CP if you skip several versions of BIOS or if you have installed new PnP cards. If you don not update the ESCD, your board may suffer some startup problems.

/CD - stands for clearing DMI Data pool after reprogramming. Literally, DMI is a data base, containing all the information on the system as a whole. Clearing it may be fruitful in the above mentioned situations with /CP and /CC keys, as well as if some of the system components have been changed.

I hope that it using AWDFLASH has solved my startup problem, as described above. Haven't suffered the boot failure since yesterday, but only time will tell...

And for those who do not have a Floppy Drive - I would strongly recommend getting one!

The modern motherboards are a combination of the OLD and the NEW. Working with BIOS and the BIOS chips is a part of the old technology alive for probably 20 years or more. Unless/until that philosophy and approach changes, we will be "stuck' in that weird combination of the antiquated floppies with modern SSD's.

But... perhaps someone knows a "work around" with the CD Drive, or a USB drive...?

UPDATE: Apparently the procedure is basically same with other BIOS', too:

http://www.lejabeach.com/rhcf/biosguide.htm

 

Shimmishim

Elite Member
Feb 19, 2001
7,504
0
76
some asus boards support flashing with a USB drive directly

also, you can make a dos bootable USB drive and flash that way rather than using the old floppy drive.
 

JustaGeek

Platinum Member
Jan 27, 2007
2,827
0
71
Originally posted by: Shimmishim
some asus boards support flashing with a USB drive directly

also, you can make a dos bootable USB drive and flash that way rather than using the old floppy drive.

Absolutely.

The only thing is that this "good old" method uses the switches to clear the "remnants" of the old BIOS and settings (/cp, /cc etc.). I do not think that the USB method clears those.

You can also make a bootable CD, and use this old method with a somewhat more "modern" CD drive.

The BIOS programming itself is a very old technology based on the "good old" DOS, and until the whole concept changes, we will still be "stuck' with that marriage of "very old/traditional" from almost 30 years ago, and todays technology with fast CPU's and 64-bit OS'.

That's why it is so hard to properly flash BIOS with Windows based utilities.
 

Heidfirst

Platinum Member
May 18, 2005
2,015
0
0
recent abit mobos let you do this from an USB memory stick (or a bootable CD) instead of a floppy, other than the location of the files it's exactly the same.
Probably most mobo manufacturers offer the same.

btw / wb is write bootblock
 

tcsenter

Lifer
Sep 7, 2001
18,883
523
126
Originally posted by: JustaGeek
That's why it is so hard to properly flash BIOS with Windows based utilities.
Well its not any more difficult to properly flash the BIOS in Windows, per se. Its just that you are at the mercy of a motherboard vendor's flawed WinFlash and LiveUpdate routines.

i.e. you run WinFlash or LiveUpdate with the options pre-programmed by the motherboard vendor, mistakenly assuming the motherboard vendor should know what the hell they are doing.

In the case of ASUS, judging by the number of sticky threads at ASUS Forums warning about dead boards after using ASUS LiveUpdate, the motherboard vendor does not always know best.

There is no reason these switches cannot be programmatically invoked during a WinFlash, but for the motherboard vendor failing to implement them properly.
 

JustaGeek

Platinum Member
Jan 27, 2007
2,827
0
71
Absolutely!

I've used ASRock Windows based flash, and never had problems. It would always come with its own installer.

I don't know why everyone has so many problems with ASUS.

And you have to be "suicidal" to do it directly over the Internet. And it is one of the option of ASUS Update!
 

Synomenon

Lifer
Dec 25, 2004
10,547
6
81
When I update the BIOS on my motherboard with an Award BIOS I usually use these switches:

/cc/cd/cp/py/R

/cc = clear CMOS data after programming

/cd = clear DMI data after programming

/cp = clear PNP (ESCD) data after programming

/py = program flash memory

/R = reset system after programming


I just got a new Asus mobo. and not sure what brand of BIOS it has and if these parameters / switches will work with it when updating its BIOS.
 

JustaGeek

Platinum Member
Jan 27, 2007
2,827
0
71
AFAIK there are only 3 brands of BIOS: Phoenix, AMI and AWARD.

Check you MB manual, and google the procedure.

The procedure is (most likely) the same, the only thing that might be different is the command itself.
 

Old Hippie

Diamond Member
Oct 8, 2005
6,361
1
0
Originally posted by: IsLNdbOi
When I update the BIOS on my motherboard with an Award BIOS I usually use these switches:

/cc/cd/cp/py/R

/cc = clear CMOS data after programming

/cd = clear DMI data after programming

/cp = clear PNP (ESCD) data after programming

/py = program flash memory

/R = reset system after programming


I just got a new Asus mobo. and not sure what brand of BIOS it has and if these parameters / switches will work with it when updating its BIOS.


Thanks for the explanation. :thumbsup:
 

Martimus

Diamond Member
Apr 24, 2007
4,490
157
106
A while back (about 2 months ago) I updated my BIOS to the latest version to support the dual core processor I bought. Everything went well for a week or two, then I started to get system shutdowns during games. I figured it was the Video Card, as that was new as well, and it only happened when playing Oblivion. I opened the case and used AtiTool to increase the fan speed and everything seemed to work for another week. After that, I got the same problem, and it got worse and worse, so I RMA'd the card (The fan stopped responding to ATITool, so I figured it might have some issues). I got the card back yesterday, and I still have the issues. I discovered that my CPU temp is rapidly increasing as soon as I turn on the computer now. It gets up to around 100C according to my BIOS, and subsequently shuts down. I reapplied thermal grease and reattached the heatsink, but that didn't help (I can't so it again until I get more thermal grease, because I gave my last bit away) The heatsink does not feel hot to the touch, so I think it is an issue with the MOBO. It is a nForce4 S939 MB, so I can't really replace it. I want to try reflashing the BIOS to see if that will solve the issue. My question is how?

The last time I flashed it using WinFlash, and just flashed the MAIN BLOCK. I avoided the BOOT BLOCK, and the DMI BLOCK and ESCD BLOCK, because the first time I flashed the whole thing it wouldn't boot, so I needed to recover my old BOIS to get it working again. SHould I avoid WinFlash, and just use AWARDFLASH? If so, is there any portion of the BIOS I should avoid writing to?

Thank you in advance!
 

JustaGeek

Platinum Member
Jan 27, 2007
2,827
0
71
Originally posted by: Martimus
........................................................................................

My question is how?

The last time I flashed it using WinFlash, and just flashed the MAIN BLOCK. I avoided the BOOT BLOCK, and the DMI BLOCK and ESCD BLOCK, because the first time I flashed the whole thing it wouldn't boot, so I needed to recover my old BOIS to get it working again. SHould I avoid WinFlash, and just use AWARDFLASH? If so, is there any portion of the BIOS I should avoid writing to?

Thank you in advance!


Absolutely!

Unless you MUST use the Windows based BIOS "updaters", like the OEM type, use the AWARDFLASH or any other DOS based procedure.

Check your BIOS version and type in your motherboard's manual first

Some motherboards allow you to use a method with the USB drive, and although it is a much better method than in Windows, I would still recommend the good, old DOS procedure.

Good luck!


 

Martimus

Diamond Member
Apr 24, 2007
4,490
157
106
Alright, I made a boot disk, and I will try it out when I get home tonight. I doubt it will fix the problem, but I hope it does - I just want to avoid spending any more money on a dead end system. I found a nForce 4 S939 on Craigslist, so if I can't get this to work, I think I will go that option.
 

Martimus

Diamond Member
Apr 24, 2007
4,490
157
106
I updated the BIOS with the most recent BIOS for the KN1, but it did not fix my problem. The chip now idles at 75C instead of 100C, but I still think those are erroneous readings, as the heatsink isn't even warm to the touch. Either way, my computer still shuts down after a short period of use. I haven't even tried anything that would put the processor under load, I have just loaded to BIOS, or tried to update drivers in safe mode.
 

JustaGeek

Platinum Member
Jan 27, 2007
2,827
0
71
Make sure that you reset the CMOS, removing the battery, pushing the start button to drain the capacitors, and waiting 10 - 15 minutes before you re-install the battery and the jumper.

Unless, of course, your motherboard's manual calls for a different procedure.

But do reset the CMOS properly nevertheless.
 

JustaGeek

Platinum Member
Jan 27, 2007
2,827
0
71
BTW, check your Power Supply - the shutdowns might be an indication of failing PSU.
 

Synomenon

Lifer
Dec 25, 2004
10,547
6
81
Martimus, if your motherboard uses an Award BIOS, use the parameters / switches I've listed above. You'll need to make a clean boot floppy or CD from here:

http://www.nu2.nu/bootcd/#clean


Make the clean boot CD then burn the AWDFLASH.EXE and your BIOS udpate file to a separate CD. Make sure your BIOS is set to boot from CD first and that you've disabled the feature that write protects your BIOS. Once you have the two CDs (the clean boot CD + the other CD with the awdflash.exe and the BIOS udpate file), put the clean boot CD in your drive, shut down and power back up. The PC should boot to the clean boot CD and leave you at the command prompt. Change to whatever drive letter it tells you your CD drive is, then put the other CD in. Once that CD is in, type this in the command prompt:

awdflash xxx /cc/cd/cp/py/R

where ?xxx? should be replaced with the filename of the BIOS file (including its extension). These instructions are for updating an Award BIOS, but it should be similar to other brands.
 

Martimus

Diamond Member
Apr 24, 2007
4,490
157
106
Originally posted by: IsLNdbOi
Martimus, if your motherboard uses an Award BIOS, use the parameters / switches I've listed above. You'll need to make a clean boot floppy or CD from here:

http://www.nu2.nu/bootcd/#clean


Make the clean boot CD then burn the AWDFLASH.EXE and your BIOS udpate file to a separate CD. Make sure your BIOS is set to boot from CD first and that you've disabled the feature that write protects your BIOS. Once you have the two CDs (the clean boot CD + the other CD with the awdflash.exe and the BIOS udpate file), put the clean boot CD in your drive, shut down and power back up. The PC should boot to the clean boot CD and leave you at the command prompt. Change to whatever drive letter it tells you your CD drive is, then put the other CD in. Once that CD is in, type this in the command prompt:

awdflash xxx /cc/cd/cp/py/R

where ?xxx? should be replaced with the filename of the BIOS file (including its extension). These instructions are for updating an Award BIOS, but it should be similar to other brands.

Thanks, but that is what I did when I flashed my BIOS yesterday (Except I used a floppy boot disk to do it.)