The invention relates to a vehicle-end electronic control unit and an upgrading method thereof, and the method comprises the following steps: 1), when a program starts to run, judging a program flag bit and whether there is an upgrade package; (2) if the program mark position is a bit and an upgrade package exists, starting a flashing process after receiving a flashing instruction; if flashing is completed, the upgrade package is cleared; if an accident occurs in the flashing process, clearing the program flag bit; if the program mark position is bit and no upgrade package exists, normal operation is carried out; and if the program flag bit is not set and an upgrade package exists, carrying out a self-repairing process, and repeating resetting until the flashing is completed or a cut-off condition is met. According to the method, self-repairing retry can be achieved through multiple times of soft reset in one power-on period, adverse factors of the flashing environment are reduced to the maximum degree, and the method is low in hardware resource requirement and easy to achieve on a vehicle-mounted electronic control unit.

    本发明涉及一种车端电控单元及其升级方法,方法包括以下步骤:1),程序开始运行时,判断程序标志位和是否有升级包;2),若程序标志位置位,有升级包,则在接收到刷写指令后开始刷写流程;若刷写完成则清除升级包;若刷写过程中出现意外,则清除程序标志位;若程序标志位置位,无升级包,则正常运行;若程序标志位未置位,有升级包,则进行自修复过程,重复进行复位,直至刷写完成或者达到截止条件。本发明可以在一个上电周期内通过多次软复位实现自修复重试,最大程度降低刷写环境的不利因素,而且本发明的方法对硬件资源要求较低,易于在车载电控单元上实现。


    Access

    Download


    Export, share and cite



    Title :

    Vehicle end electric control unit and upgrading method thereof


    Additional title:

    一种车端电控单元及其升级方法


    Contributors:
    YUAN YINGMIN (author) / HE WENBO (author) / ZHANG CHAO (author) / BAN FANGYUAN (author)

    Publication date :

    2022-05-27


    Type of media :

    Patent


    Type of material :

    Electronic Resource


    Language :

    Chinese


    Classification :

    IPC:    B60R Fahrzeuge, Fahrzeugausstattung oder Fahrzeugteile, soweit nicht anderweitig vorgesehen , VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR / G06F ELECTRIC DIGITAL DATA PROCESSING , Elektrische digitale Datenverarbeitung




    Electric vehicle discharging control method, vehicle control unit and electric vehicle

    GUO XUEQIANG / HE HONG / MENG JIANGTAO et al. | European Patent Office | 2021

    Free access

    Vehicle upgrading control method and device

    LU WEIYI | European Patent Office | 2024

    Free access

    Electric vehicle, control method and device thereof, storage medium and vehicle control unit

    WANG CHUNLI / XIAO XIAOCHENG / KONG LINGJING et al. | European Patent Office | 2021

    Free access

    Electric vehicle control unit

    Bitsche,O. / Rentmeister,M. / Mandic,I. et al. | Automotive engineering | 1993