摘要
针对重型拖拉机控制器的升级维护问题,采用32位微控制器MPC5744P,开发基于控制器局域网络总线技术的引导加载程序,设计上位机。依据引导加载程序的需求开发FlexCAN模块、Flash模块的底层驱动程序及S19文件的解析代码。为了实现对程序的在线更新,利用Python的外部工具PyQt5设计相应的上位机。为验证系统性能,通过上位机对MPC5744P开发板进行程序升级,对引导加载程序进行测试。测试结果表明:设计的引导加载程序能够通过与上位机的交互准确实现应用程序的在线升级,符合设计要求。
In order to facilitate the upgrade and maintenance of automobile controller,MPC5744P CAN bus based bootloader and PyQt5 based upper computer are designed and developed.The program update of micro-controller MPC5744P is completed through the configuration of FlexCAN communication module,the design of Flash driver,the analysis of S19 file.PyQt5,an external Python tool,is used to design the corresponding upper computer in order to update the program online.In order to verify the system performance,the bootloader is tested by upgrading the program of MPC5744P development board which use the upper computer.The test results show that the bootloader can accurately realize the online upgrade of the application program through the interaction with the upper computer,which meets the design requirements.
作者
谭文阳
李军伟
朱青松
TAN Wenyang;LI Junwei;ZHU Qingsong(School of Traffic and Vehicle Engineering,Shandong University of Technology,Zibo 255049,China)
出处
《内燃机与动力装置》
2020年第6期57-62,72,共7页
Internal Combustion Engine & Powerplant
基金
国家重点研发计划项目(2016YFD0701101)。