tailieunhanh - LIN flash bootloader based on UDS

The result proofs that the LIN flash bootloader works properly as designation, the software follows to the LIN protocol and Unified Diagnostic Services protocol strictly, and the ECU can restore from the errors during downloading period. | Journal of Automation and Control Engineering Vol. 4, No. 1, February 2016 LIN Flash Bootloader Based on UDS Feng Luo and Yue Yin Xie Clean Energy Automotive Engineering Center, School of Automotive Study, Tongji University, Shanghai, China Email: luo_feng@, xieyy135@ LIN Flash bootloader based on UDS contains 4 layers: Hardware layer, LIN Driver layer, Unified Diagnostic Services Layer and Application layer, as Fig. 1 shows. Abstract—Flash Bootloader is necessary for updating or maintenance of the ECUs on the Vehicle. This paper discusses how to develop the LIN flash bootloader based on Unified diagnostic services. First is to discuss the software structure of the flash bootloader, the next is to discuss the details of hardware layer, LIN driver layer and UDS layer of the structure, and then is to discuss the solution for reliability. After all these works, test the software with a standard diagnostic tool. The result proofs that the LIN flash bootloader works properly as designation, the software follows to the LIN protocol and Unified Diagnostic Services protocol strictly, and the ECU can restore from the errors during downloading period. Bootloader Application UDS Services LIN Driver Signal Interaction Index Terms—flash bootloader, LIN, unified diagnostic services, reliability Frame Handler Clock Driver I. INTRODUCTION UART driver Timer Driver Figure 1. Structure of LIN UDS flash bootloader. Hardware layer works as the basic drivers of the hardware. It is better for the bootloader to have smaller code size, so hardware layer only need to realize MCU clock driver, UART driver, timer driver and Flash driver. LIN driver layer bases on the UART driver and timer driver, frame handler is responsible for all the LIN data link layer, the signal interaction module translates the data between the real application signal and LIN data frame. LIN driver has integrated the transfer layer internal, which is used for translating one or more .

TỪ KHÓA LIÊN QUAN