public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: How to inactivate debug/console port?
       [not found] <7535214293BFB44BAA91FC85E643442401BC09@kallisto.VisionSystems.local>
@ 2005-05-11 13:55 ` Jonathan Larmour
  0 siblings, 0 replies; only message in thread
From: Jonathan Larmour @ 2005-05-11 13:55 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: eCos discussion

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-11 12:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <7535214293BFB44BAA91FC85E643442401BC09@kallisto.VisionSystems.local>
2005-05-11 13:55 ` [ECOS] Re: How to inactivate debug/console port? Jonathan Larmour

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