public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Rudi Pfister <Rudi.Pfister@informatik.stud.uni-erlangen.de>
To: andrew@lunn.ch
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: Flashdriver for TC1796
Date: Wed, 22 Nov 2006 10:51:00 -0000	[thread overview]
Message-ID: <200611221151.15497.Rudi.Pfister@informatik.stud.uni-erlangen.de> (raw)

Hello,

> So you want to do something like:
>
> fis write -b 0x00100000 -f 0x0020000 -l 0x1000
>
> ie write the contents of RAM 0x0010000, length 0x1000 to flash address
> 0x00200000. This does not need a buffer.

No, I want to do something like this:

load -r -f 0xa0000000 -m ymodem

I want to load a program directly into the flash memory via
a serial line.
For this operation Redboot uses the flash_load_write()-function,
which saves the block to a buffer in RAM.

Using the "fis write"-command doesn't solve my problem.
On the one hand I have to load the application into RAM
first, but I can't be sure that I have enough RAM for this.
And on the other hand I can only write data to the beginning 
of a block and the whole block will be erased. So even if I want
to write only a part of the block the whole old data in the block
will be deleted.

Thanks

	Rudi

             reply	other threads:[~2006-11-22 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22 10:51 Rudi Pfister [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-21 11:04 Rudi Pfister
2006-11-21 13:19 ` Andrew Lunn
2006-11-18 15:07 Rudi Pfister
2006-11-18 20:39 ` Andrew Lunn

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=200611221151.15497.Rudi.Pfister@informatik.stud.uni-erlangen.de \
    --to=rudi.pfister@informatik.stud.uni-erlangen.de \
    --cc=andrew@lunn.ch \
    --cc=ecos-devel@ecos.sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).