All of lore.kernel.org
 help / color / mirror / Atom feed
From: listmember at orkun.us <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Incorrect flash ids?
Date: Tue, 13 Jan 2004 03:16:16 -0600	[thread overview]
Message-ID: <40036300.21469.1F117239@localhost> (raw)
In-Reply-To: <fc.004c4e48002006423b9aca00782e001b.200688@rea.de>

Anders,

Guess what! Knowing how picky everyone can be I actually did check the 
datasheets for all these. Perhaps you should also do the same before 
accusing me of doing that first.

I still stand behind that these are incorrect as it is in the spirit of the rest 
of  XXX_ID_YYYY macros. Take a look at the file!

I notice these problems because I happen to have 28F128J3A chip on 
Cogent CSB272 board that I am porting u-boot to. I actually did manually 
issue commands using BDI2000 and verified the value for 28F128J3A as 
well.

Also another thing it is obvious that while 28F128J3 has manufacturer 
(0x89) embedded (once correct and once incorrectly) in the value the 
27F127J3A does not have any manufacturer id (or rather manufid is set 
to 0x00 incorrectly). At least these two should have matched.

Best regards,
Tolunay

On 13 Jan 2004 at 9:55, Anders Larsen wrote:

> "listmember at orkun.us" <listmember@orkun.us> schreibt:
> >Taken from include/flash.c...
> >
> >#define INTEL_ID_28F128J3   0x89189818  /*  16M = 8M x 16 x 128 */
> ...
> >#define INTEL_ID_28F320J3A  0x00160016  /*  32M = 128K x  32    */
> >#define INTEL_ID_28F640J3A  0x00170017  /*  64M = 128K x  64    */
> >#define INTEL_ID_28F128J3A  0x00180018  /* 128M = 128K x 128    */
> >
> >If I understand correctly, it seems to me that these definitions are
> >incorrect.
> 
> I think they're not.
> >
> >I think correct definitions should be as follows:
> ...
> >#define INTEL_ID_28F320J3A  0x89168916  /*  32M = 128K x  32    */
> >#define INTEL_ID_28F640J3A  0x89178917  /*  64M = 128K x  64    */
> >#define INTEL_ID_28F128J3A  0x89188918  /* 128M = 128K x 128    */
> 
> The original IDs are correct; please verify with the data-sheets of the
> chips before starting to break things!
> >
> >Please note that INTEL_ID_28F128J3 also changed (0x89189818 =>
> >0x89188918). I think 8 and 9 changed places due to a typo.
> 
> I believe you're right about it being wrong (but I don't think
> 0x89188918 is correct, either. I don't have the data-sheet of that chip
> here, however, so I can't tell what it really should be).
> 
> The reason nobody noticed 'till now is that this particular ID is never
> read from the chip - the boards that use this flash chip (cradle,
> csb226, ep7312 and innokom, never tests for the actual chip but uses a
> hard-coded ID instead).
> >
> Cheers
>  Anders

  reply	other threads:[~2004-01-13  9:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-13  0:24 [U-Boot-Users] Incorrect flash ids? listmember at orkun.us
2004-01-13  8:55 ` Anders Larsen
2004-01-13  9:16   ` listmember at orkun.us [this message]
2004-01-13 11:13     ` Anders Larsen
2004-01-13 18:47       ` listmember at orkun.us
2004-01-13 18:54         ` listmember at orkun.us
2004-01-13 18:59 Rune Torgersen

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=40036300.21469.1F117239@localhost \
    --to=listmember@orkun.us \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.