期刊文献+

基于DSP的中断冲突避免机制的研究与实现

Research and implementation of interrupt conflict avoidance mechanism based on DSP
下载PDF
导出
摘要 针对基于DSP芯片TMS320C6701的嵌入式软件系统设计过程中常见的中断冲突问题,提出相应的解决方法和简单有效的避免机制。通过将周期性中断改为主循环查询模式、将DSP系统计时由定时器中断改为FPGA同步计时等方式,使系统中多个中断设计简化为一个中断,避免中断间的冲突。针对中断和主程序间的访问冲突,通过在主程序中关中断等方式,避免共享资源访问冲突。针对DSP系统和外部总线的访问冲突,通过约定接口的通信协议,避免时序冲突。通过静态分析和动态长周期测试验证,方法有效避免了中断冲突,实现简单;针对不同冲突机制,措施灵活。设计已应用于星载相关设备,也可推广至其他嵌入式软件系统使用。 To solve the interrupt conflict problems in the program based on the TMS320C6701 DSP embedded software system,the solution and valid avoidance mechanism are proposed.To avoid the conflict between the interrupts,there are some methods by which the system can be configured with just one interrupt instead of multiple interrupts,such as using polling mode replaced the periodic interrupt,the system time counting by FPGA instead of DSP timer counting interrupt.The interrupt conflict between the interrupt service routine and the main program could be avoided by disabling the interrupt in the main program.By ensuring reliable interface communication protocol logic to avoid the access conflict between the DSP system and the 1553B Bus.It is verified the validity of the interrupt conflict avoidance mechanism by static analysis and dynamic long-periodic test.The design has provided the ultimate flexibility and simplification for a variety of conflicts in the space devices,which could also be applied in other areas.
作者 刘蓓 郑林 蒙瑰 徐暠 郗洪柱 LIU Bei;ZHENG Lin;MENG Gui;XU Hao;XI Hongzhu(Aerospace Long March Lauch Vehicle Technology Co.Ltd.,Beijing 100076,China)
出处 《遥测遥控》 2020年第2期49-54,共6页 Journal of Telemetry,Tracking and Command
基金 载人航天预研(20184112043) 民用航天预研(B0104) 中国科协青年人才托举工程(2018QNRC001)。
关键词 DSP FPGA 1553B总线 中断冲突 DSP FPGA 1553B Bus Interrupt conflict
  • 相关文献

参考文献5

二级参考文献35

  • 1郑存红,赵瑞峰.DSP6701在数字图像处理中的应用[J].光学与光电技术,2004,2(5):54-57. 被引量:1
  • 2吴萍,陈意云,张健.多线程程序数据竞争的静态检测[J].计算机研究与发展,2006,43(2):329-335. 被引量:21
  • 3陶锐,周学军.数字信号处理器(DSP)自举加载技术的应用[J].电子测量技术,2006,29(3):67-69. 被引量:12
  • 4杨朝红,宫云战,肖庆,毕学军.基于模型的软件测试[J].北京化工大学学报(自然科学版),2007,34(A01):85-88. 被引量:10
  • 5Dennis Brylow,Jens Palsberg.Deadline analysis of interruptdriven software[J].IEEE Transactions on software engineering,2004,30(10):634-655.
  • 6Cooprider N.Data-flow analysis for interrupt-driven microcontroller software[D].Doctor of Philosophy,the University of Utah,2008.
  • 7Engler D,Ashcraft K.RaceX:effective,static detection of race conditions and deadlocks[C].Scott M.Peterson L.Proceedings of the 19th ACM Symposium on Operating System Principles.Bolton Landing:ACM press,2003:237-252.
  • 8Randy Allen,Ken Kendedy.现代体系结构的优化编译器[M].北京:机械工业出版杜,2004.
  • 9董丽.航天型号并发软件测试技术研究[D].北京:中国航天第二研究院硕士学位论文,2005.
  • 10任丽香,马淑芬.TMS320C6000系统DSPs原理与应用[M].北京:电子工业出版社,2001.

共引文献24

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部