Skip navigation.
Home
The QNX Community Portal

View topic - Problem - Serial Ports

Problem - Serial Ports

For discussion of realtime and/or embedded programming.

Problem - Serial Ports

Postby diogo_angnalo » Thu Sep 10, 2009 4:16 pm

I'm using QNX 6.4 and an Athena II(Diamond Systems). I'm trying to use the serial ports of one EMM-OPT-XT REV D(Diamond Systems).

To mount the serial ports I use the command devc-8250. ( The serial ports appear on the "dev" as ser1, ser2, ser3...).
The problem is that the use of it is limited, one byte is sent each 50 ms, it's too slow.
The serial ports of the Athena II works normally, but the ports of the Emerald don't.
I use the command stty >dev/ser1 to test the serial ports.

There's any other configuration that has to be set?
Any idea?


Thanks!
diogo_angnalo
Active Member
 
Posts: 38
Joined: Tue Feb 17, 2009 4:57 pm

RE: Problem - Serial Ports

Postby maschoen » Fri Sep 11, 2009 11:45 am

Every 50ms sounds like the interrupt isn't working right.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

RE: Problem - Serial Ports

Postby diogo_angnalo » Fri Sep 11, 2009 3:34 pm

I've tried with all interruptions and still not working. ( is not exactly 50ms )

The byte is sent, but it's very slow...
There's any other thing that has to be done? Any command?


Thanks..!
diogo_angnalo
Active Member
 
Posts: 38
Joined: Tue Feb 17, 2009 4:57 pm

RE: Problem - Serial Ports

Postby diogo_angnalo » Mon Sep 14, 2009 5:01 pm

Does anybody has any idea?
There's any option of the devc-8250 that must be set?


(Sorry for my English...)


Thanks...
diogo_angnalo
Active Member
 
Posts: 38
Joined: Tue Feb 17, 2009 4:57 pm

RE: Problem - Serial Ports

Postby diogo_angnalo » Thu Sep 24, 2009 12:59 pm

up!
diogo_angnalo
Active Member
 
Posts: 38
Joined: Tue Feb 17, 2009 4:57 pm


Return to Realtime and Embedded

Who is online

Users browsing this forum: No registered users and 2 guests

cron