首页 | 本学科首页   官方微博 | 高级检索  
     

嵌入式系统下的64位Flash驱动程序设计
引用本文:蔡卫平,张怡典.嵌入式系统下的64位Flash驱动程序设计[J].电子工程师,2005,31(11):54-56.
作者姓名:蔡卫平  张怡典
作者单位:1. 九江职业技术学院电子工程系,江西省,九江市,332007
2. 九江职业技术学院电气工程系,江苏省,九江市,332007
摘    要:电子设备中经常使用Flash存储器存储数据,这必须配备相应的驱动程序.常用的Flash存储器芯片都有现成的驱动程序,但这些驱动程序都是针对单片Flash存储器的,而在实际系统中为满足存储空间的需求,通常将多片Flash存储器拼起来,为方便上层程序读写数据,驱动程序中必须考虑地址对齐问题.基于VxWorks操作系统,采用MPC8240 CPU,提出了4×16位Flash存储器驱动程序设计方法,讨论了各种情况下的地址对齐问题,给出了程序流程和部分源代码,并为上层程序提供了两个接口函数.

关 键 词:Flash存储器  驱动程序  嵌入式系统
收稿时间:2005-05-09
修稿时间:2005-06-30

Design of a 64-bit Flash Memory Drive in an Embedded System
Cai Weiping,Zhang Yidian.Design of a 64-bit Flash Memory Drive in an Embedded System[J].Electronic Engineer,2005,31(11):54-56.
Authors:Cai Weiping  Zhang Yidian
Abstract:Flash memory can store codes and data of electronic device.A drive to manipulate flash memory is needed.A flash memory drive can be down loaded from Internet,but it can be used only in a single chip.In many cases,there are multi-chips in an electronic device,when data are being written into the flash memory,the destination address must be aligned on a proper byte boundary.Based on VxWorks operation system and MPC8240 Integrated Processor,this paper introduces the development of 64-bit flash memory drive.The problem of address offset is discussed in this paper.It presents a program flowchart and some source codes.It also provides two interface routines.
Keywords:VxWorks
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号