[ECOS] At input of a symbol $ restart redboot

Gary Thomas gary@mlbassoc.com
Thu Jun 29 16:00:00 GMT 2006


Igor Ivanov wrote:
> Hello
> 
> At input of a symbol $ restart redboot.
> 
> I add debugging messages in 
> ecos-trunk-full-060604\ecos\packages\redboot\current\src\main.c(383)
> ============
> #ifdef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
>            if (res == _GETS_GDB) {
>  int dbgchan;
>                hal_virtual_comm_table_t *__chan;
>                int i;
>                // Special case of '$' - need to start GDB protocol
>                gdb_active = true;
>                // Mask interrupts on all channels
> diag_printf("CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS = 
> %d\n",CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS);
> diag_printf("Mask interrupts on all channels:\n");
>                for (i = 0;  i < CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS; 
> i++) {
> //
> diag_printf("- channel %d\n",i);
> //
>                   CYGACC_CALL_IF_SET_CONSOLE_COMM(i);
>                    __chan = CYGACC_CALL_IF_CONSOLE_PROCS();
>                    CYGACC_COMM_IF_CONTROL( *__chan, 
> __COMMCTL_IRQ_DISABLE );
>                }
> ==============
> 
> At input of a symbol $ I receive:
> 
> CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS = 3
> Mask interrupts on all channels:
> - channel 0
> - channel 1
> +Ethernet eth0: MAC address 08:88:12:34:56:78
> IP: 192.168.10.198/255.255.255.0, Gateway: 0.0.0.0
> Default server: 0.0.0.0
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version 1.1 - built 19:10:38, Jun 29 2006
> Platform: Philips LPC2XXX/Olimex LPC-E2294 (ARM7TDMI-S)
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
> RAM: 0x81000000-0x81100000, [0x8100ca60-0x810ed000] available
> FLASH: 0x80000000 - 0x80400000, 64 blocks of 0x00010000 bytes each.
> RedBoot>
> 
> What can it mean?

The '$' character is used to break into GDB - RedBoot is doing the right
thing, it's just silent about it.

If you need to type a '$' to RedBoot, precede it with \, e.g. \$


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
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