This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to inactivate debug/console port?
- From: Jonathan Larmour <jifl at jifvik dot org>
- To: Yegor Yefremov <Yegor dot Yefremov at Visionsystems dot de>
- Cc: eCos discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 11 May 2005 13:03:39 +0100
- Subject: [ECOS] Re: How to inactivate debug/console port?
- References: <7535214293BFB44BAA91FC85E643442401BC09@kallisto.VisionSystems.local>
Yegor,
You misaddressed this mail, so I have readdressed it.
Yegor Yefremov wrote:
Hi all,
I'd like to inactivate debug/console port. I use ARM7 board with RAM
start up. I have read ecos reference manual and found only the way to
redirect the output between debug and console port via
CYGDBG_HAL_DIAG_TO_DEBUG_CHAN. How do I completely deactivate
console/debug port so that I don't see any output?
Don't use it?
Otherwise you'll need to do it in code, not CDL, and define an extra
channel where you can set the putc function to do nothing. Just define a
channel like the HALs do, set it to be the current one. You will need to
add some CDL to increase the number of channels. Something just like what
RedBoot does to do this:
define_proc {
puts $::cdl_system_header "#define
CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS 1"
}
Jifl
--
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss