Research and Implementation of Firmware Upgrade System for Main Control Chip in Train Braking System
(CRRC Nanjing Puzhen Haitai Brake Equipment Co., Ltd., Nanjing 211800, China)
Abstract
To address the issue of cumbersome firmware upgrades in the testing and subsequent production maintenance of rail transit vehicles, this paper designs and develops a firmware upgrade system based on the UDS and CANTP protocols. This system enables the host computer to send the firmware to be upgraded to the communication board via the UDS protocol, and then the communication board forwards the data to the controller's main control chip, the S32K344, through the CANTP protocol, thereby completing the firmware upgrade. The solution is tested and effectively validated in a brake control device. The results show that the firmware upgrade system can reliably achieve online firmware upgrades of the controller, improving the convenience of software upgrades and increasing the efficiency of after-sales maintenance by approximately 20%.
Keywords
Bootloader; UDS; CANTP; firmware upgrade; S32K344
References
- [1] Lu Haonan, Ji Nan, Bai Shuang Development of Bootloader for Automotive Electronic Control Unit Based on UDS Communication Protocol [J]. Automotive Industry Research, 2025 (3): 28-32
- [2] Zhao Fuhui Collaborative Design of Software and Hardware for Medical IoT Systems [D]. Jinan: Shandong University, 2022
- [3] Chen Junbo, Zou Junyang, Zhang Tianyu Research and Application of Security Upgrade Methods for Embedded Control Software [J]. Control and Information Technology, 2024 (6): 104-109
- [4] Huang Yuqiang, Yue Wei Design of BootLoader for Ethernet Embedded System [J]. Microcontrollers and Embedded System Applications, 2021, 21 (9): 10-13
- [5] Zhang Leiyao, Xiao Bing, Zhao Wenbin Design and Implementation of CAN Bootloader Software Based on UDS [J]. Manufacturing Technology and Machine Tool, 2025 (1): 41-47
- [6] Yang Chaoyang, Huang Kaixuan, Tong Xiufeng, etc Design of Bootloader upper and lower computer based on UDS [J]. Software, 2023, 44 (7): 42-47
- [7] Yao Shenghua, Li Xinlun, Wang Qiaoyan Design and Implementation of LIN Interface Online Upgrade System Based on UDS Protocol [J]. Electronic Devices, 2025, 48 (4): 809-813
- [8] Chen Ruizhi, Shi Chun, Wu Gang, etc Design of Automotive Electronic Control Unit Bootloader for OTA Requirements [J]. Instrument Technology, 2021 (2): 8-12, 22
- [9] Chen Ruizhi Design and Implementation of Automotive Electronic Control Unit Fault Diagnosis Service Based on UDS Protocol [D]. Hefei: University of Science and Technology of China, 2021
- [10] Huang Yanguo, Wang Wenhua Design Method of Bootloader Based on STM32 Microcontroller [J]. Electronics and Packaging, 2025, 25 (6): 110-116
About the authors
Bian Cunjian (November 1992-), male, Han ethnicity, from Nanjing, Jiangsu, engineer, master's student, research interests include embedded software development.