On 07.06.2008 16:07, Stefan Reinauer wrote:
Ward Vandewege wrote:
On Sat, Jun 07, 2008 at 03:40:35PM +0200, Stefan Reinauer wrote:
Ward Vandewege wrote:
On Sat, Jun 07, 2008 at 01:40:39PM +0200, Carl-Daniel Hailfinger wrote:
Ouch. So one of the other probe functions kills communication. Can one of you try disabling other chip definitions in flashchips.c with #if 0 to narrow this problem down?
This is the culprit:
{"Winbond", "W29EE011", WINBOND_ID, W_29C011, 128, 128, TEST_OK_PREW, probe_w29ee011, erase_chip_jedec, write_jedec},
Is it enough to change the order of the lines?
No; the probe for W29EE011 is done after the probe for A49LF040A.
Thanks, Ward.
Ah, this is broken... flashrom should not continue when it found a chip in a given memory area already.
Besides that, we probe twice for W_29C011. Once we probe with the normal JEDEC function, the second time we use the special probe function. Maybe we can figure out why.
Regards, Carl-Daniel