New Posts  All Forums:Forum Nav:

Blind Flashing and You

post #1 of 232
Thread Starter 

 

 

 

memfiles.zip 10k .zip file

 

I have (intentionally) killed my card MANY times and brought it back to life with these various methods...

When flashing rom's from image cd's uploaded by forum users you can never be sure of the integrity of the files that the cd contains. You may use other preset roms or make your own roms, but you still have the potential to compromise the display ability of your card. If after flashing, on bootup, your screen remains blank but the computer is on then you flashed a corrupted bios for your card. In such instances, it will be necessary to blind flash your card back to stock/working condition.

IMPORTANT: I recommend you try the flash drive method first and foremost, however, I think I have fixed any problems with the boot cd method

The -4 -5 -6 command arguments will be referred to as force flashing. This bypasses certain safety limitations built into nvflash.

The -A command argument will be referred to as auto flashing

Boot Priority
How are you certain that the device you want to be booted is being booted without a screen to look at?
Typically, on our notebooks, the default bios settings do not give any device's boot priority ahead of the HD (these devices include usb, cd, etc). This can be a problem when trying to flash your card in DOS and not being able to see the screen. One resolution is either changing the boot sequence (F2 on startup) or performing a selective boot (F12 on startup) to boot from a device other than the HD. But chances are, if you are reading this guide, then this information is after the fact. As you can imagine, this is a little more difficult to do without a screen output to look at. So the easiest way to resolve this is to just remove the HD (only takes two screws typically). Along with this, however, you want to remove all storage media that YOU ARE NOT TRYING TO BOOT FROM as well. This includes cd's, dvd's, flash drives, sd cards, usb massager (jk), etc

Note A: Actually, the floppy drive, as is typical with many bios's, has a boot priority ahead of the HD but who uses those anyway?
Note B: If you insist on not removing your HD, then I will address this in the next post but be aware that removing the HD is much simpler. All proceeding instructions within this post will assume that the HD will not be booted prior to the bootable device containing nvflash (The next post does not exist yet but I will put it up later once I do some reorganizing)


Bootmethods - Bootable USB and Bootable CD
Both of these methods are relatively modern and readily available on most machines

Creating a Bootable USB drive
There are a variety of ways to make your usb drive bootable but the easiest method is HP's USB disk storage format tool...It works with most flashdrives...
CAUTION: This will delete any data currently on the flash drive
Download it here
Install it
Download these dos files
Extract these to a folder name "dosfiles" (anywhere you want: my documents, desktop, etc)
Run the program(HP USB format tool) and check the "create a dos startup disk box"...
Then use "using files located at..." and browse to the dosfiles folder you created...
It will format and then you can put whatever executables or regular files you want on it...
Your USB drive is now bootable and contains everything you need to flash the GPU (if you just came here to make a bootable USB you can stop now)
Download any version of nvflash that supports your gpu...
Extract the files...there will be three files (usually)...you can delete the info (text document) and put the "nvflash" and "cwsdpmi" executables on your flash drive in the root directory
Also put any rom files you want here in the same directory (root)...
To run a command automatically at bootup of usb, you need an autoexec.bat
To create the autoexec.bat create a textfile on your flash drive (ex. blah.txt)
Open it up and insert the following command in it 'nvflash -4 -5 -6 [romname].rom' (see fully automated flashing section below for different commands)
Save it as 'autoexec.bat'
The autoexec.bat automatically carries out the provided command at bootup from usb...

Note: You may have the option to hide known file extensions enabled in which case you would need to disable to create the autoexec as a batch file instead of a txt. Alternatively use the command line and change to the directory with the 'cd' command. Then use the rename command. For example, 'rename autoexec.bat.txt autoexec.bat' . The file icon indicates what type of file it is in case you are unsure.

Creating a Bootable CD
Again there are a variety of methods but I prefer Bart's Method
Follow the directions on his site for "Bootable Dos CD-Rom (single boot image)"

