检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张拓智 孔德岐[1] 郑涛 李雪源 石杰 ZHANG Tuo zhi;KONG De qi;ZHENG Tao;LI Xue yuan;SHI Jie(Xi′an Aeronautics Computing Technique Research Institute,AVIC,Xi′an 710000,China)
机构地区:[1]航空工业西安航空计算技术研究所,陕西西安710000
出 处:《航空计算技术》2022年第3期109-111,129,共4页Aeronautical Computing Technique
基 金:航空科学基金项目资助(2020Z069031001)。
摘 要:针对嵌入式Linux系统下的NVRAM驱动如何设计和实现的问题,根据NVRAM硬件设备的特点在Linux系统下的总线设备驱动模型的基础上设计出通用的NVRAM设备驱动架构模型。并以一款常用的FM25H20芯片为例从设备树修改以及驱动实现两方面介绍了基于Linux SPI总线的NVRAM驱动模型具体设计步骤,重点分析了NVRAM驱动软件内部架构和具体的设计流程,并通过压力测试验证了驱动架构的正确性。经测试证明驱动模型严格遵守软件工程的“低耦合、高内聚”的设计原则,几乎适用于市面上所有SPI接口的NVRAM芯片,并具有良好的可移植性,能够在不修改代码的基础上移植于新的嵌入式硬件平台。Aiming at the problem of how to design and implement NVRAM driver in embedded Linux system,according to the characteristics of NVRAM hardware equipment,this paper designs a general NVRAM device driver architecture model based on the bus device driver model in Linux system.Taking a commonly used FM25H20 chip as an example,this paper introduces the specific design steps of NVRAM driver model based on Linux SPI bus from two aspects:device tree modification and driver implementation,focuses on the internal architecture and specific design process of NVRAM driver software,and verifies the correctness of the driver architecture through stress test.The test shows that the driving model strictly abides by the design principle of"low coupling and high cohesion"of software engineering,is applicable to almost all NVRAM chips with SPI interface on the market,and has good portability.It can be transplanted to the new embedded hardware platform without modifying a line of code.
关 键 词:LINUX FM25H20 NVRAM 驱动软件
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.13