This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: [help] - How to integrade my apps to Flash/ROM?
- From: Jesper Skov <jskov at redhat dot com>
- To: c dot h dot yang at conexant dot com
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 25 Mar 2002 08:48:58 +0100
- Subject: Re: [ECOS] [help] - How to integrade my apps to Flash/ROM?
- References: <OFE09F4710.4432F736-ON48256B82.001501CD@conexant.com>
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