This is the mail archive of the
mailing list for the eCos project.
Re: Serial Port Configuration
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Ali Rodgo <alirodgo at web dot de>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 12 Feb 2004 14:26:03 +0000
- Subject: Re: [ECOS] Serial Port Configuration
- References: <200402121028.i1CASGQ08463@mailgate5.cinetic.de>
Ali Rodgo wrote:
Thank you very much, i have made the following configuration:
and the code you can see in the file serial.c. When compiling i receive
two errors in the open function:undefined reference to "open".
open() should come from the FILEIO package which CYGPKG_IO_SERIAL_TERMIOS
requires. Are you sure your configuration is consistent?
I f i want to make a printf should now open the device(SERIAL A)
"/dev/termios0" and call the write function or call easy the printf
function as before(/dev/ttydiag)
Assuming you aren't running GDB on the same port, it's probably best to use
/dev/termios0, or /dev/tty0 should work too.
You can't use /dev/ttydiag on the same port as you're running the "full"
serial driver on.
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
Visit us at Embedded World 2004, Nürnberg, Germany, 17-19 Feb, Stand 12-449
--["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