From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28821 invoked by alias); 29 Jun 2006 16:00:36 -0000 Received: (qmail 28812 invoked by uid 22791); 29 Jun 2006 16:00:35 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-27.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 29 Jun 2006 16:00:32 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 999) id 87DD419500A3; Thu, 29 Jun 2006 10:00:30 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by hermes.chez-thomas.org (Postfix) with ESMTP id 6F8E1195000F; Thu, 29 Jun 2006 10:00:27 -0600 (MDT) Message-ID: <44A3F91A.7010404@mlbassoc.com> Date: Thu, 29 Jun 2006 16:00:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Igor Ivanov CC: "ecos-discuss@sourcewar" References: <009c01c69b90$faccf5d0$5404a8c0@mesp.ru> In-Reply-To: <009c01c69b90$faccf5d0$5404a8c0@mesp.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] At input of a symbol $ restart redboot X-SW-Source: 2006-06/txt/msg00280.txt.bz2 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