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


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


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