<div dir="ltr">Hello. Actually it was a wiring problem. I've tried with both /WP and /HOLD tied to GND, then with /WP tied to GND and /HOLD floating.<div>This morning I saw, that /WP and /HOLD should be tied to VDD (this is noted for the Amontec JTAGkey/JTAGkey2/JTAGkey-Tiny programmer). </div><div>After tying them to VDD everything worked fine.</div><div><br></div><div>Sorry for the inconvenience. <br><div><br></div><div>==================================================</div><div><br></div><div><div>C:\Users\kul\Downloads\flashrom>flashrom -p ft2232_spi:type=arm-usb-tiny-h -E</div><div>flashrom v0.9.6.1-r1704 on Windows 6.1 (x86)</div><div>flashrom is free software, get the source code at <a href="http://www.flashrom.org" target="_blank">http://www.flashrom.org</a></div><div><br></div><div>Calibrating delay loop... OK.</div><div>Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) on ft2232_spi.</div><div>Erasing and writing flash chip... Erase/write done.</div><div><br></div><div>C:\Users\kul\Downloads\flashrom>flashrom -p ft2232_spi:type=arm-usb-tiny-h -w encr_firmware.bin</div><div>flashrom v0.9.6.1-r1704 on Windows 6.1 (x86)</div><div>flashrom is free software, get the source code at <a href="http://www.flashrom.org" target="_blank">http://www.flashrom.org</a></div><div><br></div><div>Calibrating delay loop... OK.</div><div>Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) on ft2232_spi.</div><div>Reading old flash chip contents... done.</div><div>Erasing and writing flash chip... Erase/write done.</div><div>Verifying flash... VERIFIED.</div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 9:24 AM, Stefan Tauner <span dir="ltr"><<a href="mailto:stefan.tauner@alumni.tuwien.ac.at" target="_blank">stefan.tauner@alumni.tuwien.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, 9 Feb 2015 19:52:06 +0200<br>
Kaloyan Mihaylov <<a href="mailto:kaloyan.mihaylov@gmail.com">kaloyan.mihaylov@gmail.com</a>> wrote:<br>
<br>
> flashrom.exe -p ft2232_spi:type=arm-usb-tiny-h -<br>
> E<br>
> flashrom v0.9.6.1-r1704 on Windows 6.1 (x86)<br>
> flashrom is free software, get the source code at <a href="http://www.flashrom.org" target="_blank">http://www.flashrom.org</a><br>
><br>
> Calibrating delay loop... OK.<br>
> Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) on ft2232_spi.<br>
> Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff,<br>
> Found=0xe<br>
> 5, failed byte count from 0x00000000-0x00000fff: 0x9ca<br>
> ERASE FAILED!<br>
> Reading current flash chip contents... done. FAILED at 0x00008000!<br>
> Expected=0xff<br>
> , Found=0x85, failed byte count from 0x00008000-0x0000ffff: 0x4bb9<br>
> ERASE FAILED!<br>
> Reading current flash chip contents... done. FAILED at 0x00008000!<br>
> Expected=0xff<br>
> , Found=0x85, failed byte count from 0x00000000-0x0000ffff: 0x4cb2<br>
> ERASE FAILED!<br>
> Reading current flash chip contents... done. FAILED at 0x00050200!<br>
> Expected=0xff<br>
> , Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x30e<br>
> ERASE FAILED!<br>
> Reading current flash chip contents... done. FAILED at 0x002e9800!<br>
> Expected=0xff<br>
> , Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x700<br>
> ERASE FAILED!<br>
> FAILED!<br>
> Your flash chip is in an unknown state.<br>
> Please report this on IRC at <a href="http://chat.freenode.net" target="_blank">chat.freenode.net</a> (channel #flashrom) or<br>
> mail <a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a>, thanks!<br>
<br>
</div></div>Hi, that looks like erasing worked only sometimes... well, most of the<br>
times, but not always. Have you connected all pins of the flash chip?<br>
Is it still connected to a board? In the latter case please see<br>
<a href="http://flashrom.org/ISP" target="_blank">http://flashrom.org/ISP</a> for possible culprits.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Kind regards/Mit freundlichen Grüßen, Stefan Tauner<br>
</font></span></blockquote></div><br></div>