This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: can not get EDB7212 to warm reset in RAM build
- To: AshCan at aol dot com
- Subject: Re: [ECOS] can not get EDB7212 to warm reset in RAM build
- From: Jesper Skov <jskov at redhat dot com>
- Date: 27 Sep 2000 08:56:01 +0200
- Cc: <ecos-discuss at sourceware dot cygnus dot com>
- References: <de.a60299e.27025c1a@aol.com>
>>>>> "AshCan" == AshCan <AshCan@aol.com> writes:
AshCan> I am trying to make my RAM based system perform a warm reset
AshCan> upon a application specific condition. I trap my condition
AshCan> OK, but when I jump to reset_vector (also tried
AshCan> reset_platform, warm_reset, start).
You can't do this. All initialized data will have to be restored to
it's original value, and that is not done.
However, if you really really need this, you could fiddle the linker
scripts and startup code so you get .data located in one part of
memory and copy it to its proper address during system initialization.
The ROM startup type already does something similar, copying .data to
memory before starting to execute.
Jesper