This is the mail archive of the 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]

Cann't run the examples ,run problem

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
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" <>
To: "mailing list" <>
Cc: <>
Sent: 2002-02-23 11:32:36
Subject: [ECOS] Re: >:[ECOS] Re: >:Re: [ECOS] Cann't run the examples ,load and run 

> 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)?
>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:
>and search the list archive:

welcome to enjoy 263 Freemail
Tel:010-64262631 Fax:010-64240295 (c)1998-2001版权所有

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