----------------------------------------------------------------
IMPORTANT: If you have over 2 GB of RAM installed in your system read here. If not, then skip this part. If you are lazy and you have more than 2 GB of RAM you can just install 2 GB of RAM or less and skip this part too
Once you have extracted all the files to their locations, you need to modify some things to support more than 2 GB of RAM
Download these files extract them to your Desktop
Replace C:\bcd\disk1\autoexec.bat with the one linked in the memfiles archive
Replace C:\bcd\os\md701\bin\himem.sys with the one linked in the memfiles archive
-----------------------------------------------------------------
Download any version of nvflash that supports your gpu...
Extract the files...there will be three files (usually)...you can delete the info (text document) and keep the "nvflash" and "cwsdpmi" executables
Put any files you wish to have on the cd in the 'cds\cdromsi\files\' directory...(rom's, nvflash, etc)
Make sure you have the 2 files from the extracted nvflash (you can delete the text document) in this directory as well as a working copy of your videocard rom
Your CD now contains everything you need to flash the GPU (if you just came here to make a bootable CD you can skip down to after the red NOTE)
Edit the autorun.bat in this directory (right click and select edit)
Do not delete anything currently stored in the autorun file...
Make a newline at the end and use the following command 'nvflash -4 -5 -6 [romname].rom' (see fully automated flashing section below for different commands)
The autorun.bat automatically carries out the provided command at bootup from cd...

Note: You may have the option to hide known file extensions enabled in which case you would need to disable to create the autoexec as a batch file instead of a txt. Alternatively use the command line and change to the directory with the 'cd' command. Then use the rename command. For example, 'rename autoexec.bat.txt autoexec.bat' . The file icon indicates what type of file it is in case you are unsure.

By default this cd will run in max compatibility...
I have read that nvflash needs to be used in clean dos (i.e. no memory expansions). This, however, is contradictory to the next line. I will test this later.
NOTE: For the 7900 series gpus, apparently it needs to boot in max memmory. To change this edit the file C:\bcd\os\md701\config.sys. Open it with notepad and set menudefault from 'AUTO' to 'MAX'. Save the changes...
Now open the command prompt and change the directory to the bcd folder with the cd command (cd "c:\bcd" for example)...
Use the command 'bcd cdromsi' to write to a blank cd...


NvFlash - Fully Automated Setup
This section is only for those who wish to carry out this process with as little guessing and user-input as possible.
IMPORTANT: If you wish to use this section you must use an older version of nvflash (5.31) attached here
Note that this version will only support 7 series gpu's and below...
It includes some nice featues that nvidia decided to remove in later versions
In particular, using this version of nvflash means you can use -A switch for automatic flashing without confirmation prompts (in most cases)

Command Line
If you wish for the process to be fully automated (you typically would) without your intervention you must use the -A switch as well
ex. 'nvflash -4 -5 -6 -A [romname].rom'

At any rate use -A and you can just boot up and the autoexec will do everything...
You will only have to press Ctrl+Alt+Delete to Reboot after the flash has carried out

Command Line Extended
The -y switch automatically restarts the computer after the flash has taken place
This allows the user to know that the command has run through error-free upon reboot
So, Use 'nvflash -4 -5 -6 -A -y [romname].rom' to restart the computer automatically after flashing...
This is sweet because you dont have to do anything...

If you use the -y switch and leave your computer be, this will result in an infinite loop until you remove the boot media


Flashing the BIOS
Insert the cd or usb and then boot the laptop...the autoexec/autorun will handle most of the job...
The numlock indicates that the computer has booted and is preparing to boot a certain device (HD partition, flash drive, etc)
You should see the led of num lock...if you don't wait...
Just wait a min (be patient) for the autoexec/autorun to carry out its routine...the autoexec/autorun will not timeout on you
If you did not include the -A switch you must wait until you think the command has been run and then press 'y' 2-3 times to confirm the flash. Usually the led's (numlock, capslock, scroll-lock) cycle and then stop and the system beeps singly two times to indicate that the card has been flashed
If you did not include the -y switch you must wait until the bios has been flashed and press 'ctrl+alt+del' to reboot
If you did include the aforementioned switches (-A and -y), just sit back and relax

