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: Cant get test-cases to return to redboot


On Mon, 2002-10-14 at 23:35, Tim Drury wrote:
> I'm having trouble getting my test-cases to return to the redboot prompt
> after finishing.  I commented out the 'for(;;);' loop in cyg_test_exit().
> I see the 'EXIT:...' line print, then a line I print at the end of
> cyg_test_exit(), then it hangs.  Ctrl-C does nothing.  Am I missing
> something to get the test case to return to the redboot prompt?

This was never expected to work like this.  RedBoot "launches"
programs, not "executes" or "calls" them.  The idea is that
we expect the programs which are being run to be embedded
solutions (of one sort or another), not short-lived programs
with a return to the "monitor".

If you'd like to just get back to RedBoot, try replacing the
infinite loop in cyg_test_exit with a call to HAL_PLATFORM_RESET()

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


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