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: Redboot vs GDB application download (ARM E7T)


Hello,

is there any difference between loading an application to RAM and running it there via Redboot as opposed to via GDB?

On the E7T with a ROM Redboot I observe the following:
- loading the app to RAM via GDB and starting it (continue) works fine. Application has not crashed in months.
- loading the same code to RAM via Redboot (load -m xmodem) and starting it (go) will start the application but the systems hangs after a few seconds.


Anyone a clue as to why this could be happening?

Thanks,

AS


From: Gary Thomas <gary@mlbassoc.com>
To: Ali Sina <replay688@hotmail.com>
CC: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] E7T ROMRAM startup anyone? Alternatives?
Date: Wed, 15 Jun 2005 13:48:35 -0600

On Wed, 2005-06-15 at 19:39 +0000, Ali Sina wrote:
> Hello all,
>
> another E7T question -
> has anyone succeeded at implementing a ROMRAM startup for the ARM E7T?
>
> Or what other options are there for having an app. stored in ROM (see my
> previous posts) and have it run from RAM?
>
> Can I somehow use Redboot "mcopy" in an automated way (i.e. upon startup) to
> copy it from ROM to RAM and start it from RAM? (assuming the app was
> compiled to run from RAM, of course)
>
> Any other ideas of how to achieve ROMRAM type of behavior?


ROMRAM startup mode is really only for *the* monitor program, e.g.
RedBoot.  It's purpose is to take a program which has to run from
FLASH/ROM from the start (e.g. the system initialization code) and
allow it to run from RAM after some suitable minimal setup.

RedBoot has FIS (FLASH Image System) which can store images.  These
can be programs or data.  You simply put your RAM program into a
FIS image then load and execute it at boot time.

Sadly, I think the E7T has such little FLASH &/or RAM that these
features are normally left turned off.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-- 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]