检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:杨朝阳 黄凯旋 仝秀峰 闫永鑫 YANG Zhaoyang;HUANG Kaixuan;TONG Xiufeng;YAN Yongxin(School of Automotive Engineering,Hubei University of Automotive Industry,Shiyan Hubei 442002)
机构地区:[1]湖北汽车工业学院汽车工程学院,湖北十堰442002
出 处:《软件》2023年第7期42-47,共6页Software
基 金:湖北省自然基金项目:机—电—磁—液—热耦合系统的一体化瞬态数学建模与计算方法研究(2021CFB592)。
摘 要:本文针对AC78xx系列单片机,参照整车厂和UDS服务诊断规范要求,设计了一种基于UDS规范的,以CAN/CANFD通信方式的Bootloader上下位机升级方案。上位机以Qt5.14.2为开发环境,支持VectorVN1610、USB2CAN、ZCAN_USBCANFD_200U硬件设备与下位机进行CAN或CANFD通信,支持S-Record、HEX、ELF文件的解析与刷写。下位机以EclipseCDT、arm-none-eabi-gcc为集成开发环境,将Flash划分为Bootloader+Config+App的形式,通过检查Flash配置字更新用户App标志位的有效性来触发App程序的升级,且可通过更改Map文件选择下位机与上位机的通信方式为CAN或CANFD,整个升级过程严格遵从UDS协议规范。通过多次实车测试与验证,结果表明:该Bootloader上下位机方案实现了在UDS标准下基于CAN/CANFD通信的Bootloader升级,整个升级流程快速、稳定,并具有极高的拓展性,证明了该方案在Bootloader刷写过程中的可靠性和稳定性。This article focuses on the AC78xx series microcontroller,and refers to the requirements of the vehicle factory and UDS service diagnostic specifications.It designs a Bootloader upper and lower computer upgrade scheme based on the UDS specification,using CAN/CANFD communication mode.The upper computer uses Qt 5.14.2 as the development environment,supporting Vector VN1610,USB2CAN,and ZCAN_USBCANFD_200U hardware device communicates with the lower computer through CAN or CANFD,supporting the parsing and writing of S-Record,HEX,and ELF files.The lower computer uses Eclipse CDT and arm-none-eabi-gcc as the integrated development environment,dividing the Flash into the form of Bootloader+Config+App.By checking the validity of the Flash configuration word to update the user's App flag bit,the upgrade of the App program can be triggered.The communication method between the lower computer and the upper computer can be selected as CAN or CANFD by changing the Map file,and the entire upgrade process strictly follows the UDS protocol specification.Through multiple actual vehicle tests and verifications,the results show that the bootloader upper and lower computer solution has achieved a bootloader upgrade based on CAN/CANFD communication under the UDS standard.The entire upgrade process is fast,stable,and has high scalability,proving the reliability and stability of the solution in the bootloader writing process.
关 键 词:BOOTLOADER UDS诊断规范 CAN/CANFD通信
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7