Thought it could be useful to list the known switches and what they stand for.
For example:
AWDFLASH xxxx.BIN /py/sn/cc
Would run the flashing utility and tell the utility to perform the flash (/py), do not save the current BIOS into a backup file (/sn), and clear the CMOS after performing the flash (/cc).
/? - Help. Before you start working with Award Flash Memory Writer, it is advisable to use this key and to study carefully all the opportunities of this software.
/Py or /Pn - stands for answering "yes" (Y) or "no" (N) to the request concerning the BIOS reflashing. By means of /Pn you can ban FlashROM reprogramming. This option enables you to save the current version of the BIOS or to get its checksum without updating your BIOS. A backup copy will help you to restore the previous version of the BIOS. By default /Py mode is set.
/Sy or /Sn - stands for answering "yes" (Y) or "no" (N) to the request about saving the previous version of the BIOS. By default /Py mode is set again. In this case before reprogramming the FlashROM microchip you'll need to confirm saving by this request: Do You Want To Save BIOS (Y/N)
/Sn is recommended to use for *.bat-files in case of automatic BIOS reflashing in systems without a display.
/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 /CCkeys, as well as if some of the system components have been changed.
/SB - stands for no BootBlock reflashing. The BootBlock is the first unit to be addressed by startup and it is hardly ever changed. If the board manufacturer gives no other recommendations, there is no need to reflash BootBlock. In particular, if the BIOS reflashing fails, it may become impossible to restore the BIOS via software. On some mainboards there is a BootBlock Protection jumper. If protection is set, either you won't be able to reflash the BIOS without /SB at all or the system will face verification errors.
This setting has NOT been confirmed to work. It may or may not work on your motherboard. Use with caution. Thanks for the input Tmod.
/SD - stands for saving the data of DMI pool in a file. Part of DMI can be saved to be used by the software in future. Even though this key stands in the list, which is shown by /?, using it will bring no result. This key simply doesn't work.
/R - stands for the system reset after reflashing. It lets you have your computer restarted automatically as soon as you finish updating FlashROM. The option is useful for working through a *.bat-file.
/Tiny - stands for using less RAM. Without the /Tiny key, AwardFlash utility tries to put the entire BIOS file, which is intended for further reflashing, into RAM. Still, if have taken all the precautions but anyway you see a message saying "Insufficient Memory" during the BIOS reflashing procedure, then the key /Tiny should be used. It will make the data from the BIOS file loaded and reflashed in portions.
/E - stands for returning to DOS after BIOS reflashing. For instance, you may need it to make sure that the previous version of the BIOS is saved.
/F - stands for reprogramming by means of the system BIOS. Most contemporary BIOS's feature the procedure of FlashROM reprogramming. The key /F enables AwardFlash to reprogram FlashROM with the algorithms of the current BIOS version. If a mainboard peculiarities do not allow applying AwardFlash Writer algorithms, you should use the key /F.
/LD- stands for clearing CMOS after reflashing and not showing the message "Press F1 to continue or DEL to setup". Unlike /CC, this key lets you avoid this message by the following startup after clearing CMOS, provided you have set the properties by default.
/CKS - stands for showing the checksum of XXXXh file. The checksum is shown in hexadecimal representation. This option is advised to be used with the verification key.
/CKSxxxx - stands for comparing the checksum of the file with XXXXh. If the checksums are different, you'll see the message "The program file's part number does not match with your system!". As a rule, XXXXh for each BIOS update file is usually available on the mainboard manufacturer's site
/WB - Updates the BIOS Boot Block. This switch does not have to be used. The BIOS Boot Block will get updated with the flashing of the BIOS.
/CC = clear cmos data after programming
/CD = clear dmi data after programming
/CP = clear PnP (ESCD) data after programming
/R= reset system after programming
/PY = program flash memory
/? = show help menu
/SY = backup original BIOS to disk
/SB = skip bootblock programming
/TINY = occupy lesser memory
/E = return to DOS when programming is done
/F = use flash routines in original BIOS for flash programming
/LD = destroy cmos checksum and no system halt for first reboot after programming
/CKSxxxx = compare binfile checksum with xxxx
/CKS = show update binfile checksum
/PN = no flash programming
/SN = no original BIOS backup
/SD = save dmi data to file
/WB = flashes the BIOS Boot Block
I recommend creating a DOS boot disk:
- make a DOS boot disk with format a: /q /u /s
- copy awdflash.exe and the bios file to the floppy
- create autoexec.bat: open up Notepad and copy this => a:\awdflash a:\bios.bin /PY /SN /CC /CD /CP /R <= Paste it into Notepad. Then choose File/Save As from the drop down menu and type autoexec.bat in the save as box. Choose to save it to your Floppy drive from the drop down menu at the top.
Doesn´t hurt to have a disk with a stable bios in case something goes wrong.
Simply put this disk in, turn the computer on, and it will flash the bios again, and reboot for you.
beerman

Reply With Quote
