So, I connected WP to ground (instead of leaving it unconnected), and reduced the speed (spispeed=8000).  Looking at a binary comparison of the original file versus what was actually written, it seems that it was writing parts of it successfully, but corrupting data every few bytes.

I'm guessing either the raspberry pi can't handle the higher speeds, or I'm getting interference from something.

Either way, I've done a couple erase, write, read cycles and it's been working fine.

On 2/4/2014 8:16 PM, Brian Rak wrote:
So, after realizing that the MX25L256 was the wrong chip, I've obtained a few of the correct chips (MX25L12845EMI-10G).  These are detected by flashrom, but writes are failing.

Erase/write done.
Verifying flash... FAILED at 0x00000002! Expected=0x55, Found=0x75, failed byte count from 0x00000000-0x00ffffff: 0x3e5cb3
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom@flashrom.org, thanks!

This is using a raspberry pi as a programmer, and:

./flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=32000 -w ../flashrom/ipmi/SMT_313.bin -o debug1

-rw-r--r-- 1 root root 16777216 Jan  2 19:10 ../flashrom/ipmi/SMT_313.bin


Any suggestions here?  -o debug1 is attached


_______________________________________________
flashrom mailing list
flashrom@flashrom.org
http://www.flashrom.org/mailman/listinfo/flashrom