Hopefully you can see your screen


Telltale signs
This is mostly useful for when you are not immediately seeing your numlock key...
Your numlock will turn on before any device is booted but it may be quite awhile after the numlock turns on that the device boots
Hearing your cd drive load and flicker its led or seeing your usb drive's led (if it has one) flicker and remain either off or on are telltale signs that the autorun is carrying out/has carried out and is waiting on you to press 'y'
Do not confuse this with normal bootup routine...Your flash drive will most likely flicker once right as you press the power button...Your cd drive will load on startup but it will then stop loading...If after the device (flash drive or cd drive) stops its initial load you hear it start loading again (in the case of cd) and/or see the led flickering then this is the sign (for cd or usb)...

----------------------------------------------------------------------
If you wish to make your own backup of your current rom download
NiBiTor 5.0

You can also use the -b switch with nvflash to backup your bios if you didn't do so with NiBiTor. Here is the latest nvflash that should be compatible with newer eeprom's:
nVFlash 5.72

Both of these links are auto-updating links so they should always be fairly new
----------------------------------------------------------------------

Notes
Make sure the rom you include in your autorun/autoexec is a stock rom or at least a rom youre 100% confident in.
The -4 -5 -6 command switches for nvflash are not recommended for typical use...this is just to make sure nvflash doesn't give you any nagging and all you have to do is press 'y'
Secondary GPU - (note to self) Expand on this
It is a good idea to use piping to figure out whats going on with the computer without being able to see the screen
It took me 1h 30 min to recover my GPU one time. All I had to do was wait for the bios to initiate (1 hr) and boot my flash drive (30 min) and press 'y'.  Don't give up too quickly.
Pressing buttons prematurely can interrupt the autoexec, particularly for cd method
Make sure the name of the romfile is under 8 characters.
Sometimes your card is just broken, no matter what you do.
I am unsure why people have reported having to usethe max memory option to flash the 7900 series since apparently it doesnt even support emm386
This guide is only about blind flashing a card with a corrupt EEPROM. For other GPU faults, this guide is not applicable.

This is a software-based guide. If you need help with the hardware aspect of blind flashing you can ask me questions but I will be less useful.


