摘要
传统基于DSP6713处理器实现任务时控制程序结构基本采用前后台的架构,该方式仅能够满足简单的应用处理场景,对于存在“管理多个端口数据接收+数据处理任务”的场景则无法满足要求。尽管TI官方提供DSP BIOS实时操作系统,由于未开源给使用带来一定的限制,而DSP6713处理器中断服务程序执行前后的寄存器入栈和出栈顺序的不确定性,又给在其上移植常用RTOS带来极大的困难,因此该文针对以上情况,提出一种基于DSP6713处理器的上下文切换方法,以国产化操作系统RTThread为例实现移植,并展示多任务应用场景,通过该方法可以在不升级处理器的前提下,实现经济效益和处理器应用效率的完美结合,为以DSP6713处理器为核心的平台应用和改造升级提供一种新的解决思路。
When implementing tasks based on the traditional DSP6713 processor,the control program structure primarily adopts a foreground-background architecture.While this approach suffices for simple application processing scenarios,it fails to meet requirements in scenarios involving"managing multi-port data reception and data processing tasks".Although TI officially provides the DSP BIOS real-time operating system,its closed-source nature imposes certain limitations on usage.Additionally,the uncertainty in the register push/pop sequence order during the execution of interrupt service routines on the DSP6713 processor creates significant challenges for porting common RTOS systems.To address these issues,this paper proposes a context switching method specifically designed for the DSP6713 processor.Taking the domestically developed RT-Thread operating system as an example,we demonstrate its successful porting and showcase multi-task application scenarios.This method achieves an optimal balance between economic benefits and processor efficiency without requiring hardware upgrades,offering a novel solution for platform applications and upgrade transformations centered on DSP6713 processors.
出处
《科技创新与应用》
2026年第1期42-45,共4页
Technology Innovation and Application