to make confusion perfect,
We wanted a direct replacement (pin compatibel, alternative part) for AMD FlASH chip Am29LV065D,
the AMD FlASH chip Am29LV065D is difficult to buy and expensive,
i think the N series starts with S29GL128 (cannot find S29GL064N11TAIR0) and is not pin compatible to Am29LV065D.
I'm not a flash expert, I had some discussion with altera and amd representives, but
no really results.
I guess that the problem is the missing single word program command in x8 mode,
in x16 mode the command is in the table (Program 555 AA 2AA 55 555 A0 PA PD)
I refer to
datasheet S29GLxxxM_00_B3_E.pdf page 112,113 table 35 and table 36
so maybe this is why S29GL128M10FAIR1 (x16 mode ???) works and S29GL064M11TAIR0 (x8 mode)
works not.
I do not trust CFI-compliant, it would be nice to have a list of working flash devices
(exact type ! and avalon connection).
here is a mail i've received from altera
...
Hi Thomas,
We have identified why the Spansion flash that you are using does not work
with our flash programmer or with our HAL routines. Our HAL library and our
flash programmer write to flash using the AMD "Program" sequence. The vast
majority of AMD flashes support writing to flash using the "Program" sequence.
However, the flash part that you are using does not support the "Program"
sequence. Instead, the S29GL064M11A1R0 part can only be written to using the
"Write to Buffer" sequence.
Unfortunately, there is nothing in the CFI table that indicates if a flash
part supports the "Program" operation and/or the "Write to Buffer" operation.
The majority of AMD flashes support at least the "Program" operation and many
of their flashes support both "Program" and "Write to Buffer". However,
some of the new MirrorBit families when used in 8-bit mode only support
"Write to Buffer" which is the case for your part. If we modify our flash
programmer to use "Write to Buffer" instead of "Program" then we will run
into problems with other AMD parts such as the CFI compliant AM29LV017D
which does not support "Write to Buffer".
So the S29GL064M part is not a direct drop in replacement for the
AM29LV065DU as it uses a different programming sequence. I have contacted
AMD and they indicate that they do not recommend using the S29GL064M part
as a replacement for the AM29LV065DU. They indicate that they AM29LV065DU
is still a valid part number and they would recommend that you continue to
place orders for this part number. They believe that in the near future
Spansion will have a part that is a more suitable replacement.
We will research the feasibility of supporting the Spansion part that you are
using in the future. However, for now I would recommend using the AM29LV065DU
if possible.
...