摘要
基于解决1394b和PCI的跨速率条件下通信数据易丢失,软硬件交互产生误码的目的。本文采用WDM(波分复用)驱动的串行处理操作来保护硬件;采用内核态线程保证数据传输的确定性;采用DMA(直接内存存取)保证数据的实时性;采用循环队列的模式保证数据传输的可靠性;采用乒乓原理保证硬件和软件交互的准确性等。通过实验验证,该驱动程序实现了软硬件的协调工作、提高了软件对硬件操作的操作安全性、提高了传输数据的可靠性以及实时性等。
Based on the purpose of solve Communication data easily lost and the hardware and software interaction produce error Under the condition of 1394b and PCI cross rate.This paper adopted WDM (wavelength division multiplexing) drive serial processing operations to protect the hardware;and it adopted the kernel thread to ensure the data transmission certainty; then it adopted DMA (Direct Memory Access) to ensure real time of the data;it adopted the model of round-robin queue to ensure the reliability of data transmission;it adopted the principle of ping-pong to ensure the accuracy of the interaction of hardware and software, etc.By experimental verification,With the dirver uesd,software and hardware will work in coordination, the software to the operation of the hardware operation safety, the reliability of data transmission, and the real-time performance of data transmission will be improved, etc.
出处
《电子设计工程》
2015年第2期63-66,共4页
Electronic Design Engineering
关键词
串行处理
DMA
循环队列
乒乓原理
serial processing
DMA
circular queue
the principle of ping-pong