public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: 20061118203849.GC31982@lunn.ch
Cc: Andrew Lunn <andrew@lunn.ch>, ecos-devel@ecos.sourceware.org
Subject: Re: Flashdriver for TC1796
Date: Tue, 21 Nov 2006 13:19:00 -0000	[thread overview]
Message-ID: <20061121131940.GG30460@lunn.ch> (raw)
In-Reply-To: <200611211203.51912.Rudi.Pfister@informatik.stud.uni-erlangen.de>

On Tue, Nov 21, 2006 at 12:03:51PM +0100, Rudi Pfister wrote:
> Hello,
> 
> I don't want to use the Flash Image System ...
> 
> I want to write programcode to the flash memory of the TC1796.
> It should be possible to place the code anywhere in the flash,
> e.g. to the program counter start address so the board will start
> my application after a reset.

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.

> > The eCos design philosophy would be to use CDL.
> 
> Do you mean I should use an option to configure the size of the
> buffer and only use the blocks smaller or equal to the buffer
> size ?

Yes, and also an option to specify where in memory the block should be
placed, so you can put it into the external RAM if you want to.

        Andrew

P.S.

You mail server is broken somehow. The Reply-to: field is
Reply-To: 20061118203849.GC31982@lunn.ch
which is not going to work.



  reply	other threads:[~2006-11-21 13:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 11:04 Rudi Pfister
2006-11-21 13:19 ` Andrew Lunn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-22 10:51 Rudi Pfister
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=20061121131940.GG30460@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=20061118203849.GC31982@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).