> However, the datasheet talks about a three-byte command to enter CFI
> mode, which is in conflict with the CFI spec. I remember some older SST
> flashs had the same problem (and when using the 3-byte sequence, the CFI
> tables were present, but broken).
>
> If the 39VF6401B behaves like that, it is probably best to treat it as a
> non-CFI device.
Does it have anything to do with this?
src/flash/nor/cfi.c:
/* enter CFI query mode
* according to JEDEC Standard No. 68.01,
* a single bus sequence with address = 0x55, data = 0x98
should put
* the device into CFI query mode.
*
* SST flashes clearly violate this, and we will consider them
incompatbile for now
*/
retval = cfi_query_string(bank, 0x55);
if (retval != ERROR_OK)
{
/*
* Spansion S29WS-N CFI query fix is to try 0x555 if
0x55 fails. Should
* be harmless enough:
*
*
http://www.infradead.org/pipermail/linux-mtd/2005-September/013618.html
*/
LOG_USER("Try workaround w/0x555 instead of 0x55 to get
QRY.");
retval = cfi_query_string(bank, 0x555);
}
--
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development