This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: Flashdriver for TC1796
- From: Andrew Lunn <andrew at lunn dot ch>
- To: 20061118203849 dot GC31982 at lunn dot ch
- Cc: Andrew Lunn <andrew at lunn dot ch>, ecos-devel at ecos dot sourceware dot org
- Date: Tue, 21 Nov 2006 14:19:40 +0100
- Subject: Re: Flashdriver for TC1796
- References: <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.