检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]杭州电子科技大学自动化学院,浙江杭州310018
出 处:《计算机应用与软件》2011年第3期57-60,共4页Computer Applications and Software
基 金:国家自然科学基金(60775016);浙江省重大科技专项(2007C13062)
摘 要:串口通信广泛应用于各种控制环境,在视频监控领域中通过Linux串口通信实现ARM与DSP双处理器之间的信息数据交互是关注的热点之一。针对海康威视的IP视频模块(IPMOD),提出了Linux下双处理器系统通信的实现技术:(1)采用I/O重定向的文件共享技术,使原IP视频模块开发板硬件仅有的一个控制台串行口成为普通串行通信口,实现了IP模块和TMS320DM642之间的双向串行通信;(2)采用异步非阻塞I/O的通信模式,提高I/O的读写和CPU的执行效率。Serial communication is widely used in a variety of control environments.In video surveillance application the information and data interaction between two processors of ARM and DSP through Linux serial communication is one of the hot research interests.Based on IP video module(IPMOD) from Hikvision,this paper presents the implementation of a communication approach between two processors in Linux system:(1) By using I/O redirected file-sharing technique the only RS232 console port which the development board hardware of the module has is modified into a normal serial port and is used to realise bidirectional communication between the IPMOD and the TMS320DM642;(2) By using asynchronous non-blocking mode of I/O access the efficiency of I/O read/write and CPU executions is improved.
关 键 词:Linux串口通信 文件共享 I/O重定向 异步非阻塞I/O
分 类 号:TP393.08[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.13