<div dir="ltr">Hi Scott,<div>How long *should* bulk erase take on that chip? Did you or your contact at Ericson try increasing the timeout period?</div><div><br></div><div>Try it out and let us know if that helps resolve the issue.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 6:46 PM, Scott Emmart (semmart) <span dir="ltr"><<a href="mailto:semmart@micron.com" target="_blank">semmart@micron.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have some additional information from Erickson. I appreciate any help you can provide.<br>
Intel(R) Xeon(R) CPU E5-2448L v2 @ 1.80GHz<br>
E5-2600 v1 Sandybridge and v2 Ivybridage platforms also have seen slow flash issue in Numonyx part.<br>
<br>
Chipset<br>
Code name CaveCreek DH8900, ICH9 compatible.<br>
<span><br>
-------------------------<br>
Send OPCODE 0xC7 to flash chip ask for bulk erase, sometimes it work, sometimes it stuck no response back.<br>
Same experiment for Spansion flash works fine.<br>
-----------------------<br>
<br>
Open source tool flashrom clear SRWD and BP0, BP1, BP2 and BP3 bits of Status Register prior to erase and write for sure.<br>
<br>
Flashrom for "Micron/Numonyx/ST" go 4KB subsector erase in default.  Enforce OPCOED 0xD8 performing 64KB erase<br>
<br>
“bulk erase” is unstable, and SPI bus stuck in SCIP SPI Cycle in progress.  If you have time, we can co-work debugging it about bulk erase bus cycle jam issue.<br>
<br>
<br>
Found Micron/Numonyx/ST flash chip "N25Q128..3E" (16384 kB, SPI) mapped at physical address 0x00000000ff000000.<br>
Reading old flash chip contents... done.<br>
Erasing and writing flash chip... timeout, ICH9_REG_SSFS=0xf8007401<br>
spi_chip_erase_c7 failed during command execution<br>
Reading current flash chip contents... Error: SCIP never cleared!<br>
Can't read anymore! Aborting.<br>
FAILED!<br>
Uh oh. Erase/write failed. Checking if anything has changed.<br>
Reading current flash chip contents... Error: SCIP never cleared!<br>
Can't even read anymore!<br>
Your flash chip is in an unknown state.<br>
Get help 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" target="_blank">flashrom@flashrom.org</a> with the subject "FAILED: <your board name>"!<br>
<br>
<br>
</span>Sent from Surface<br>
<br>
From: Scott Emmart<mailto:<a href="mailto:semmart@micron.com" target="_blank">semmart@micron.com</a>><br>
Sent: ‎Monday‎, ‎June‎ ‎8‎, ‎2015 ‎4‎:‎09‎ ‎PM<br>
To: <a href="mailto:flashrom@flashrom.org" target="_blank">flashrom@flashrom.org</a><mailto:<a href="mailto:flashrom@flashrom.org" target="_blank">flashrom@flashrom.org</a>><br>
<div><div><br>
Hi I have 2 customers experiencing issues with Bulk erase with our<br>
Micron/Numonyx/ST<br>
<br>
N25Q128..3E<br>
<br>
16384<br>
<br>
SPI<br>
<br>
OK<br>
<br>
OK<br>
<br>
OK<br>
<br>
OK<br>
<br>
2.700<br>
<br>
3.600<br>
<br>
<br>
What can I do to help get this situation looked at? I am working on getting board names is there any other information you need??<br>
<br>
<br>
>From IBM:<br>
Found Micron/Numonyx/ST flash chip "N25Q128..3E" (16384 kB, SPI).<br>
This chip may contain one-time programmable memory. flashrom cannot read<br>
and may never be able to write it, hence it may not be able to completely<br>
clone the contents of this chip (see man page for details).<br>
Write/erase is not working yet on your programmer in its current configuration.<br>
Continuing anyway.<br>
Flash image seems to be a legacy BIOS. Disabling coreboot-related checks.<br>
Reading old flash chip contents... Transaction error!<br>
SSFS: SCIP=0, FDONE=1, FCERR=1, AEL=0<br>
SSFC: SCGO=0, ACS=0, SPOP=0, COP=1, DBC=63, SME=0, SCF=0<br>
Running OPCODE 0x03 failed at address 0x001000 (payload length was 64).<br>
FAILED.<br>
<br>
<br>
<br>
>From Ericson………<br>
N25Q128A13ESF40F<br>
-------------------------<br>
Send OPCODE 0xC7 to flash chip ask for bulk erase, sometimes it work, sometimes it stuck no response back.<br>
Same experiment for Spansion flash works fine.<br>
-----------------------<br>
<br>
Open source tool flashrom clear SRWD and BP0, BP1, BP2 and BP3 bits of Status Register prior to erase and write for sure.<br>
<br>
Flashrom for "Micron/Numonyx/ST" go 4KB subsector erase in default.  Enforce OPCOED 0xD8 performing 64KB erase<br>
<br>
“bulk erase” is unstable, and SPI bus stuck in SCIP SPI Cycle in progress.  If you have time, we can co-work debugging it about bulk erase bus cycle jam issue.<br>
<br>
<br>
Found Micron/Numonyx/ST flash chip "N25Q128..3E" (16384 kB, SPI) mapped at physical address 0x00000000ff000000.<br>
Reading old flash chip contents... done.<br>
Erasing and writing flash chip... timeout, ICH9_REG_SSFS=0xf8007401<br>
spi_chip_erase_c7 failed during command execution<br>
Reading current flash chip contents... Error: SCIP never cleared!<br>
Can't read anymore! Aborting.<br>
FAILED!<br>
Uh oh. Erase/write failed. Checking if anything has changed.<br>
Reading current flash chip contents... Error: SCIP never cleared!<br>
Can't even read anymore!<br>
Your flash chip is in an unknown state.<br>
Get help 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" target="_blank">flashrom@flashrom.org</a> with the subject "FAILED: <your board name>"!<br>
<br>
<br>
Thank you,<br>
<br>
Scott Emmart<br>
<br>
Micron Technology, Inc.<br>
<br>
</div></div>Senior Manager | World Wide Customer Engineering Labs<<a href="http://www.micron.com/solutions/global-customer-labs" target="_blank">http://www.micron.com/solutions/global-customer-labs</a>><br>
T: <a href="tel:208%20368-3022" value="+12083683022" target="_blank">208 368-3022</a>  I  M: <a href="tel:208%20585-7337" value="+12085857337" target="_blank">208 585-7337</a> I <a href="mailto:semmart@micron.com" target="_blank">semmart@micron.com</a><mailto:<a href="mailto:semmart@micron.com" target="_blank">semmart@micron.com</a>><br>
[logo-micron]<<a href="http://www.micron.com/" target="_blank">http://www.micron.com/</a>><br>
[micron_tag_line]<br>
<br>
<br>
<br>_______________________________________________<br>
flashrom mailing list<br>
<a href="mailto:flashrom@flashrom.org" target="_blank">flashrom@flashrom.org</a><br>
<a href="http://www.flashrom.org/mailman/listinfo/flashrom" target="_blank">http://www.flashrom.org/mailman/listinfo/flashrom</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.</div>
</div></div>