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]
Other format: [Raw text]

Re: How to inactivate debug/console port?


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


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