[ECOS] Building eCos hello world

David Ho davidkwho@gmail.com
Fri Jul 28 13:33:00 GMT 2006


Okay, I finally figured it out.  I wasn't aware of what virtual
vectors are used for.  I guess ecos applications makes use of services
provided by redboot.

I keep convincing myself that an ecos application can be run
standalone for some reason.  Haha,  I was indeed chasing a wild goose.

Thanks, David

On 7/28/06, David Ho <davidkwho@gmail.com> wrote:
> I built all the examples in, examples.  I believe everyone is choking
> at the same spot.
>
> gdb tracing leads me to this.  Any idea if I am chasing the right goose?
>
> Thanks, David
>
> Breakpoint 1, hal_if_diag_write_char (c=83 'S') at hal_if.h:590
> 590     __data_VV(CYGNUM_CALL_IF_CONSOLE_PROCS, __call_if_console_procs_t)
> Current language:  auto; currently c
> (gdb) stepi
> 0x0000d4b4      590     __data_VV(CYGNUM_CALL_IF_CONSOLE_PROCS,
> __call_if_console_procs_t)
> (gdb)
> 876         if (__chan)
> (gdb)
> 606     __data_VV(CYGNUM_CALL_IF_DEBUG_PROCS, __call_if_debug_procs_t)
> (gdb)
> 873     {
> (gdb)
> 0x0000d4c4      873     {
> (gdb)
> 305     __call_voidCOMM1(IF_PUTC, void, __comm_if_putc_t, cyg_uint8)
> (gdb)
> 0x0000d4d0      305     __call_voidCOMM1(IF_PUTC, void,
> __comm_if_putc_t, cyg_uint8)
> (gdb)
> 0x0000000c in ?? ()
> (gdb)
> 0x0000c1a4 in abort_prefetch ()
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list