首页 | 官方网站   微博 | 高级检索  
     

基于TMS320DM642的Flash头文件烧写法的DSP二级BootLoader开发
引用本文:张 宇,张勤俭,沈海阔,等.基于TMS320DM642的Flash头文件烧写法的DSP二级BootLoader开发[J].机电工程,2014(3):400-403,408.
作者姓名:张 宇  张勤俭  沈海阔  
作者单位:[1]北京交通大学机械与电子控制工程学院,北京100044 [2]北京宇航系统工程研究所,北京100076
基金项目:国家自然科学基金资助项目(50975031);中央高校基本科研业务费专项资金资助项目(M11JB00420)
摘    要:针对DM642掉电后驻留在内部存储器的数据和程序将全部丢失无法实现DSP系统脱机工作的问题,提出了一种利用DSP的Boot机制从外部Flash存储器自动加载程序的方法。详细介绍了Flash头文件烧写方法原理;针对Am29LV033C Flash芯片设计了Flash头文件法烧写程序,详细说明了两次程序加载方法并给出Flash烧写过程;介绍了如何使用CCS保存数据,以生成头文件;简要介绍了DSP引导过程及二级Bootloader程序开发,设计了有项目针对性的二级Bootloader程序。最后,通过编写简单的测试程序验证Flash烧写方法及二级Bootloader引导程序。研究结果表明,Flash头文件烧写法简单易懂,适合初学者学习,对不同型号Flash芯片操作只需简单修改指令字,可移植性强,易于实现DSP的二级Bootloader开发。

关 键 词:DM  Flash  二级Bootloader  自动加载

DSP second-level Bootloader developing based on Flash header file burning of TMS320DM642
ZHANG YuSchool of Mechanical Electronic and Control Engineering,Beijing Jiaotong University,Beijing,China ZHANG Qin-jianSchool of Mechanical Electronic and Control Engineering,Beijing Jiaotong University,Beijing,China SHEN Hai-kuoSchool of Mechanical Electronic and Control Engineering,Beijing Jiaotong University,Beijing,China LIU WeiBeijing Institute of Aerospace System Engineering,Beijing,China WU Ru-xuan.DSP second-level Bootloader developing based on Flash header file burning of TMS320DM642[J].Mechanical & Electrical Engineering Magazine,2014(3):400-403,408.
Authors:ZHANG YuSchool of Mechanical Electronic and Control Engineering  Beijing Jiaotong University  Beijing  China ZHANG Qin-jianSchool of Mechanical Electronic and Control Engineering  Beijing Jiaotong University  Beijing  China SHEN Hai-kuoSchool of Mechanical Electronic and Control Engineering  Beijing Jiaotong University  Beijing  China LIU WeiBeijing Institute of Aerospace System Engineering  Beijing  China WU Ru-xuan
Affiliation:ZHANG Yu(School of Mechanical Electronic and Control Engineering, Beijing Jiaotong University, Beijing 100044, China) ZHANG Qin-jian(School of Mechanical Electronic and Control Engineering, Beijing Jiaotong University, Beijing 100044, China) SHEN Hai-kuo(School of Mechanical Electronic and Control Engineering, Beijing Jiaotong University, Beijing 100044, China) LIU Wei(Beijing Institute of Aerospace System Engineering, Beijing 100076, China) WU Ru-xuan(Beijing Institute of Aerospace System Engineering, Beijing 100076, China)
Abstract:Aiming at the problems of the data and programs in the memory of DM642 always get lost completely once the power is down so DSP system can't work without a computer,one method to load programs automatically from exterior Flash storage by using Boot mechanism of DSP was presented.The theory of header file program ming by Flash was introduced in detail.A burning method of Flash header file for Am29LV033C Flash chip was achieved.The method of twice loading of programs was explained and the process of Flash programming was presented.The way of using CCS to save data so as to generate header files was described.The guiding process of DSP and developing process of the second-level bootloader is briefly introduced here.A second-level Bootloader program specific to the project was designed.A simple testing program was developed to validate the Flash burning method and second-level Bootloader guiding program in the end.The research results indicate that the programming method for Flash header file is very suitable for the beginners for it is easily understood.The method also has excellent adaptability in that only a small part of instructions needs to be modified to fit the operations of different types of Flash chips,as a result the developing of second-level Bootloader becomes easier.
Keywords:DM642  Flash  second-level Bootloader  auto loading
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号