This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Cann't run the examples ,run problem
- From: abccs at x263 dot net
- To: jlarmour at redhat dot com, ecos-discuss at sources dot redhat dot com
- Date: Thu, 28 Feb 2002 04:29:07 +0800
- Subject: [ECOS] Cann't run the examples ,run problem
hi,
I check the configure,this configuration does not include GDB stubs itself .
I use Edit|Find (eCos configure tools) to find "CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT",it is on the Item:"Include GDB external break support when no stubs". I disabled it,and rebuild library and re-make the examples.But the hello.c cannt run corrent.
When I use "xscale-elf-gdb hello" and step the program,the program is stop on 853 line of file "hal_if.c",CYGACC_CALL_IF_RESET_SET(reset);
I use the default configure for IQ80310,eCos Configure tools 1.3.net.
The default RAM start address is 0x00000000 and length is 0x1000000.
I modify the memory RAM start address to 0xa0000000,length=0x2000000.If I set the length=0x1000000,it say memory access error when download hello program.
What can I do?
----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "mailing list" <ecos-discuss@sources.redhat.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: 2002-02-23 11:32:36
Subject: [ECOS] Re: >:[ECOS] Re: >:Re: [ECOS] Cann't run the examples ,load and run
problem
>abccs@x263.net wrote:
>>
>> Breakpoint 2, hal_hardware_init ()
>> at /ecos-e/jjp/ecos/packages/hal/arm/iq80310/current/src/iq80310_misc.c:91
>> 91 *X3MASK_REG = XINT3_TIMER | XINT3_ETHERNET | XINT3_UART_1 | \
>> (gdb) b cyg_hal_invoke_constructors
>> Breakpoint 3 at 0xa0026b10: file /ecos-e/jjp/ecos/packages/hal/arm/arch/current/
>> src/hal_misc.c, line 192.
>> (gdb) c
>> Continuing.
>
>Does this configuration include GDB stubs itself (i.e.
>CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS ) ? It shouldn't by default, but I'm
>just checking.
>
>Can you try disabling CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT and rebuilding the
>eCos configuration (and relinking your app)?
>
>Jifl
>--
>Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
>Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>
>--
>Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
>and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
欢迎使用263天下邮免费信箱 http://freemail.x263.net
welcome to enjoy 263 Freemail http://freemail.x263.net
_____________________________________________________
263在线_中国人的网上家园
Tel:010-64262631 Fax:010-64240295 (c)1998-2001版权所有
263服务热线 263@263.net.cn