[ECOS] newbie:application not run
Gary Thomas
gary@mlbassoc.com
Mon Sep 15 13:45:00 GMT 2003
Please copy the mailing list - private email support is only available
under contract. Further unsolicited private responses will be ignored.
On Mon, 2003-09-15 at 07:36, Oscar wrote:
> In the ecos configuration tools i set the CYGSEM_HAL_USE_ROM_MONITOR on
> GDB_stub.
What are you using "GDB_stub" for? You've got RedBoot, you don't need
GDB stubs and you don't want/need them in your application.
> I can find the string CYGSEM_HAL_USE_ROM_MONITOR only in
> hal_arm_xscale_mpc50.h file.
Good - that's where it's supposed to be.
> Reedboot prompt:
> ----------------------------------------------------------------------------
> -------
> Platform: MPC 5.0 (XScale)
> Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
>
>
> RAM: 0x00000000-0x04000000, 0x0000fcc8-0x02000000 available
>
> Redboot> load -v -m ymodem
> CCEntry point: 0x00010040, address range: 0x00010000-0x0001ff70
>
> xyzModem - CRC mode, 3(SOH)/1006(STX)/0(CAN) packets, 5 retries
>
> Redboot> go
> $T050f:94c80000;0d:fcffff01;#57$T050f:94c80000;0d:fcffff01;#57$T050f:94c8000
> 0;0
> ----------------------------------------------------------------------------
This says that your application thinks it needs GDB. Check your
configuration again. You should be able to run something like this:
% ecosconfig new mpc50
% ecosconfig tree
% make
% "make application"
This default setup should create applications which work fine, either
loaded directly by RedBoot and putting the output to the RedBoot console
device, or loaded by GDB and using the GDB protocol for output.
Also, I note by the output above, that your program has failed at
PC=0xC894 which is outside of the program, with the stack at 0x01FFFFFC.
How did it get there? What sort of configuration are you running?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list