From: "Roy.King" <ruy@neusoft.com>
To: linux-mtd@lists.infradead.org
Subject: about samsung nandflash maker id!
Date: Thu, 04 Mar 2004 14:36:18 +0800 [thread overview]
Message-ID: <1078382177.905.26.camel@KING> (raw)
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!
reply other threads:[~2004-03-04 6:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1078382177.905.26.camel@KING \
--to=ruy@neusoft.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox