This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Serial port used by both RedBoot and a program
- To: 'Jesper Skov' <jskov at redhat dot com>
- Subject: RE: [ECOS] Serial port used by both RedBoot and a program
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Tue, 21 Nov 2000 12:26:15 -0800
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
> -----Original Message-----
> From: Jesper Skov [mailto:jskov@redhat.com]
> Subject: RE: [ECOS] Serial port used by both RedBoot and a program
>
>
> Fabrice> How can i deactivate a channel ?
>
> By not using it. Or if that's not an option, you could register a
> dummy channel and switch to that after application startup. There's no
> such channel in the current code, but it may be worth adding it in the
> generic code.
I think what i really want is that RedBoot use the same diag channel than
the app, that is to gdb. But now RedBoot is configured to send his output on
all available channels.
It seems that the variable console_selected could be of some interet in this
matter (when it s not null, it doesn't send the output on all channels) but
i'm not sure how.
net_io_assume_console looks interresting too.
Would that be possible that, when gdb connects then RedBoot uses only the
gdb channel to send its output ?
Thanks
--
Fabrice Gautier
fabrice_gautier@sdesigns.com