Originally Posted by truedts
my msi rx460 bricked after flash,i use hd7790 to reflash but not work
I see many people who bricked their cards trying out various BIOS images. Its very easy to fix, but you need a bios programmer. I suggest using one of the FT232H based programmers with flashrom.uilt my own, but the FTDI C232HM-DDHSL-0 should be a turnkey option for those that are unable to roll their own programmer.
Make sure you get the 3.3v cable. There is another one with a similar part number that does not have the 3.3v vcc output that is needed to power the chip. You will also need a test clip.
If you have trouble programming the spi flash rom, try reducing the speed of the programmer. There is a command line option to do so. If that does not work at a capacitor between the vcc and ground terminals on the test clip where you connect up your FTDI cable.
I used flashrom from linux. I installed ubuntu linux to a virtual machine under vmware.
Heres the page for flashrom
open a terminal window in ubuntu and type the commands
sudo apt-get update
sudo apt-get install flashrom
it should also install the libraries you need to access the ftdi device.
Here is the flashrom page for the ftdi programmers.
and here is the schematic that I based my device from.
Notice the yellow square on the schematic labeled P2. That shows which wires on your cable go to which pins on the ic. Notice the two pullup resistors that are connected to 3.3v through a jumper. I think you can get away with not having those. But if it doesn't work, just add them. (I cant really say anything more about that,as my device has the resistors so I cant be certain that it will work without them, but I THINK it will)
Now,once you have your cable wired up to your test clip, and your test clip connected to the flash memory device, plug the cable into the computer your using to program with. (if your working in VMware make sure that its passed through to the vm) Then issue a command such as
sudo flashrom -p ft2232_spi:type=232H,divisor=120 -r badbios.bin
the parts of this command are as follows:
sudo invokes the command with administrator privileges. This is required for it to run correctly.
flashrom is the program that writes and reads flash chips
-p ft32_spi:type=232H tells it to use an FT232H device
divisor=120 slows it down. The default is 2. Larger numbers are slower.
-r badbios.bin tells it to read the bios and write it to a file "badbios.bin"
this backs up whatever was on the card. Its not strictly necessary as the bios didn't work anyway, but its always a good idea to backup whatever is there before you erase and reprogram. Some devices like network routers have identifying numbers such as mac addresses or other identifying information that can be stored in the flash memory. Often times the factory bios flashing utilities preserve that information. A programmer like this can wipe that out. If you flash a bios with a spi flasher and find that some sort of custom information is missing, if your lucky, it might be present in the backed up image, even if the flash went sideways. I dont think these cards have that issue, but its better to be safe than sorry. Lets be honest, your probably in this predicament because you took a risk you shouldn't have or cut a corner somewhere. You dont want to dig yourself in even deeper.
Make sure the file wrote to the disk. Its not a bad idea at this point in time to do an sha256 hash of the image you just made and compare it to the bios image you flashed
Now to see if its the same. If not, it may not have been a bad image, the flash process might have just had a problem.
Once your backed up, issue a command like
sudo flashrom -p ft2232_spi:type=232H,divisor=128 -w RX460.backup
the syntax is the same as before, but now we use
-w RX460.backup which tells it to write the file RX460.backup to the flash chip. Hopefully, before you flashed your bios chip and bricked it you backed up what was originally there. (replace RX460.backup with whatever name you used. This is NOT the backup file you just made. You are probably going to want the original bios the card came with. If you didn't back it up your going to have to find a copy somewhere. If it works, it will erase, write and verify the data on the flash device. Then you should be good to go.