From: imato <coo...@gm...> - 2011-05-21 07:04:15
|
Hi everyone, Here is my story. I am using Overo fire board to communicate with external device #1 through serial port 1 (/dev/ttyS0) on chestnut43. Baud rate is 119200. It works fine. Now, I need to communicate another device #2. I used second serial port (/dev/ttyS2) and Baud rate has to be 9600. I connected Pin22 (GPIO166_IR_TXD3) on chestnut43 to WindowsXP serial port. Therefore, i can monitor the serial signal from gumstix. After I powered up Overo, the Hyperterminal shows the gumstix booting message: ----------------------------------------------------------- Login timed out after 60 seconds. .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution overo ttyS2 Angstrom 2010.7-test-20101005 overo ttyS2 overo login: root | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution overo ttyS2 Angstrom 2010.7-test-20101005 overo ttyS2 ... ,... -------------------------------------------------------------------- Then, I run my program (written by Qt), the hyperterminal shows as follow: -------------------------------------------------------------------------- QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 QIODevice::read: Called with maxSize < 0 ... ... ------------------------------------------------------------------------- in the meantime, the string which sent from Qt program also shows in the screen. I don't understand why the ttyS2 shows all gumstix information. And how can I disable this, because I only want ttyS2 send the information from my program. Thanks in advance. I am looking forward your help. imato -- View this message in context: http://old.nabble.com/Gumstix-Overo-serial-port-Qt-program-problem-tp31661252p31661252.html Sent from the Gumstix mailing list archive at Nabble.com. |