摘要
基于UDS on CAN协议设计了一种Bootloader,通过诊断仪生成应用程序Flash数据的验证信息,通过Bootloader生成应用程序Flash数据的校验信息,验证产品生产阶段Flash数据的一致性。在应用程序中读取Bootloader存储的分段尺寸和校验值等验证信息,根据分段尺寸读取程序分段中的Flash数据并进行CRC校验,验证产品运行阶段Flash数据的一致性。
Based on the UDS on CAN protocol,a Bootloader is designed.The verification information of the application Flash data is generated by the diagnostic device,and the check information of the application Flash data is generated by the Bootloader to verify the consistency of the Flash data during the production phase of the product.In the application,the verification information such as the segment size and the check value stored in the Bootloader is read,the Flash data in the program segment is read according to the segment size,and the CRC is calculated and checked to verify the consistency of the Flash data in the product running phase.
作者
马建辉
于良杰
李研强
车晓波
朱亮
Ma Jianhu;Yu Liangjie;Li Yanqiang;Che Xiaobo;Zhu Liang(Qilu University of Technology(Shandong Academy of Sciences),Jinan,250353,China;Automatic Institute of Shandong Academy;Shandong Provincial Key Laboratory of Automotive Electronics Technology)
出处
《单片机与嵌入式系统应用》
2018年第12期19-21,52,共4页
Microcontrollers & Embedded Systems
基金
山东省重点研发计划"新能源车辆远程监控系统关键技术研究"(2017GGX90101)