Re: PC104 Serial Port Programming



On 8 Nov 2005 08:10:53 -0800, "starman" <sdoan003@xxxxxxx> wrote:
>I am working with a SBC1390 and I am attempting to write a program
>which will read and write data out of COM1, COM2, COM3, and COM4. I
>have COM3 and COM4 working as they should however I cannot get COM1 and
>COM2 to work for the life of me. I am writing the program in C and
>like I have said the code works just fine on my PC and for COM3 and
>COM4. I will say that COM1 and COM2 are independant of COM3 and COM4.
>Is there anyone out there who might be able to shed some light on this
>issue. Thanks

What operating system are you using on the PC104 platform and is this
a different operating system than the one used on your PC and when you
tried to connect COM2 to my PC and transmit some characters, did you
use a null modem cable. Also, have you used known good software to
rule out the hardware as the problem.

#Example of QNX Neutrino serial port setup
/sbin/devc-ser8250 -u1 3f8,4 -u2 2f8,3 -u3 280,5 -u4 288,5

.



Relevant Pages