Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 149075

Forum Post: About using qt serialport on kernel from sdk

$
0
0

Hi :

                I am using the latest sdk named “AM335xSDK__07_00_00_00” and now I can build my own qt application on my target board. But I need to use serialport for need, I tried to implement the function of serial port by Qt, it is worked. Unfortunately, though my program can read data from my pc through serialport(micro USB interface), it would failed if I kept to send data to my target board. I found a thing is weird. I tried two situation listed below:

(1)   If my program open comport and receive data on target board from my PC, it only could receive data for 10s, and then my program wouldn’t receive any data, but my pc still sent data to the target board.(My program will detect error about serialport while it’s running. The error message always exist after the first data come and until 10s later.)

(2)   If my program opened comport and my pc didn’t send any data to the target board. My program would never receive the error.

 

Do u have any suggestions for me?? I didn’t find any useful information about it.

 

BTW., I confirm my program does not have any problem, because it’s come from QT official website.

 

 

Thanks & Best Wishes.


Viewing all articles
Browse latest Browse all 149075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>