This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Cant get test-cases to return to redboot
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Tim Drury <tdrury at siliconmotorsports dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 15 Oct 2002 07:02:07 -0600
- Subject: Re: [ECOS] Cant get test-cases to return to redboot
- References: <200210150135.34541.tdrury@siliconmotorsports.com>
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