public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Paul McAvoy <paulmcav@queda.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] flash memory access
Date: Sat, 1 Mar 2003 17:12:12 -0800	[thread overview]
Message-ID: <000901c2e058$c149ac50$1400a8c0@bodhi> (raw)
In-Reply-To: 20030301231629.8E51FC6E0C@atlas.denx.de

I was using the reference of 256 * 128K sectors from some other demo sorce
code that came with the board.  But after looking at the datasheet for the
device:
http://www.atmel.com/dyn/products/product_card.asp?family_id=624&family_name
=Flash+Memory&part_id=1761

There is no mention of any sectors on the chip, and the only way to
re-program it (apparently) is to re-flash the entire thing.

-p


----- Original Message -----
From: "Wolfgang Denk" <wd@denx.de>
To: "Paul McAvoy" <paulmcav@queda.net>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Saturday, March 01, 2003 3:16 PM
Subject: Re: [U-Boot-Users] flash memory access


> In message <20030301132517.A14084@europa.queda.net> you wrote:
> > Hmm.. after more reading, I have found that in order to program _ANY_ of
the
> > flash on my atmel chip the following is the case:
> >
> >  1) the entire chip has to be erased, setting all bits to 1
> >  2) any bytes can be programmed setting the bits to 0
> ...
> > > I have an Atmel chip, 32Megbyts, 256 * 128K sectors.
>
> This makes no sense. If the flash chip has 256  sectors  (aka  "erase
> units"),  you  can  always  erase  each individual sector without any
> influence on the other 255 sectors.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
> Niklaus Wirth has lamented that, whereas Europeans pronounce his name
> correctly (Ni-klows Virt), Americans invariably mangle it into (Nick-
> les Worth). Which is to say that Europeans  call  him  by  name,  but
> Americans call him by value.
>
>
>

  reply	other threads:[~2003-03-02  1:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-01 19:42 [U-Boot-Users] flash memory access Paul McAvoy
2003-03-01 21:25 ` Paul McAvoy
2003-03-01 23:16   ` Wolfgang Denk
2003-03-02  1:12     ` Paul McAvoy [this message]
2003-03-02  6:49       ` Reinhard Meyer
2003-03-02  9:38       ` Wolfgang Denk
2003-03-02 18:45         ` Paul McAvoy
2003-03-02 19:38           ` Reinhard Meyer
2003-03-02 19:50             ` Paul McAvoy
2003-03-02 20:30               ` Reinhard Meyer

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='000901c2e058$c149ac50$1400a8c0@bodhi' \
    --to=paulmcav@queda.net \
    --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