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]

Re: EB40 Serial port #1 question.


Felix Wong wrote:
> 
> I am going to use EB40's second serial port for my tty display purpose.
> I have tried to use fopen("/dev/ser1","rw") to get a file pointer for my
> tty.  Then I used fprintf to generate output to the serial device.
> However, no display was shown in the terminal monitor.  The baud rate of
> both sides I have set to 38400 N81.

Try using /dev/tty1. 

Jifl
-- 
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]