期刊文献+

基于QT/E的串口通信故障及其解决方案 被引量:4

Serial Communication Failures and Their Solutions Based on QT/E
在线阅读 下载PDF
导出
摘要 为实现基于嵌入式Linux系统的PC/104与上位机或其它设备之间的串口通信,文中以PC/104为硬件基础,利用Linux虚拟机,搭建了嵌入式Linux系统开发平台;分别使用串口终端设备文件和端口寄存器读写的方式实现了串口通信,解决了在基于QT/E的图形化多线程串口应用程序中,数据传输时易出现段错误的问题,并在QT/E图形化多线程程序中实现了诊断仪与监测中心安全、可靠的通信。得出结论,在QT/E的图形化多线程程序中操作串口时,应该避免使用终端文件方式操作串口,可选用文中串口寄存器读写的方法。 In order to realize serial data communication between PC/104 and other devices, embedded Linux development platform was build up by using Linux virtual machine as software and PC/104 model as hardware. Serial data communication was achieved by the way of both serial terminal device file and segmentation fault, which led to system crash during QT/E graphical multi-thread program communication with the host computer,was solved. Secure and reliable QT/E graphical multi-thread serial communication application was designed based on the platform. At last, it came to the conclusion that, in order to achieve secure and reliable data transmission, when using serial data communication in QT/E graphical multi-thread program,it is better to use the way port register access other than serial terminal device file.
出处 《计算机技术与发展》 2012年第6期254-257,共4页 Computer Technology and Development
基金 武汉理工大学自主创新研究基金(2011-IV-020)
关键词 嵌入式LINUX QT/E PC/104 串口通信 embedded Linux QT/E PC/104 serial communication
  • 相关文献

参考文献11

二级参考文献25

  • 1许德新,谈振藩,胡文彬,曾薄文.嵌入式Linux在PC104平台上的构建与实现[J].应用科技,2006,33(10):35-37. 被引量:9
  • 2北京飞漫软件.MiniGUI用户手册V1.3[EB/OL].2003.http://www.minigui.com.
  • 3北京飞漫软件.MiniGUI编程手册V1.3[EB/OL].2003.http://www.minigui.com.
  • 4深圳市英贝德科技有限公司.EBD9261硬件手册[EB/OL].2006.http://www.embedall.com.
  • 5王文启,韩秀玲,孙波.基于MiniGUI的多进程图形用户界面的研究[J].微计算机信息,2007,23(03Z):78-80. 被引量:7
  • 6毛德操 胡希明.Linux内核源代码情景分析[M].杭州:浙江大学出版社,2001..
  • 7王士元.C语言高级实用程序设计[M].北京:清华大学出版社,1997.
  • 8吕文强.C语言的DOS系统程序设计[M].北京:清华大学出版社,1995.
  • 9钟晓捷,黄梅妹.汇编语言程序设计[M].北京:电子工业出版社,2000.
  • 10博嘉科技.Linux内核分析与实例应用[M].北京:国防工业出版社.2003.

共引文献43

同被引文献30

引证文献4

二级引证文献20

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部