<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am using the dediprog programmer to handle SPI flash on the ESP32.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I have issue erasing the flash with dediprog ( but works fine with FTDI 2232H ).</p>
<p style="margin-top:0;margin-bottom:0">I am however able to write/program the flash with the dediprog. I am using the SF600Plus. </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>> flashrom -p dediprog -E</div>
<div>flashrom v1.0 on Linux 4.15.0-38-generic (x86_64)</div>
<div>flashrom is free software, get the source code at https://flashrom.org</div>
<div><br>
</div>
<div>Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).</div>
<div>Found GigaDevice flash chip "GD25Q32(B)" (4096 kB, SPI) on dediprog.</div>
<div>Erasing and writing flash chip... FAILED at 0x00002000! Expected=0xff, Found=0x00, failed byte count from 0x00002000-0x00002fff: 0x1000</div>
<div>ERASE FAILED!</div>
<div>Looking for another erase function.</div>
<div>FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00007fff: 0x5e68</div>
<div>ERASE FAILED!</div>
<div>Looking for another erase function.</div>
<div>FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0x6a98</div>
<div>ERASE FAILED!</div>
<div>Looking for another erase function.</div>
<div>FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x003fffff: 0x2d112</div>
<div>ERASE FAILED!</div>
<div>Looking for another erase function.</div>
<div>FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x003fffff: 0x2d153</div>
<div>ERASE FAILED!</div>
<div>Looking for another erase function.</div>
<div>No usable erase functions left.</div>
<div>FAILED!</div>
<div>Your flash chip is in an unknown state.</div>
<div>Please report this on IRC at chat.freenode.net (channel #flashrom) or</div>
<div>mail flashrom@flashrom.org, thanks!</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>> flashrom -p ft2232_spi:type=2232H,port=A -E</div>
<div>flashrom v1.0 on Linux 4.15.0-38-generic (x86_64)</div>
<div>flashrom is free software, get the source code at https://flashrom.org</div>
<div><br>
</div>
<div>Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).</div>
<div>Found GigaDevice flash chip "GD25Q32(B)" (4096 kB, SPI) on ft2232_spi.</div>
<div>Erasing and writing flash chip... Erase/write done.</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards,<br>
Stan</div>
<br>
<p></p>
</div>
</body>
</html>