This is the mail archive of the 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: i386 RedBoot serial

Ahhh... enabling CYGPKG_IO_SERIAL_DEVICES as well fixed the problem.


-----Original Message-----
From: Ecer, Jiri [mailto:jecer@Rational.Com]
Sent: February 7, 2002 2:21 PM
To: 'Jonathan Larmour'
Subject: RE: [ECOS] i386 RedBoot serial

I am interested in separating the ecos application's standard I/O from the
communication with gdb. The gdb link should use one serial port and the IO
the other. When I tried to change CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE from
/dev/ttydiag to /dev/tty0 or /dev/tty1, the application receives SIGSEGV in
Cyg_StdioStream::flush_output_unlocked as soon as anything is outputted to
standard output. I made sure that CYGPKG_IO_SERIAL_TTY_TTY0 and

So, I am looking for information on how to do that.

Thank you


-----Original Message-----
From: Jonathan Larmour []
Sent: February 7, 2002 1:24 PM
To: Ecer, Jiri
Subject: Re: [ECOS] i386 RedBoot serial

"Ecer, Jiri" wrote:
> Hi,
> Is there documentation that expalins the relationship between the two
> ports and the diag serial device?

Sounds like a vague question. What do you need to know?
> I am using a PC with two serial ports and trying to use the first serial
> port for redboot and for the gdb <->  eCos link and the second port for
> ecos application's standard input and output. I have tried configurations
> that made sense to me without success. In particular:
> Redboot posts boot message on all available serial port and claims the one
> that receives the first character as the one (as described in the original
> message). This port can then be used by the ecos application to
> with gdb. Can the other port be used as well (in my case for standard


Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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