This is the mail archive of the ecos-discuss@sources.redhat.com 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: [help] - How to integrade my apps to Flash/ROM?


On Wed, 2002-03-20 at 04:54, c.h.yang@conexant.com wrote:
> Hi,
> 
> I have a question need your kindly help!
> I am using motorola MBX target board.
> I can successfully build my app and download to target by gdb, and it runs 
> OK.
> My question is, how can I integrade my app to Flash/ROM on target board so 
> the app will execute once the power is on?

The easiest approach, if there's enough space in flash, is to write the
app to flash (using Redboot 'fi cr' command) and start it using a
RedBoot script.

If there's not enough space in flash for both RedBoot and app, you'll
need to build the app for ROM startup and program it to the flash.

Jesper


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


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