* NAND page programm
@ 2004-09-12 18:08 Artem B. Bityuckiy
2004-09-12 18:41 ` Thomas Gleixner
0 siblings, 1 reply; 4+ messages in thread
From: Artem B. Bityuckiy @ 2004-09-12 18:08 UTC (permalink / raw)
To: linux-mtd
Hello guys.
As I understand the NAND_CMD_READ0 command is the "read whole page"
command. What doed the NAND_CMD_READ1 command exactly mean? Is there
some fixed semantic? (see linux/mtd/nand.h)
Thanks.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NAND page programm
2004-09-12 18:08 NAND page programm Artem B. Bityuckiy
@ 2004-09-12 18:41 ` Thomas Gleixner
2004-09-13 6:50 ` Artem B. Bityuckiy
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gleixner @ 2004-09-12 18:41 UTC (permalink / raw)
To: Artem B. Bityuckiy; +Cc: linux-mtd
On Sun, 2004-09-12 at 20:08, Artem B. Bityuckiy wrote:
> Hello guys.
>
> As I understand the NAND_CMD_READ0 command is the "read whole page"
> command. What doed the NAND_CMD_READ1 command exactly mean? Is there
> some fixed semantic? (see linux/mtd/nand.h)
NAND_CMD_READ0 sets the offset to the start of a page.
NAND_CMD_READ1 sets the offset to 256. This is only available on chips
with a pagesize = 512.
What are you looking for ?
tglx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NAND page programm
2004-09-12 18:41 ` Thomas Gleixner
@ 2004-09-13 6:50 ` Artem B. Bityuckiy
2004-09-13 6:55 ` Thomas Gleixner
0 siblings, 1 reply; 4+ messages in thread
From: Artem B. Bityuckiy @ 2004-09-13 6:50 UTC (permalink / raw)
To: tglx; +Cc: linux-mtd
Thomas Gleixner wrote:
>
> NAND_CMD_READ0 sets the offset to the start of a page.
> NAND_CMD_READ1 sets the offset to 256. This is only available on chips
> with a pagesize = 512.
Thanks, this is what I thought.
Do all NAND chips support the second half page reads? It seems for me - not.
>
> What are you looking for ?
Nothing special, I'm just writing a NAND flash driver (which simulates
NAND flash in RAM) and was a little bit confused since there is no
comments (concerning NAND commands)in nand.h ...
>
> tglx
>
Thanks for reply.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NAND page programm
2004-09-13 6:50 ` Artem B. Bityuckiy
@ 2004-09-13 6:55 ` Thomas Gleixner
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Gleixner @ 2004-09-13 6:55 UTC (permalink / raw)
To: Artem B. Bityuckiy; +Cc: linux-mtd
On Mon, 2004-09-13 at 08:50, Artem B. Bityuckiy wrote:
> Thomas Gleixner wrote:
> >
> > NAND_CMD_READ0 sets the offset to the start of a page.
> > NAND_CMD_READ1 sets the offset to 256. This is only available on chips
> > with a pagesize = 512.
> Thanks, this is what I thought.
>
> Do all NAND chips support the second half page reads? It seems for me - not.
Only the ones with 512byte pagesize.
> >
> > What are you looking for ?
> Nothing special, I'm just writing a NAND flash driver (which simulates
> NAND flash in RAM) and was a little bit confused since there is no
> comments (concerning NAND commands)in nand.h ...
> >
AFAICS, we use this command no more, as we always read / write page
aligned.
tglx
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-13 7:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-12 18:08 NAND page programm Artem B. Bityuckiy
2004-09-12 18:41 ` Thomas Gleixner
2004-09-13 6:50 ` Artem B. Bityuckiy
2004-09-13 6:55 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox