[Guide] Recover from failed BIOS flash using Raspberry PI

I tried 5 times over last night unclipping and reclipping it back on but I appreciate your feeling that its not on right because that puts my mind at ease wether I messed up the flash. Though tried without the battery because first time I used the standard ch341a software with battery and then read not to use it, but Lost-n-bios said try with battery so will try again tonight with ASProgrammer. Heres a photo of how I have set up: [Guide] Using CH341A-based programmer to flash SPI EEPROM (20). Sorry beyond of topic of this RP thread.

W25Q128FV / BV both are 2.7-3.3V chips.

Hi,
Newbie here. I’d like to attempt to reflash the BIOS on a Gigabyte GA-H61M-USB3-B3 Rev 1.1 motherboard. BIOS chips are surface mounted. I bought a SOIC adapter and a 8-bit Logic Level Convertor off ebay in order to lower the voltage from 3.3v to 1.8v (BIOS chip is a Winbond W25Q32FW I think). Problem is, I’m not sure how to wire up the logic level convertor. Ebay listing is here - https://www.ebay.com.au/itm/8-Channel-8-…AZ/113375842840

Any advice would be much appreciated. Thanks!

Hi,

Is my flash chip dead?

1
2
 
Calibrating delay loop... OK.
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on ft2232_spi.
 


I'm using TIAO USB Multi Protocol Adapter (TUMPA) SPI1: http://www.tiaowiki.com/w/TIAO_USB_Multi...SPI_Connector_1


The chip is a Winbond 25Q64FVAIQ : https://www.winbond.com/resource-files/w...%2006142016.pdf

Connection as follows:

1
2
3
4
5
6
7
 
TUMPA SPI             <=====>     Winbond
1 MISO 2 DO
2 Vcc (3.3V) 8 VCC, 3 WP, 7 HOLD
3 SCK 6 CLK
4 MOSI 5 DI
5 CS 1 CS
6 GND 4 GND
 


Checked 3.3V with Multimeter, when running flash rom GND, DI blips so it seems to be working. Tried OS X and linux with same result. Any ideas?

update: System spins fans with the chip in. Without chip, fans wont even spin up, so chip seems OK. I think my cables are poor quality and too long, ~19cm / 7-8"

update^2: shortened the cables and used the SPI2 interface and set the jumpers like here: https://ao2.it/it/blog/2012/09/23/tumpa and it worked.
most likely a loose connection somewhere..


backed up flash. erased and wrote the original bios. booted back into windows and then flashed to the latest bios! system is running again!

@jave - don’t guess/think about BIOS ID, get magnifying glass and flashlight and check to be sure. Normally on such an old board 1.8v BIOS chip would not be used, so no converter needed
If it is W25Q32FW then yes you will need 1.8V adapter such as this - https://www.ebay.com/itm/202046860676
Whatever you have may work, if you’ve seen someone use it in some way, but the above is the only thing I’ve ever seen used for this purpose.
But, since this is raspberry pI thread, I’m sure there is some way you guys with these can use what you mentioned Hopefully someone will help you with that soon

@e97 - with general CH341A programmer and it’s software, for W25Q64FV I have to choose W25Q64BV - so if you can do something similar in your setup it may help
Choosing exact proper ID on CH341A software for me, no matter software version = “sometimes” read OK, but write always fails
Or, sounds like you got it finally, great! I’ll leave this info here in case if helps someone in the future

@Lost_N_BIOS waiting for my CH341A in the mail. flashrom also supports CH341A, maybe easier than CH341A tools since it auto detects chip

Thank you @Pacman for this guide!

Can I use any model Raspberry pi to do this?