public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew Dyer <amdyer@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Not primarily u-boot related problem with Flash-RAM
Date: Fri, 13 May 2005 14:13:33 -0500	[thread overview]
Message-ID: <c166aa9f05051312133ce39480@mail.gmail.com> (raw)
In-Reply-To: <20050513161424.CD404C1512@atlas.denx.de>

> Are you sure that the flashes ever worked?  One  typical  problem  is
> that  it  seems quite natural to connect the D0 pin of the flash chip
> to the D0 pin of the data bus, etc. - which is wrong, since  for  the
> flash chip D0 is the LSB, but on PowerPC bit 0 is the MSB...
> 
> Can you access (read, erase,  program)  the  flashes  through  a  BDM
> debugger?
> 

I don't know the particular CPU, but along the same lines (learn from
my mistakes!):

1) did you hook the flash up in the correct mode (8 vs. 16 bit) 

2) did you hook CPU addresses to flash addresses correctly?  This will
depend on the flash mode setting and the CPU.  At least one part I've
used (Toshiba TX4925) changes the
connections between internal and external address busses based on the programmed
width of the chip select - i.e for a 32-bit wide select it will
connect the A2 out of the MMU to
the external A0, for a 16-bit wide it connects A1 out of the MMU to
external A0, etc.

3) In s/w when doing the ID cycle are you writing to the correct
address in CPU space to generate the right pattern on the physical
lines hooked to the flash to make it recognize the ID commands?

and as a reminder of things one ought to be doing, these are a good
set of rules:
http://www.debuggingrules.com/debuggingrules.pdf (for more explanation
on these check out the book "Debugging" by Dave Agans - no
affiliation, yada, yada)


-- 
Hardware, n.:
        The parts of a computer system that can be kicked.

  reply	other threads:[~2005-05-13 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 15:48 [U-Boot-Users] Not primarily u-boot related problem with Flash-RAM Peter Asemann
2005-05-13 16:05 ` richard at uclinux.net
2005-05-13 16:14 ` Wolfgang Denk
2005-05-13 19:13   ` Andrew Dyer [this message]
2005-05-17 16:27   ` Peter Asemann
2005-05-17 16:43     ` Wolfgang Denk
2005-05-17 19:58       ` Mark Rakes
2005-05-18 21:51       ` Peter Asemann

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=c166aa9f05051312133ce39480@mail.gmail.com \
    --to=amdyer@gmail.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