public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* about samsung nandflash maker id!
@ 2004-03-04  6:36 Roy.King
  0 siblings, 0 replies; only message in thread
From: Roy.King @ 2004-03-04  6:36 UTC (permalink / raw)
  To: linux-mtd

I have a samsung nandflash, connect like that: 

  	D0~D7:          D0~D7
  	ALE:            A3
        CLE:            A2
        #CE:            #CE6    (adds: 0x400000)
        #WE:            #WR
        #RE:            #RD
        Ready:          K54

and I use mtd nand drivers from uClinux-dist-20030522.
Firstly, I want test the nandflash Maker id and Device id
in nand_scan():
...
...
nand_select(); //just set  *(volatile unsigned char *)0x400004 = 0xff;

*(volatile unsigned char *)0x400004 = 0x90;
*(volatile unsigned char *)0x400008 = 0x0;

nand_maf_id = *(volatile unsigned char *)0x400000;
nand_dev_id = *(volatile unsigned char *)0x400000;
...
...

But, when I print the nand_maf_id and nand_dev_id, they are always 0x41 
and 0x42. according the Manufacture document, the maker id is 0xEC and
 the device id is 0x53. I want know what else I must be done.
thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-04  6:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04  6:36 about samsung nandflash maker id! Roy.King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox