This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Serial port used by both RedBoot and a program


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]