* Problems with ST NAND512W3A nand flash
@ 2007-05-16 14:40 Savin Zlobec
2007-05-16 16:50 ` MikeW
2007-05-17 15:45 ` Savin Zlobec
0 siblings, 2 replies; 3+ messages in thread
From: Savin Zlobec @ 2007-05-16 14:40 UTC (permalink / raw)
To: linux-mtd
Hi All!
I am working on a AT91RM9200 based board with ST NAND512W3A2B flash.
Kernel version is 2.6.19.7 with patches from maxim.org.za/at91_26.html.
Everything works perfectly, except for boot time NAND chip
identification which fails every once in a while. NAND signature
is 0x20 0x76, but sometimes I get 0x20 0x20. My first guess was
timing problems, but I've double checked everything and all signals
are inside the specs. I've also tested the chip with shorter and
longer setup, hold and pulse times for read and write, but without
any success. Trying different kernels didn't help either.
Any ideas and/or comments would be very much appreciated.
Thanks,
savin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with ST NAND512W3A nand flash
2007-05-16 14:40 Problems with ST NAND512W3A nand flash Savin Zlobec
@ 2007-05-16 16:50 ` MikeW
2007-05-17 15:45 ` Savin Zlobec
1 sibling, 0 replies; 3+ messages in thread
From: MikeW @ 2007-05-16 16:50 UTC (permalink / raw)
To: linux-mtd
Savin Zlobec <savinz <at> users.sourceforge.net> writes:
>
> Hi All!
>
> I am working on a AT91RM9200 based board with ST NAND512W3A2B flash.
> Kernel version is 2.6.19.7 with patches from maxim.org.za/at91_26.html.
> Everything works perfectly, except for boot time NAND chip
> identification which fails every once in a while. NAND signature
> is 0x20 0x76, but sometimes I get 0x20 0x20. My first guess was
> timing problems, but I've double checked everything and all signals
> are inside the specs. I've also tested the chip with shorter and
> longer setup, hold and pulse times for read and write, but without
> any success. Trying different kernels didn't help either.
>
> Any ideas and/or comments would be very much appreciated.
>
> Thanks,
> savin
a) power supply tolerance; psu noise ?
b) is the second 0x20 a 'repeat' of the first ? in which case will an
extra read give you the required 0x76 ? [if chipid==mfrid reread chipid]
May be a chip problem - it does happen !
MikeW
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with ST NAND512W3A nand flash
2007-05-16 14:40 Problems with ST NAND512W3A nand flash Savin Zlobec
2007-05-16 16:50 ` MikeW
@ 2007-05-17 15:45 ` Savin Zlobec
1 sibling, 0 replies; 3+ messages in thread
From: Savin Zlobec @ 2007-05-17 15:45 UTC (permalink / raw)
To: linux-mtd
Savin Zlobec wrote:
> Hi All!
>
> I am working on a AT91RM9200 based board with ST NAND512W3A2B flash.
> Kernel version is 2.6.19.7 with patches from maxim.org.za/at91_26.html.
> Everything works perfectly, except for boot time NAND chip
> identification which fails every once in a while. NAND signature
> is 0x20 0x76, but sometimes I get 0x20 0x20. My first guess was
> timing problems, but I've double checked everything and all signals
> are inside the specs. I've also tested the chip with shorter and
> longer setup, hold and pulse times for read and write, but without
> any success. Trying different kernels didn't help either.
After some debugging I found what it looks like a silicon bug
in ST NAND512W3A2B. It looks like this particular chip doesn't
handle well the ALE and CLE transitions (no R or W) when in the
middle of READID command - other commands seem not affected.
I have the nand wired to AT91RM9200 according to the datasheet -
ALE and CLE go to A21 and A22. AT91RM9200 errata #34 states that
the address bus is continuously active, even if the address is
an internal one - so A2[12] toggle often. Sometimes it happens
that signature reading gets interrupted and if there is an
transition on A2[12] ... BOOOM - No NAND device found!!!
Regards,
savin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-17 15:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 14:40 Problems with ST NAND512W3A nand flash Savin Zlobec
2007-05-16 16:50 ` MikeW
2007-05-17 15:45 ` Savin Zlobec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox