ts-7000
[Top] [All Lists]

[ts-7000] ts7250 nand driver - writing to spare area...

To:
Subject: [ts-7000] ts7250 nand driver - writing to spare area...
From: "siddh_c" <>
Date: Wed, 24 Oct 2007 22:08:10 -0000
Hi,
I am looking at the NAND flash driver code of ts720 and have the
following question on how spare area read/writes are done:

The ts7250.o nand driver (drivers/mtd/nand/ts7250.c) uses the default
nand driver (in mtd/nand/nand_base.c) provided by mtd to do page
rd/wr, erase and oob rd/wr. Looking at the NAND datasheet from Samsung
(K9F1G08R0A), the chip does not have a special control instruction
meant for OOB (spare area) read/write. Thus, the OOB read/write is
done via page read/write command. However, the source code seems to be
contradicting - 
In mtd/nand/nand_base.c func: nand_read_oob_std() gets called to do an
OOB read, which in turn calls the chip->cmdfunc(mtd,
NAND_CMD_READOOB). Since there is no command equivalent of
NAND_CMD_READOOB in the samsung flash chip that comes with ts7250, I
was wondering how the read_oob() takes place ? 

May be I am missing something here ? 

thanks,
-siddharth




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] ts7250 nand driver - writing to spare area..., siddh_c <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU