摘要
为了解决设备在操作与维护过程中出现的难题,本文提出了一种利用图形化界面的方式,在Linux系统下利用TCP协议进行网络通信的方法,使用Linux内核地址映射机制,从而可以在上位机图形化界面上对下位机硬件设备内部任意寄存器进行读写操作,即可以快速高效地获取到下位机硬件内部任意寄存器的数据或者向寄存器发送数据,为设备的调试与维护提供了一种有效解决方案。
In order to solve the problems in the operation and maintenance of the equipment,a method of using the graphical interface through the TCP protocol for network communication under the Linux system is proposed,using the Linux kernel address mapping mechanism.Thus any register in the hardware of the lower computer on the graphical interface of the upper computer can be read and written,and you can obtain the data of any register in the hardware or send data to the register quickly and efficiently,which provides an effective solution for debugging and maintenance of the device.
作者
朱坤
白鹏飞
汪茂春
李慧
周国富
Zhu Kun;Bai Pengfei;Wang Maochun;Li Hui;Zhou Guofu(Guangdong Provincial Key Laboratory of Optical Information Materials and Technology&Institute of Electronic Paper Displays,South China Academy of Advanced Optoelectronics,South China Normal University,Guangzhou 510006,China;Shenzhen Guohua Optoelectronics Tech.Co.,Ltd.;Academy of Shenzhen Guohua Optoelectronics)
出处
《单片机与嵌入式系统应用》
2020年第5期3-6,10,共5页
Microcontrollers & Embedded Systems
基金
广州市珠江科技新星项目(No.201710010028)
国家自然科学基金项目(No.61505266)
广东省光信息材料与技术重点实验室(No.2017B030301007)
广州市科技计划项目(No.2019050001)。
关键词
LINUX
图形化
TCP协议
寄存器读写
Linux
graphical interface
TCP protocol
register reading and writing