<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Le 13/06/2015 09:54, Stefan Tauner a écrit :
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On Thu, 11 Jun 2015 22:09:55 +0200<br /> jackjean <<a href="mailto:jackjean@vivaldi.net">jackjean@vivaldi.net</a>> wrote:<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br /> <br /> Good evening all,<br /> <br /> After heaving sweated for months, I finally call for help at the<br /> community...<br /> <br /> My target is to program several SPI chips in order to repare some ASUS<br /> laptops, which was solved before by purchasing pre-programmed BIOS Chips<br /> <br /> <br /> I first tried to access with an SOIC "gripper" clip, directly on the<br /> chip being soldered on the main board.<br /> <br /> Facing to a lot of failures (unknown chip), I decided than to work on<br /> de-soldered chips.<br /> <br /> This allowed me to extract some dumps on failing and fresh purchased<br /> SPIs.<br /> <br /> Now, I have a satisfying database of complete images of BIOS, that I<br /> expect to use for programming new chips according each need.<br /> <br /> At that point begin my problem :<br /> <br /> After a abort during the first trial, I decided to erase my chip, and<br /> got the following advise :<br /> <br /> _"C:\Flashrom>flashrom -E -p buspirate_spi:dev=/COM3,spispeed=1M_<br /> _flashrom v0.9.6.1-r1704 on Windows 6.1 (x86)_<br /> _flashrom is free software, get the source code at<br /> <a href="http://www.flashrom.org" target="_blank" rel="noreferrer">http://www.flashrom.org</a> [1]_<br /> <br /> _Calibrating delay loop... OK._<br /> _Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) on buspirate_spi._<br /> _Erasing and writing flash chip... FAILED at 0x00000800! Expected=0xff,<br /> Found=0x00, failed byte count from 0x00000000-0x00000fff: 0x600_<br /> _ERASE FAILED!_<br /> _Reading current flash chip contents..."_<br /> <br /> Than I decided to purchase a DIP to SOIC adaptor in order to eliminate<br /> my doubts on the connection by gripper. Now the chips I use are soldered<br /> ...<br /> <br /> I tried to write again the BIOS image and got the following after a very<br /> long time of writing operation (more than one hour) and using the<br /> following command :<br /> <br /> _"flashrom -w flash.bin -VVV -p buspirate_spi:dev=/COM3,spispeed=1M"_<br /> <br /> The reslult is :<br /> <br /> _"Your flash chip is in an unknown state._<br /> _Please report this on IRC at chat.freenode.net (channel #flashrom) or_<br /> _mail <a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a>, thanks!_<br /> _buspirate_sendrecv: write 1, read 0 Sending 0x00_<br /> _buspirate_sendrecv: write 0, read 4 , receiving 0x42 0x42 0x49 0x4f_<br /> _buspirate_sendrecv: write 0, read 1 , receiving 0x31_<br /> _Raw bitbang mode version 1_<br /> _buspirate_sendrecv: write 1, read 0 Sending 0x0f_<br /> _Bus Pirate shutdown completed."_<br /> <br /> Considering than I took every possible care on the connection between<br /> Buspirate and SPI, and having a satisfying reading result (dumps are<br /> checked with Hex Editor and look OK), I am stucked at that point...<br /> <br /> I would appreciate any support from you.<br /> </blockquote>
<br /> Hi,<br /> <br /> you should have come here earlier probably :)<br /> Regarding your initial problems there are some hints at<br /> <a href="http://flashrom.org/ISP" target="_blank" rel="noreferrer">http://flashrom.org/ISP</a><br /> <br /> The failed erases and probably also the cause of the unknown state at<br /> the end comes from unconnected an !WP and/or !HOLD pin.<br /> See <a href="http://flashrom.org/Bus_Pirate" target="_blank" rel="noreferrer">http://flashrom.org/Bus_Pirate</a> for more details on these<br /> connections.<br /> <br /> If that does not help please post the write.log file generated by:<br /> flashrom -w flash.bin -p buspirate_spi:dev=/COM3,spispeed=1M -o write.log</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hello, and thank you for your appreciated support.</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">I confirm that pins 3 and 7 were free, according the advises from an ASUS laptops forum.</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">I than connected both pins 3 (HOLD) and 7 (WP) to the 3.3V.</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Having also doubts on the Winbond SPI, I choosed to replace it by a Macronix.</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">First strange reaction is that flashrom recognises 3 possible different chips :</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><img src="cid:bd9a0ddc48c841ab8b06127b709508a0@vivaldi.net" alt="" /></blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Than I choosed to add the "-c MX25L3205(A)" as option in the flashrom commands</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">I tried than to launch the writing command, but returns allways a fail, as you will read in attached log file.</blockquote>
</div>
</body></html>