The invention discloses an ECU code updating method and device, electronic equipment and a storage medium, and the method comprises the steps that an engineering folder, a DBC file and a configuration file are obtained firstly, the engineering folder is an existing code file needed by normal operation of an ECU, and the DBC file is a file describing communication network data related to diagnosis service; determining a target file in which a signal used by the ECU during communication based on the diagnostic service is located in the engineering folder; modifying or replacing a target file in the project folder according to the configuration file and the DBC file to obtain an updated project folder; and burning the updated project folder into an ECU (Electronic Control Unit). When the code associated with the diagnostic service in the ECU is updated, the code associated with the diagnostic service in the ECU can be automatically updated only by configuring the DBC file and the configuration file, the modification time is short, the efficiency is high, and errors and omission caused by manual modification can be avoided.
本发明公开了一种ECU代码更新方法、装置、电子设备和存储介质,包括:先获取工程文件夹、DBC文件和配置文件,其中,工程文件夹为已有的ECU正常运行时所需的代码文件,DBC文件为描述与诊断服务相关的通信网络数据的文件;在工程文件夹中确定ECU基于诊断服务通信时使用到的信号所在的目标文件;根据配置文件和DBC文件对工程文件夹中的目标文件进行修改或替换,得到更新后的工程文件夹;将更新后的工程文件夹烧录到ECU中。则在对ECU中与诊断服务关联的代码进行更新时,只需要配置好DBC文件和配置文件,即可实现对ECU中与诊断服务关联的代码实现自动更新,修改时间短、效率高,并且可以避免人工修改带来的错误和遗漏。
ECU code updating method and device, electronic equipment and storage medium
一种ECU代码更新方法、装置、电子设备和存储介质
2024-11-29
Patent
Electronic Resource
Chinese
Image updating method and device, electronic equipment and storage medium
European Patent Office | 2021
|Position updating method and device, storage medium and electronic equipment
European Patent Office | 2021
|Exposure value updating method and device, electronic equipment and storage medium
European Patent Office | 2023
|Flight state updating method and device, electronic equipment and storage medium
European Patent Office | 2023
|Updating method and device, equipment and storage medium
European Patent Office | 2023
|