制造技术与机床2024,Issue(3) :57-63,68.DOI:10.19287/j.mtmt.1005-2402.2024.03.008

基于CAN通信实现MBD代码下载的DSP Bootloader开发

Development of DSP bootloader for MBD code download based on CAN communication

郭毅锋 郭世成 黄丽敏 张栗
制造技术与机床2024,Issue(3) :57-63,68.DOI:10.19287/j.mtmt.1005-2402.2024.03.008

基于CAN通信实现MBD代码下载的DSP Bootloader开发

Development of DSP bootloader for MBD code download based on CAN communication

郭毅锋 1郭世成 2黄丽敏 1张栗3
扫码查看

作者信息

  • 1. 广西科技大学自动化学院,广西 柳州 545026;成都大学机械工程学院,四川 成都 610106
  • 2. 广西科技大学自动化学院,广西 柳州 545026
  • 3. 四川省技术转移中心,四川 成都 610095
  • 折叠

摘要

为了实现DSP嵌入式系统在实际应用中便捷下载MBD(model-based design)代码的需求,文章设计了一种基于CAN通信实现MBD代码下载的Bootloader方案.以TMS320F28335 为例,通过对MBD代码的结构进行分析,设计了Boot程序与MBD程序的内存划分方案,确保程序下载的有效性和稳定性;开发了相应的Boot程序和上位机程序,详细介绍了Bootloader的实现流程,并对关键步骤函数进行了分析与解释,利用CAN通信实现了程序的下载.实验结果表明,该方法稳定可靠且具有实用性,为DSP嵌入式系统在实际应用中的MBD代码下载提供了一种可行且高效的解决方案.

Abstract

In order to meet the demand for convenient downloading of MBD(Model-Based Design)code in practical applications of DSP embedded systems,this study designs a Bootloader solution based on CAN communication for MBD code download.Taking TMS320F28335 as an example,by analyzing the structure of MBD code,a memory partition scheme between Boot program and MBD program is designed to ensure the effectiveness and stability of program download.The corresponding Boot program and host computer program are developed,and the implementation process of Bootloader is introduced in detail.The functions of Committed step are analyzed and explained,and the program download is realized using CAN communication.The experimental results indicate that this method is stable,reliable,and practical,providing a feasible and efficient solution for downloading MBD code in practical applications in DSP embedded systems.

关键词

TMS320F28335/CAN通信/MBD代码下载/Bootloader

Key words

TMS320F28335/CAN communication/MBD code download/Bootloader

引用本文复制引用

基金项目

四川省区域创新合作项目(2023YFQ0092)

成都市技术创新研发项目(2022-YF05-01393-SN)

四川省自然科学基金项目(2023NSFSC0368)

四川省大学生创新训练计划项目(S202211079055)

出版年

2024
制造技术与机床
中国机械工程学会 北京机床研究所

制造技术与机床

CSTPCD北大核心
影响因子:0.264
ISSN:1005-2402
被引量1
参考文献量15
段落导航相关论文