摘要
在分析飞思卡尔32位单片机MPC5534的启动辅助模块的功能的基础上,研究了其二级引导过程的原理,制定了下位机和上位机的通信协议,并在此基础上设计实现了基于CAN总线的在线程序更新系统。该系统能够接收并发送特定的CAN数据帧,实现二级引导配置文件的传送和用户文件数据的配置过程,从而完成整个用户程序的更新。该在线更新系统稳定可靠、易操作、下载程序速度快,可根据用户的需求进行扩展,且能方便地移植到带有CAN控制器的飞思卡尔其他32位微控制器上。
Based on analysis of the boot assist module of the Freescale 32-bit MCU MPC5534,the principle of the secondary boot process is studied,a communication protocols between MCU and PC is designed,and a CAN bus-based online update system is developed.The system can receive and send the specific CAN data frames,realize the secondary boot configuration file transfer and user configuration file data process,so as to complete the update of the user program.The result shows the online update system is fast,stable,reliable,easy to operate,and can be extended according to user's demand.The developed system can be easily transplanted to other 32-bit microcontroller of Freescale with CAN controller.
出处
《国外电子测量技术》
2013年第12期49-52,共4页
Foreign Electronic Measurement Technology