public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Configuring serial ports for Redboot and GDB
@ 2004-07-07  2:00 Miguel J. Vega
  2004-07-07 16:27 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Miguel J. Vega @ 2004-07-07  2:00 UTC (permalink / raw)
  To: ecos-discuss; +Cc: gary

Hi Gary and list,

I have built redboot with CYGPKG_REDBOOT_ANY_CONSOLE disabled, debugging
serial port set to channel 0 (serial port 1 on board), diagnostic serial
port set to channel 1 (serial port 2 on board). I disabled
CYGPKG_REDBOOT_ANY_CONSOLE to simplify things and spare myself some
confusion.

When I start up, redboot's output (redboot start-up banner, commands,
etc.) comes from the debug port, which I assume is correct. I also use
this port to communicate with the GDB-console (load, continue, inserting
breakpoints, etc.). The only thing that I was not expecting was for the
printf() functions (when I am running programs from GDB) to output through
the diagnostic port. This output appears on a hyperterminal window that
I have open on another PC, since I only have one com port available on
each PC.

I would like for the printf() output to go to the GDB-console,
but the GDB-console currently communicates to the board via the debugging
port. Any ideas on how I can make it happen?

By the way I am building eCos programs with a default eCos build and the
option "work with a ROM monitor" is checked.


Thanks,

Miguel J. Vega
FEGI C&DH Team
University of Michigan

-- 
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] 3+ messages in thread

end of thread, other threads:[~2004-08-16 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-07  2:00 [ECOS] Configuring serial ports for Redboot and GDB Miguel J. Vega
2004-07-07 16:27 ` Gary Thomas
2004-08-16 16:57   ` [ECOS] redboot help Sam Pham

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