Edited by zzpulp - 12/30/11 at 11:35am
post #2 of 232
Thread Starter 
In case the above does not work for you, try this code in your autorun/autoexec: Be sure to name your working romfile (the one you're trying to flash) new.rom
Code:
dir > out1.txt
nvflash --list > out2.txt
nvflash -r > out3.txt
nvflash -c > out4.txt
nvflash -b diag.rom > out5.txt
nvflash -k diag.rom > out6.txt
nvflash -4 -5 -6 -A new.rom > out7.txt
move new.rom mew.rom
nvflash -y
I have removed the infinite loop conflict in case the flash is successful even though the EEPROM usually has a guaranteed life span of 100,000 writes or more. I will explain this code at a later time but for now, if you try it out, post your results here.
post #3 of 232
Very nice. Rep for you.
post #4 of 232
Thread Starter 
Thanks man, just trying to save people alot of hassle...Pieter has another guide here
post #5 of 232
Great work dude
Could have done with this a week ago though

I'm not sure but my machine wouldn't boot to a command prompt with the bootable CD.
So this may not work if the Video card no longer works.
As a last resort I made a bootable USB flash drive and this worked for me to be able to reflash the go7900GS back into life.
Something to consider if the above fails for anybody like mine did.

The funny thing is the above method works fine whilst the video card works but not when the video card has a bad BIOS.
This is with my experience, others may vary.

All the same appreciate the effort that you put in.
post #6 of 232
Thread Starter 
Thanks man, I've used both methods for recovering from a blind flash with a 6800go Ultra...still trying to see just how far I can push this usb boot...Just in case I haven't stated it earlier, usb drives are the way to go but it is indeed possible with cd's or even floppy's
post #7 of 232
This guide just saved my butt. Many thanks for this zzpulp. I had a black screen from a failed GPU BIOS flash. I followed your USB blind flash info and had everything back to normal in about 15 minutes.

Thanks again man!
post #8 of 232
I saw the name of this thread and I almost choked laughing so hard (gen1 days).... sorry rep for you!
post #9 of 232
Thread Starter 
Yeah I haven't even mentioned unplugging the HD (but most new dell bioses are set to boot usb b4 HD anyway) in the thread but I figure you can try if nothing else is working for you...I wish after the title of this thread i could have like a pointing finger...Can someone just confirm in this thread of their "stock" bios having usb boot priority for both the 9400 and m1710 (or even the m90)?...This is just so i can have a consensus...I know it wasnt set this way for the xps2 a05...
post #10 of 232
On my 9400 A04, USB is not set before hard drive.
post #11 of 232
I'm having some problems with the reflash, me Notebook dont flash up the Numlock LED and doesn't boot of the USB Stick and CD doesen't work althought, he loads something but i think he doesn't flash the Bios, any ideas what i can do ?
post #12 of 232
Thread Starter 
Hmm...what laptop/videocard do you have?...if you have a flash drive I'd recommend trying that method and skipping the cd (eliminate some of the unknowns)...Make sure you have an "autoexec.bat" (batch file not a txt file) on your flash drive with the line 'nvflash -4 -5 -6 --auto -y [romname].rom' in it. Oh yeah, also if you did not make sure to set the usb to boot before the hard drive before you flashed it in the first place, then try plugging in the flash drive and booting up with the hard drive unplugged
post #13 of 232
Hi zzpulp

What kind od Flashdrive do u mean ? Buildin SD-Card reader ?
HD is unplugged while testind USB Stick.

Notebook is the Dell 9400, gfx the 7900GS. BTW how can i find out what rev the 7900 is ? Hadn't seen that there is an difference before flashing
post #14 of 232
Thread Starter 
Any old cheap usb flash drive should do
http://www.newegg.com/Product/Produc...ubCategory=522
You can check your video card rev by looking at the bios (w/ nibitor) or using the properties listed by the driver (Display Properties -> Advanced)
Revision 0 (rev.0) - bios 05.71.22.16.13
Revision 1 (rev.1) - bios 05.71.22.28.01
post #15 of 232
Ah ok but the usb flash drive i'd already tested and doesn't seems to work, the activity led on the drive doesnt flash
does the keyboard althoungt work when the numpad led doesnt light up ?
post #16 of 232
Thread Starter 
numpad indicates the bios is loading so i guess thats a no...unplug the hd and have an autoexec with the command "nvflash -4 -5 -6 --auto -y [romname].rom" and leave it a few hours or whatnot...make sure the new rom you are flashing to is compatible/stable with your gpu

Edit: sorry to take so long to respond...must seem like an eternity without your gpu working
post #17 of 232
Just wanted to thank you, I got the blank screen of death from flashing the 1.24volt version of Juan's new bios for the rev 1 7900gs. It appears that either the file was mislabled or accidentally copied from rev 0. No amount of cd flashing, neither reflashing Juan's or the one from your FAQ helped, but the thumbdrive flash did the trick. Took about 10 seconds and I was up and running again! Used the original bios posted on the thread from Juan's. Reps to you.!
post #18 of 232
Thread Starter 
Just here to help...made a few changes to the guide and havent really read over it...any suggestions will be appreciated
post #19 of 232
Same problem... NUMlock won't flash at all. I removed the HDD and put a bootable USB key AND a bootable CD for the night.... I'll see tomorrow morning if it worked during the night. (Is it possible for NUMlock key to finally light up like 1 hour after the computer is turned on?)

If I can't get it to flash, I assume it's a "back to DELL shipment"
post #20 of 232
Thread Starter 
Yes i mentioned that in my first post I think....Numlock can take over an hour to light up....just put the usb in and forget about the cd...I think im gonna remove that part from the guide...the cd works for me but other ppl report it not working and usb is just easier anyway...
New Posts  All Forums:Forum Nav:
  Return Home