I'm ph1ph1l0u, a new French user and I recently buy a BP v3b ... to recover an Asus Laptop from a bad BIOS flash.
This is an X93SM/K93SM with an Winbond W25Q32BVSSIG SOIC 208-mil SPI EEPROM on it, here is the datasheet:
hwwp://xxx.winbond com tw/NR/rdonlyres/B573ABE4-0DD6-4C10-AA9F-906945FC52B5/0/W25Q32BV.pdf
(to get the real & full URL, replace w by t in hwwp, x by w in xxx, and space by . after winbond & com)
I upgrade the BP v3b to v3.5 / FW to 6.1, so here is the output of "i" command:
- Code: Select all
HiZ>i
Bus Pirate v3.5
Firmware v6.1 r1676 Bootloader v4.4
DEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)
http://dangerousprototypes.com
For the connecting, here is what I use
- Pomona 5250 SOIC8-Clip
- independant wires (less 10 cm) with different colors
- USB cable with mini-B connector to power on the BP from my M70VN laptop ... and allow the I/O.
Here is how the connections are done (cf page 6 of W25Q32B's datasheet)
- Code: Select all
On BP .......... On SPI (W25Q32B)
CS <=======> CS (1)
GND <=======> GND (4)
CLK <=======> CLK (6)
3V3 <=======> VCC (8)
MOSI <=======> DO (IO1)
MISO <=======> DI (IO0)
I have done a Selt-Test of BP: no errors.
I want to use flashrom to:
- read the content of the chip
- dump this content in a file (2 times)
- edit, if possible, this output file in a Hex editor
- reflash the chip with the new file edited
- try to boot the machine to see if it work.
--> In Windows Se7en 64 bits, can't use flashrom, even if I follow many tutorails found on the web.
Then, I give up this way. Too painfull for no result.
--> So, as I have an Ubuntu 12.04 installation in a VirtualBox, to do the things I want in this OS, with help of minicom and flashrom.
It works partially.
I've tried to follow the topic intitled Pirate Bus and ASUS laptop bios on this forum, but no help, here:
viewtopic.php?f=40&t=4709
So, same SPI chip, and it works: in the facts, we know it's feasible!
The BP is well detected:
- Code: Select all
philippe@philippe-VirtualBox:~$ dmesg | tail
[ 5903.389589] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 5903.389643] ftdi_sio 2-2:1.0: device disconnected
[ 5927.696259] usb 2-2: new full-speed USB device number 16 using ohci_hcd
[ 5928.256827] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[ 5928.256907] usb 2-2: Detected FT232RL
[ 5928.256909] usb 2-2: Number of endpoints 2
[ 5928.256910] usb 2-2: Endpoint 1 MaxPacketSize 64
[ 5928.256911] usb 2-2: Endpoint 2 MaxPacketSize 64
[ 5928.256913] usb 2-2: Setting MaxPacketSize 64
[ 5928.267889] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0
The minicom is well set:
- Code: Select all
serial port: /dev/ttyUSB0
baud rate: 115200
data/parity/stop/flow control: 8/N/1/N
Yesterday evening, I can see the chip with flashrom:
- Code: Select all
sudo flashrom -p buspirate_spi:dev=/dev/ttyUSB0
Found Winbond flash chip "W25Q32" (4096 kB, SPI).
This chip may contain one-time programmable memory. flashrom cannot read
and may never be able to write it, hence it may not be able to completely
but, ... but, if I run this command:
- Code: Select all
sudo flashrom -r dump.bin -p buspirate_spi:dev=/dev/ttyUSB0
it displays the same message but with:
- Code: Select all
Reading flash ...
and a glowing prompt, but after waiting 30 mns, nothing else happen ...
clone the contents of this chip (see man page for details).
I stop all process because I'm tired and bored.
This morning, new tries.
Now, with same connections / same settings in minicom / same detection, I have this:
- Code: Select all
philippe@philippe-VirtualBox:~$ sudo flashrom -p buspirate_spi:dev=/dev/ttyUSB0
[sudo] password for philippe:
flashrom v0.9.6.1-r1648 on Linux 3.2.0-25-generic-pae (i686)
flashrom is free software, get the source code at hxxp://xxx flashrom org
Calibrating delay loop... OK.
Bus Pirate firmware 6.1 and older does not support SPI speeds above 2 MHz. Limiting speed to 2 MHz.
It is recommended to upgrade to firmware 6.2 or newer.
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on buspirate_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom at flashrom org if any of the above operations
work correctly for you with this flash part. Please include the flashrom
output with the additional -V option for all operations you tested (-V, -Vr,
-VE, -Vw), and mention which mainboard or programmer you tested.
Please mention your board in the subject line. Thanks for your help!
No operations were specified.
What's the hell? Why it display:
- Code: Select all
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on buspirate_spi.
today? What are the changes between yesterday and now?
EDIT: I forget to specify this point: the mobo is outside the case, no power (no battery, no supply).
If there's somebody who can help me ... 'cause, I'm beginning to loose hope and to be very frustrating...
Thanks for any help.












