public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ben Warren <bwarren@qstreams.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] minimum bdi config to read flash on 85xx
Date: Thu, 06 Sep 2007 17:20:12 -0400	[thread overview]
Message-ID: <46E06F0C.4080301@qstreams.com> (raw)
In-Reply-To: <50d8dde80709061403t576d0720lf1461bd6ee9e6730@mail.gmail.com>

Hi Luiz,

Luiz Neto wrote:
>
> Hi David,
>
> This is Luiz and I'm working with Robert in this project. Actually, 
> I'm a hardware guy. I read your messages and it seems you're right. 
> However, before introducing these changes on the board, we decided to 
> verify all flash circuitry and we noticed the following:
>
> CE# is OK!
> WE# is OK!
> OE# is OK!
>
> We verified it using a scope and triggering CE# pin. After that, we 
> tried to write to flash through BDI2000 using "mm" command. Again with 
> a scope we checked each address line and apparently everything is fine 
> with the address. We also checked the data being written, and it's ok 
> too. After that, in order to validate the written, we read the same 
> address we had just written. But we got a different value. Therefore 
> we are not writing correctly to flash.
>
> Ok, after all, we fixed our board following your tips. We connected 
> LA[27:30] to A[3:0] and A[4:25] to LBA[26:5]. But we got the same bad 
> result. I mean we read a wrong data.
>
> After, we changed flash access time, decreasing it. And the problem 
> persisted. We changed flash chip and nothing happened.
>
> Actually I'm afraid because I can't see what else we can verify on 
> hardware.
>
> My opinion is we have mistakes on configuration file. I'm not sure if 
> we are configuring all registers correctly.
>
> Do you think it would be helpful if I send you our flash schematic and 
> our configuration file?
>
> Thanks in advance!
> Luiz.
>
I'm not sure if this has been mentioned or not.  You should be able to 
read/write the flash from the BDI-2000, regardless of whether you 
connect the LA or LBA address bits.  The difference comes into play when 
you want to boot from the flash chip.  During the very early boot 
process, only the special LSbits toggle.  On one spin of our board we 
missed this as well, and had to do some funny business with an I2C 
EEPROM to boot the board.  Thankfully it was easy with our CPU (MPC8349) 
because it only involved programming a couple of configuration words and 
no UPM programming like Dave H. has suggested.  It looks like it may not 
be as simple for you. :-(

If you're able to white-wire the LA bits, that's cool because ultimately 
you'll need that to boot the board.  You're right that something else is 
screwy.

Have you tried asking Freescale for help through their website?  I've 
found their tech support in these matters to be responsive and useful.  
You can send me your schematic & config if you want, although I can't 
guarantee to be of much use.

regards,
Ben

  reply	other threads:[~2007-09-06 21:20 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 18:11 [U-Boot-Users] minimum bdi config to read flash on 85xx robert lazarski
2007-09-04 18:26 ` David Hawkins
2007-09-04 19:45   ` Ben Warren
2007-09-04 20:50     ` robert lazarski
2007-09-04 21:12       ` Ben Warren
2007-09-04 21:15       ` David Hawkins
2007-09-05 15:05         ` robert lazarski
2007-09-05 16:35           ` David Hawkins
2007-09-05 19:53             ` robert lazarski
2007-09-05 21:19               ` David Hawkins
2007-09-06 21:03                 ` Luiz Neto
2007-09-06 21:20                   ` Ben Warren [this message]
2007-09-06 22:12                     ` David Hawkins
2007-09-06 22:06                   ` David Hawkins
2007-09-07  1:41                     ` Luiz Neto
2007-09-07  2:00                       ` David Hawkins
     [not found]                         ` <50d8dde80709072035j3c066e81wab5216e78d47f89c@mail.gmail.com>
2007-09-08  3:46                           ` David Hawkins
2007-09-12 17:23                         ` robert lazarski
2007-09-12 18:00                           ` David Hawkins
2007-09-12 18:13                             ` Jerry Van Baren
2007-09-12 18:23                               ` David Hawkins
2007-09-12 18:29                               ` David Hawkins
2007-09-12 18:39                                 ` Jerry Van Baren
2007-09-12 18:44                                   ` David Hawkins
2007-09-12 19:19                                     ` robert lazarski
2007-09-12 19:41                                       ` David Hawkins
2007-09-12 20:06                                         ` Jerry Van Baren
2007-09-12 20:16                                           ` David Hawkins
2007-09-12 20:40                                             ` Jerry Van Baren
2007-09-12 21:39                                               ` David Hawkins
2007-09-14 18:21                                         ` robert lazarski
2007-09-14 18:34                                           ` Jerry Van Baren
2007-09-14 18:43                                           ` Ben Warren
2007-09-14 19:12                                           ` David Hawkins
2007-09-14 20:05                                             ` robert lazarski
2007-09-14 20:14                                               ` Ben Warren
2013-05-27 13:01                                                 ` [U-Boot] " Monica
2013-05-27 13:37                                                   ` Fabio Estevam
2013-05-28  5:35                                                     ` Monica
2007-09-14 20:16                                               ` [U-Boot-Users] " Jerry Van Baren
2007-09-14 20:34                                                 ` Leon Woestenberg
2007-09-14 21:04                                                 ` Scott Mann
2007-09-14 20:31                                               ` David Hawkins
2007-09-06 22:43                   ` Clemens Koller

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=46E06F0C.4080301@qstreams.com \
    --to=bwarren@qstreams.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox