All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [MPC8272ADS/BDI2000]Can not program my u-boot into Flash
Date: Mon, 19 Jan 2009 14:06:23 -0500	[thread overview]
Message-ID: <4974CF2F.10508@ge.com> (raw)
In-Reply-To: <8cad0aa0901191002t5d64b7cfxf94013d9fe072845@mail.gmail.com>

Jean-Michel Hautbois wrote:

[snip]

> The error in programming tells that it couldn't write the second byte
> of the u-boot file. Indeed, I have displayed the memory before and
> after the prog command, and the first byte is correctly written.
> I can't understand where my problem is.
> 
> Thx and Regards,
> JM

Hi JM,

After you erase the sector/chip, is it all 0xFF (especially the second 
location)?  (I expect it is, but it is good to start with the fundamentals.)

If so, I would speculate your flash chip configuration isn't right.  You 
need to know how your hardware is wired:
* How many chips in parallel on the bus?
* Bus width on each chip?
* Bus width into the processor?

Common configurations are things like one 8-bit wide chip running 8 bits 
into the processor, one 16-bit wide chip running 16 bits into the 
processor, two 16-bit wide chips in parallel running 32 bits into the 
processor.

(Some flash chips can be configured to be either 8 or 16 bits wide 
depending on a strapping pin.  For them, you need to figure out how the 
hardware has them configured.)

Good luck,
gvb

  reply	other threads:[~2009-01-19 19:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 13:18 [U-Boot] [MPC8272ADS/BDI2000]Can not program my u-boot into Flash Jean-Michel Hautbois
2009-01-19 13:28 ` Jerry Van Baren
2009-01-19 14:58   ` Jean-Michel Hautbois
2009-01-19 14:59     ` Jean-Michel Hautbois
2009-01-19 18:02       ` Jean-Michel Hautbois
2009-01-19 19:06         ` Jerry Van Baren [this message]
2009-01-19 19:29           ` Jean-Michel Hautbois
2009-01-19 19:55             ` Jerry Van Baren
2009-01-19 20:17               ` Jean-Michel Hautbois
2009-01-19 20:26                 ` Jerry Van Baren
2009-01-19 20:33                   ` Jean-Michel Hautbois
2009-01-19 20:37                     ` Jerry Van Baren
2009-01-19 20:39                   ` Wolfgang Denk
2009-01-20  8:38                     ` Jean-Michel Hautbois

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=4974CF2F.10508@ge.com \
    --to=gerald.vanbaren@ge.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 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.