This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Flashdriver for TC1796


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]