M6678 DSP的两种备份启动方案设计

李雷, 王正行, 汪智, 陈俊磊

集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (1) : 11-14.

PDF(1200 KB)
PDF(1200 KB)
集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (1) : 11-14.
专题论述

M6678 DSP的两种备份启动方案设计

  • 李雷, 王正行, 汪智, 陈俊磊
作者信息 +

Two Backup Bootloader Schemes Design of M6678 DSP

  • Li Lei, Wang Zhengxing, Wang Zhi, Chen Junlei
Author information +
文章历史 +

摘要

随着搭载DSP的系统多样化,因DSP启动失败导致无法正常工作已成为一个重要问题。为了提高DSP系统的可靠性和可维护性,结合飞腾M6678 DSP硬件特征,根据DSP的启动原理设计了两种备份启动方案。一种基于SPI NOR FLASH及EMIF NOR FLASH结合的方式,通过外部控制器在线切换DSP启动模式,实现DSP从SPI NOR FLASH或EMIF NOR FLASH的程序启动。另一种基于单片SPI NOR FLASH三次引导加载实现备份启动的方式,将UBOOT程序、应用程序和备份应用程序分别存储在SPI NOR FLASH的三段空间,DSP上电后通过RBL程序加载SPI NOR FLASH首段空间中的UBOOT程序,UBOOT运行后,根据外部信号完成不同FLASH地址的应用程序加载。测试结果表明,两种方案均能实现DSP备份启动的功能,提高了系统的可靠性,对比两种方式,单片SPI NOR FLASH方式具有更好的收益。

Abstract

With the diversification of system based on DSP,it has become an important problem that system can't work normally due to the failure of DSP program online upgrade and boot.In order to improve the reliability and maintainability of DSP system,a backup boot scheme based on SPI+EMIF NOR FLASH and a single SPI FLASH three-stage loading backup bootload scheme are designed according to the bootload principle of DSP based on M6678 DSP.In the two FLASH backup bootload method,the DSP backup FLASH program can be bootload by switching the DSP BOOTMODE online,then reset DSP.Single-chip SPI FLASH three times loading backup bootload method by placing the UBOOT programs,application programs and backup application programs in the three segments of the SPI FLASH,DSP loads the UBOOT program in the first address of the FLASH through the RBL program,and the UBOOT program loads applications in different FLASH addresses according to external signals.The test results show that both schemes can implement the DSP backup bootload function and improve the reliability of the system.

关键词

M6678 / SPI / EMIF / 三次引导 / FLASH分区

Key words

M6678 / SPI / EMIF / three times bootload / FLASH partition

引用本文

导出引用
李雷, 王正行, 汪智, 陈俊磊. M6678 DSP的两种备份启动方案设计[J]. 集成电路与嵌入式系统. 2023, 23(1): 11-14
Li Lei, Wang Zhengxing, Wang Zhi, Chen Junlei. Two Backup Bootloader Schemes Design of M6678 DSP[J]. Integrated Circuits and Embedded Systems. 2023, 23(1): 11-14
中图分类号: TP336   

参考文献

[1] 唐国斐,周海芳,谭庆平.基于多核DSP的星载并行遥感图像压缩系统设计与实现[J].计算机应用,2017,37(5):1246-1250.
[2] 王忍宝,许四祥,翟健健,等.基于DSP的双层流水线在弱小目标检测中的应用[J].红外技术,2016,38(7):587-591.
[3] 汪晶晶,苏建徽,孙佩石.基于串口通信的DSP应用程序在线升级方法[J].微型机与应用,2013,32(14):15-17,24.
[4] 王尧,李荣冰,孙永荣,等.DSP在线升级容错性能的研究[J].电子测量技术,2017,40(11):193-196
[5] 徐达旺,赵浩,刘元商.TMS320C671X系列DSP的引导程序设计技术[J].国外电子测量技术,2016(12):93-97.
[6] 万勇利,韩纪晓,赵为志,等.DSP用户程序二次引导加载设计[J].自动化技术与应用,2016(8):47-51.
[7] 蔡湘平,冯艳清,汪安民.多核DSP的Nand Flash启动软硬件设计[J].单片机与嵌入式系统应用,2013,13(3):46-48.

PDF(1200 KB)

Accesses

Citation

Detail

段落导航
相关文章

/