This is the mail archive of the ecos-discuss@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: How to build a executed-in-flash application?


On Thu, Sep 07, 2006 at 09:35:40AM +0000, wang cui wrote:
> Thank you Andrew. I have create and run it successfully. 
> 
> There are still little problem: 
> Since the applications has been wrote into flash, how to use "fis create" 
> command to add it into FIS? I tried "fis create -n twothreads", but doesn't 
> work. It report "*** invalid 'fis' command: required parameter missing".
> 
> However, I can use "fis create twothreads" to directly add the application 
> after "load".

You probably need to pass all the parameters. Eg the example in the
documentation at 
http://ecos.sourceware.org/docs-latest/redboot/fis-create-command.html

is

fis create RedBoot -f 0xa0000000 -b 0x8c400000 -l 0x20000

ie load it into flash at address 0xa0000000 from RAM address
0x8c400000 with 0x20000 bytes of image data.

    Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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