* [ECOS] At input of a symbol $ restart redboot
@ 2006-06-29 15:28 Igor Ivanov
2006-06-29 16:00 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Igor Ivanov @ 2006-06-29 15:28 UTC (permalink / raw)
To: ecos-discuss@sourcewar
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?
Igor
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] At input of a symbol $ restart redboot
2006-06-29 15:28 [ECOS] At input of a symbol $ restart redboot Igor Ivanov
@ 2006-06-29 16:00 ` Gary Thomas
2006-06-30 5:47 ` [ECOS] How to start tests Igor Ivanov
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2006-06-29 16:00 UTC (permalink / raw)
To: Igor Ivanov; +Cc: ecos-discuss@sourcewar
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ECOS] How to start tests
2006-06-29 16:00 ` Gary Thomas
@ 2006-06-30 5:47 ` Igor Ivanov
0 siblings, 0 replies; 3+ messages in thread
From: Igor Ivanov @ 2006-06-30 5:47 UTC (permalink / raw)
To: ecos-discuss@sourcewar
Hello
When run the test, I receive the message:
Run started
(gdb) set height 0
(gdb) set debug remote 0
(gdb) set remotebaud 38400
(gdb) target remote /dev/com3
Remote debugging using /dev/com3
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Data in the channel :
->:30.06.2006 8:48:43.48364
2B 24 48 63 2D 31 23 30 39 +$Hc-1#09
<-:30.06.2006 8:48:43.49964 (+0.0157 seconds)
2B +
->:30.06.2006 8:48:46.02464 (+3.0221 seconds)
2D 2D 2D 2B 24 71 43 23 62 34 ---+$qC#b4
<-:30.06.2006 8:48:54.56464 (+1.4796 seconds)
45 74 68 65 72 6E 65 74 20 65 74 68 30 3A 20 4D Ethernet eth0: M
41 43 20 61 64 64 72 65 73 73 20 30 38 3A 38 38 AC address 08:88
3A 31 32 3A 33 34 3A 35 36 3A 37 38 0D 0A 49 50 :12:34:56:78..IP
3A 20 31 39 32 2E 31 36 38 2E 31 30 2E 31 39 38 : 192.168.10.198
2F 32 35 35 2E 32 35 35 2E 32 35 35 2E 30 2C 20 /255.255.255.0,
47 61 74 65 77 61 79 3A 20 30 2E 30 2E 30 2E 30 Gateway: 0.0.0.0
0D 0A 44 65 66 61 75 6C 74 20 73 65 72 76 65 72 ..Default server
3A 20 30 2E 30 2E 30 2E 30 0D 0A 0D 0A 52 65 64 : 0.0.0.0....Red
42 6F 6F 74 28 74 6D 29 20 62 6F 6F 74 73 74 72 Boot(tm) bootstr
61 70 20 61 6E 64 20 64 65 62 75 67 20 65 6E 76 ap and debug env
69 72 6F 6E 6D 65 6E 74 20 5B 52 4F 4D 5D 0D 0A ironment [ROM]..
4E 6F 6E 2D 63 65 72 74 69 66 69 65 64 20 72 65 Non-certified re
6C 65 61 73 65 2C 20 76 65 72 73 69 6F 6E 20 31 lease, version 1
2E 31 20 2D 20 62 75 69 6C 74 20 30 38 3A 33 32 .1 - built 08:32
3A 31 35 2C 20 4A 75 6E 20 33 30 20 32 30 30 :15, Jun 30 200
...
At input in the hyperterminal a symbol " + " - restart redboot
At input in the hyperterminal of symbols "---+ " - restart redboot
What can it mean?
Igor
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-30 5:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-29 15:28 [ECOS] At input of a symbol $ restart redboot Igor Ivanov
2006-06-29 16:00 ` Gary Thomas
2006-06-30 5:47 ` [ECOS] How to start tests Igor Ivanov
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).