public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Igor Ivanov <aristotelevich@oaoesp.ru>
Cc: "ecos-discuss@sourcewar" <ecos-discuss@sourceware.org>
Subject: Re: [ECOS] At input of a symbol $ restart redboot
Date: Thu, 29 Jun 2006 16:00:00 -0000	[thread overview]
Message-ID: <44A3F91A.7010404@mlbassoc.com> (raw)
In-Reply-To: <009c01c69b90$faccf5d0$5404a8c0@mesp.ru>

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

  reply	other threads:[~2006-06-29 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29 15:28 Igor Ivanov
2006-06-29 16:00 ` Gary Thomas [this message]
2006-06-30  5:47   ` [ECOS] How to start tests Igor Ivanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44A3F91A.7010404@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=aristotelevich@oaoesp.ru \
    --cc=ecos-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).