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]

Re: can not get EDB7212 to warm reset in RAM build


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

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