2009-01-02 05:17:14 simple serial programme
Anthony Smith (UNITED KINGDOM)
Message: 67287
Hi
I am a nubie to gnu C++, and uclinux so the learning curve is steep!
what i am trying to do is a simple serial port test, receive a character on uart 0 and tx on uart 1 and vice versa.
what ports do i need to open (i see from some posts this is now TTYBF0 and TTYBF1 is that correct?) what methods can i use on the file open?
any help greatfully received
TIA anthony
QuoteReplyEditDelete
2009-01-02 05:42:32 Re: simple serial programme
Mike Frysinger (UNITED STATES)
Message: 67291
please review:
http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:serial_programming
QuoteReplyEditDelete
2009-01-02 06:21:02 Re: simple serial programme
Anthony Smith (UNITED KINGDOM)
Message: 67297
thanks for the pointers.
this refers to ttySx in a post on serial problems you said to use ttyBFx
is it either or, which is correct?
TIA anthony
QuoteReplyEditDelete
2009-01-02 06:35:17 Re: simple serial programme
Mike Frysinger (UNITED STATES)
Message: 67300
it's a generic document. the default on x86 desktop systems tends to be ttySx. you use whatever serial device is appropriate. the Blackfin UARTs are ttyBFx.