Movatterモバイル変換


[0]ホーム

URL:


CN106033220A - A method and system for detecting the erasing state of ECU Flash - Google Patents

A method and system for detecting the erasing state of ECU Flash
Download PDF

Info

Publication number
CN106033220A
CN106033220ACN201510115779.6ACN201510115779ACN106033220ACN 106033220 ACN106033220 ACN 106033220ACN 201510115779 ACN201510115779 ACN 201510115779ACN 106033220 ACN106033220 ACN 106033220A
Authority
CN
China
Prior art keywords
software
ecu flash
refresh
flash
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510115779.6A
Other languages
Chinese (zh)
Inventor
何晔
黄少堂
黄丽芳
赖鹃
温小锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co LtdfiledCriticalGuangzhou Automobile Group Co Ltd
Priority to CN201510115779.6ApriorityCriticalpatent/CN106033220A/en
Publication of CN106033220ApublicationCriticalpatent/CN106033220A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The invention provides a method of detecting an ECU Flash erasing and writing state. The method comprises the following steps of acquiring a predicted service life frequency of the ECU Flash, a current refreshing frequency and a current refreshing attempt frequency; determining whether the acquired current refreshing frequency or the current refreshing attempt frequency is less than the acquired predicted service life frequency; if the acquired current refreshing frequency or the current refreshing attempt frequency is less than the acquired predicted service life frequency, determining that the ECU Flash erasing and writing state is normal; and if the acquired current refreshing frequency or the current refreshing attempt frequency is not less than the acquired predicted service life frequency, determining that the ECU Flash erasing and writing state changes. In an embodiment of the invention, the ECU Flash does not need to be dismounted and the erasing and writing state can be directly and effectively detected; and through acquiring an erasing and writing record of the ECU Flash, a reason that refreshing of the ECU Flash is failed is determined.

Description

Translated fromChinese
一种检测ECU Flash擦写状态的方法和系统A method and system for detecting the erasing state of ECU Flash

技术领域technical field

本发明涉及车载电子技术领域,尤其涉及一种检测ECU Flash擦写状态的方法和系统。The invention relates to the technical field of vehicle electronics, in particular to a method and system for detecting the erasing state of an ECU Flash.

背景技术Background technique

随着汽车电子技术的发展,汽车电子化程度越来越高,使得各种软件正越来越多地应用到汽车中,其不仅仅应用在汽车的娱乐系统上,还应用在一些基本的驾驶功能上,如转向、制动和加速等,甚至于更高级的驾驶功能上,如自适应巡航控制系统和自动泊车等。事实上,通过上述软件的应用,虽然能够容易地诊断和解决汽车出现的问题,但是也会由于软件自身Bug而导致产生行车危险的可能性。通常软件Bug需要主机厂或者零部件供应商通过刷新软件来解决,并且在整车开发工程中,也需要经常性的使用刷新软件来完成零部件功能的更新,因此,在整车开发及售后阶段,软件刷新的频率越来越高。With the development of automotive electronics technology, the degree of automotive electronics is getting higher and higher, so that various software is being applied to cars more and more, not only in the entertainment system of the car, but also in some basic driving In terms of functions, such as steering, braking and acceleration, and even more advanced driving functions, such as adaptive cruise control and automatic parking. In fact, through the application of the above-mentioned software, although the problems in the car can be easily diagnosed and solved, there is also the possibility of driving danger due to the bug in the software itself. Usually, software bugs need to be solved by OEMs or component suppliers by refreshing the software, and in the vehicle development project, it is also necessary to frequently use the refresh software to complete the update of component functions. Therefore, in the vehicle development and after-sales stages , the frequency of software refreshes is getting higher and higher.

软件刷新主要是通过诊断设备对车载电子控制单元(Electronic Control Unit,以下简称ECU)的Flash进行擦除及烧写,以完成功能更新。目前,大多数主机厂或者供应商只有在ECU刷新失败以后,才会去对硬件设备进行检测,根据输出电压等条件检查Flash是否出现问题或者达到其使用寿命,这样的话就无法起到预防的效果,并且对Flash的检查仅限于Flash能否正常工作,而无法对具体原因进行细化,不利于问题的排查以及经验积累Software refresh is mainly to erase and program the Flash of the vehicle electronic control unit (Electronic Control Unit, hereinafter referred to as ECU) through diagnostic equipment to complete the function update. At present, most OEMs or suppliers will only check the hardware equipment after the ECU refresh fails, and check whether there is a problem with the Flash according to the output voltage and other conditions or whether it has reached its service life. In this case, the preventive effect cannot be achieved. , and the inspection of Flash is limited to whether Flash can work normally, but cannot refine the specific reasons, which is not conducive to problem troubleshooting and experience accumulation

因此,鉴于Flash在ECU软件刷新中的重要作用以及不同Flash在性能及使用寿命上的差异,亟需一种方法对于ECU中的Flash进行一定的监控,可以促进整车开发及售后服务更好的开展,同时也能对车载ECU刷新问题进行更好的监控,追溯刷新失败的原因。Therefore, in view of the important role of Flash in ECU software refresh and the differences in performance and service life of different Flash, there is an urgent need for a method to monitor the Flash in ECU, which can promote vehicle development and better after-sales service At the same time, it can better monitor the on-board ECU refresh problem and trace the cause of the refresh failure.

发明内容Contents of the invention

本发明实施例所要解决的技术问题在于,提供一种检测ECU Flash擦写状态的方法和系统,能够不需拆卸ECU Flash且直接有效地检测其擦写状态,并且可以通过获取ECU Flash的擦写记录,判断出ECU Flash刷新失败的原因。The technical problem to be solved by the embodiments of the present invention is to provide a detection ECUThe method and system for flash erasing status can directly and effectively detect the erasing status of the ECU Flash without disassembling the ECU Flash, and can determine the cause of the ECU Flash refreshing failure by obtaining the erasing record of the ECU Flash.

为了解决上述技术问题,本发明实施例提供了一种检测ECU Flash擦写状态的方法,所述方法包括:In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of method for detecting ECU Flash erasing state, described method comprises:

获取ECU Flash的预计寿命次数、当前刷新次数以及当前刷新尝试次数;Obtain the expected life times, current refresh times and current refresh attempts of ECU Flash;

判断所述获取到的当前刷新次数或当前刷新尝试次数是否小于所述获取到的预计寿命次数;judging whether the acquired current number of refresh times or the current number of refresh attempts is less than the acquired expected lifespan times;

如果是,则确定所述ECU Flash的擦写状态为正常;If yes, it is determined that the erasing and writing state of the ECU Flash is normal;

如果否,则确定所述ECU Flash的擦写状态发生老化。If not, it is determined that the erasing state of the ECU Flash is aging.

其中,所述方法进一步包括:Wherein, the method further includes:

当所述ECU Flash的擦写状态确定为正常时,直接进入软件刷新模式,对所述ECU Flash上的软件进行刷新。When the erasing and writing state of the ECU Flash is determined to be normal, it directly enters the software refresh mode, and the ECU isThe software on the Flash is refreshed.

其中,所述方法进一步包括:Wherein, the method further includes:

当所述ECU Flash的擦写状态确定为老化时,则进一步地获取刷新软件的类别;When the rewriting state of the ECU Flash is determined to be aging, then further obtain the category of the refresh software;

当获取到所述刷新软件的类别为与行车安全无关联的安全件时,则直接进入软件刷新模式,对所述ECU Flash上的软件进行刷新;When obtaining the category of the refresh software is a safety piece that has nothing to do with driving safety, then directly enter the software refresh mode to refresh the software on the ECU Flash;

当获取到所述刷新软件的类别为与行车安全相关联的安全件时,则中止刷新。When it is acquired that the category of the refresh software is a safety component associated with driving safety, the refresh is terminated.

其中,所述直接进入软件刷新模式,对所述ECU Flash上的软件进行刷新的具体步骤包括:Wherein, the specific steps of directly entering the software refresh mode and refreshing the software on the ECU Flash include:

擦除所述ECU Flash上的当前软件,并下载所述刷新软件;Erase the current software on the ECU Flash, and download the refresh software;

判断所述ECU Flash上的当前软件是否擦除成功;Judging whether the current software on the ECU Flash is successfully erased;

如果是,则将所述当前刷新尝试次数加一,并将所述刷新软件根据预设的刷新程序进行刷新,待所述刷新软件刷新成功后,将所述当前刷新次数加一;If so, add one to the current number of refresh attempts, and refresh the refresh software according to a preset refresh program, and add one to the current refresh number after the refresh software is successfully refreshed;

如果否,则中止刷新。If not, the refresh is aborted.

其中,所述方法进一步包括:Wherein, the method further includes:

当所述刷新软件刷新失败时,则中止刷新,保持所述当前刷新次数不变。When the refreshing by the refreshing software fails, the refreshing is suspended and the current number of refreshing is kept unchanged.

其中,所述ECU Flash的当前刷新次数以及当前刷新尝试次数均可通过特定的设备对运行于应用软件环境下或boot软件环境下的所述ECU Flash进行读取而获得。Wherein, the current refresh times and the current refresh attempt times of the ECU Flash can be obtained by reading the ECU Flash running in the application software environment or the boot software environment by a specific device.

本发明实施例还提供了一种检测ECU Flash擦写状态的系统,所述系统包括:The embodiment of the present invention also provides a system for detecting the erasing state of ECU Flash, and the system includes:

获取单元,用于获取ECU Flash的预计寿命次数、当前刷新次数以及当前刷新尝试次数;The acquisition unit is used to acquire the expected life times, current refresh times and current refresh attempt times of the ECU Flash;

判断单元,用于判断所述获取到的当前刷新次数或当前刷新尝试次数是否小于所述获取到的预计寿命次数;A judging unit, configured to judge whether the obtained current number of refreshes or the current number of refresh attempts is less than the obtained expected lifespan;

第一状态确定单元,用于确定所述ECU Flash的擦写状态为正常;The first state determination unit is used to determine that the erasing and writing state of the ECU Flash is normal;

第二状态确定单元,用于确定所述ECU Flash的擦写状态发生老化。The second state determining unit is used to determine that the erasing state of the ECU Flash is aging.

其中,所述系统还包括:Wherein, the system also includes:

第一状态的软件刷新单元,用于当所述ECU Flash的擦写状态确定为正常时,直接进入软件刷新模式,对所述ECU Flash上的软件进行刷新。The software refresh unit in the first state is used to directly enter the software refresh mode to refresh the software on the ECU Flash when the erasing and writing state of the ECU Flash is determined to be normal.

其中,所述系统还包括:Wherein, the system also includes:

第二状态的软件刷新单元,用于当所述ECU Flash的擦写状态确定为老化时,则进一步地获取刷新软件的类别;当获取到所述刷新软件的类别为与行车安全无关联的安全件时,则直接进入软件刷新模式,对所述ECU Flash上的软件进行刷新;当获取到所述刷新软件的类别为与行车安全相关联的安全件时,则中止刷新。The software refresh unit in the second state is used to further obtain the category of the refresh software when the erasing and writing state of the ECU Flash is determined to be aging; When software, then directly enter the software refresh mode, the software on the ECU Flash is refreshed;

其中,所述ECU Flash的当前刷新次数以及当前刷新尝试次数均可通过特定的设备对运行于应用软件环境下或boot软件环境下的所述ECU Flash进行读取而获得。Wherein, the current refresh times and the current refresh attempts of the ECU Flash can be performed on the ECU running in the application software environment or the boot software environment through a specific device.It is obtained by reading from Flash.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

1、在本发明实施例中,由于通过特定设备(如外围设备)读取ECU Flash在应用软件环境下或boot软件环境下的当前刷新次数及当前刷新尝试次数,与出厂的预计寿命次数进行比较,从而实现不需拆卸ECU Flash,且可直接有效地追溯ECU Flash的擦写寿命,并能够准确的判断出ECU Flash刷新失败的原因是否与Flash老化有关,辅助整车开发及售后问题排查;1. In the embodiment of the present invention, since the current refresh times and the current refresh attempts of the ECU Flash in the application software environment or the boot software environment are read through a specific device (such as a peripheral device), it is compared with the expected life count of the factory , so that it is not necessary to disassemble the ECU Flash, and can directly and effectively trace the erasing life of the ECU Flash, and can accurately determine whether the reason for the failure of the ECU Flash refresh is related to the aging of the Flash, assisting vehicle development and after-sales problem troubleshooting;

2、在本发明实施例中,由于通过获取ECU Flash的擦写记录,判断ECU Flash可能的使用寿命,预判ECU Flash老化可能对ECU刷新造成的影响,减小ECU刷新失败而对整车功能甚至行车安全的影响。2. In the embodiment of the present invention, since the possible service life of the ECU Flash is judged by obtaining the erase record of the ECU Flash, the ECU Flash is predicted.Flash aging may affect ECU refresh, and reduce the impact of ECU refresh failure on vehicle functions and even driving safety.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,根据这些附图获得其他的附图仍属于本发明的范畴。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, obtaining other drawings based on these drawings still belongs to the scope of the present invention without any creative effort.

图1为本发明实施例提供的检测ECU Flash擦写状态的方法的流程图;Fig. 1 is the flow chart of the method for the detection ECU Flash rewriting state that the embodiment of the present invention provides;

图2为本发明实施例提供的检测ECU Flash擦写状态的方法应用场景中DID定义的结构示意图;Fig. 2 is a schematic structural diagram of DID definition in the application scenario of the method for detecting the erasing and writing state of ECU Flash provided by the embodiment of the present invention;

图3为本发明实施例提供的检测ECU Flash擦写状态的系统的结构示意图。FIG. 3 is a schematic structural diagram of a system for detecting the erasing state of an ECU Flash provided by an embodiment of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

如图1所示,为本发明实施例提供的一种检测ECU Flash擦写状态的方法,所述方法包括:As shown in Figure 1, a kind of method that detects ECU Flash rewriting state provided for the embodiment of the present invention, described method comprises:

步骤S101、获取ECU Flash的预计寿命次数、当前刷新次数以及当前刷新尝试次数;Step S101, obtaining the expected life times, current refresh times, and current refresh attempt times of the ECU Flash;

在本发明实施例中,基于UDS(Unified Diagnostic Services,统一的诊断服务)协议,定义了两个用于记录ECU Flash擦写寿命的DID(Data Identifer,数据标识):刷新次数和刷新尝试次数,DID具体定义如图2所示,刷新次数及刷新尝试次数两个DID可以记录多达65535次的Flash刷新次数。In the embodiment of the present invention, based on UDS (UnifiedDiagnostic Services, a unified diagnostic service) protocol, defines two for recording ECUDID (Data Identifer) of Flash erasing life: the number of refresh times and the number of refresh attempts. The specific definition of DID is shown in Figure 2. The two DIDs of the number of refresh times and the number of refresh attempts can record up to 65535 times of Flash refresh times.

由于ECU Flash的预计寿命次数由生产厂家自身设计的,因此如果ECU Flash的预计寿命超过刷新次数以及刷新尝试次数的定义上限,可以对DID大小进行扩充以满足要求。Since the expected lifetime of ECU Flash is designed by the manufacturer itself, if the expected lifetime of ECU Flash exceeds the defined upper limit of refresh times and refresh attempts, the size of the DID can be expanded to meet the requirements.

应当说明的是,ECU Flash的刷新次数以及刷新尝试次数均可通过特定的设备(如外围设备)对运行于应用软件环境下或boot软件环境下的ECU Flash进行读取而获得,从而使得即便是在ECU Flash上的软件被擦除的情况下,也可通过读取刷新尝试次数和刷新次数来追溯ECU刷新失败的原因。It should be noted that the number of refreshes and refresh attempts of the ECU Flash can be adjusted by specific devices (such as peripheral devices) for the ECU running in the application software environment or the boot software environment.It is obtained by reading the Flash, so that even if the software on the ECU Flash is erased, the reason for the failure of the ECU refresh can be traced by reading the number of refresh attempts and the number of refreshes.

步骤S102、判断所述获取到的当前刷新次数或当前刷新尝试次数是否小于所述获取到的预计寿命次数;如果是,则执行下一步骤S103;如果否,则跳转步骤S104;Step S102, judging whether the obtained current number of refreshes or the current number of refresh attempts is less than the obtained expected lifespan; if yes, execute the next step S103; if not, skip to step S104;

步骤S103、确定所述ECU Flash的擦写状态为正常;Step S103, determining that the erasing and writing state of the ECU Flash is normal;

步骤S104、确定所述ECU Flash的擦写状态发生老化。Step S104, determining that the erasing state of the ECU Flash is aging.

在本发明实施例中,为了实现ECU的电子集成高度化,在检测出ECU Flash的擦写状态为正常后,应执行软件刷新,因此该方法进一步包括:当ECU Flash的擦写状态确定为正常时,直接进入软件刷新模式,对ECU Flash上的软件进行刷新。In the embodiment of the present invention, in order to realize the high degree of electronic integration of the ECU, after detecting the ECUAfter the erasing and writing state of the Flash is normal, software refresh should be performed, so the method further includes: when the erasing and writing state of the ECU Flash is determined to be normal, directly enter the software refresh mode, and refresh the software on the ECU Flash.

同理,在检测出ECU Flash的擦写状态为老化时,对于亟需刷新的软件需判断出该软件的类别是否与行车安全有关,才能有效地防止影响行车安全的情况的发生,因此,方法进一步包括:Similarly, when it is detected that the erasing state of the ECU Flash is aging, it is necessary to determine whether the type of the software is related to driving safety for the software that needs to be refreshed urgently, so as to effectively prevent the occurrence of situations that affect driving safety. Therefore, the method Further includes:

当ECU Flash的擦写状态确定为老化时,则进一步地获取刷新软件的类别;When the erasing and writing state of the ECU Flash is determined to be aging, the category of the refresh software is further obtained;

当获取到刷新软件的类别为与行车安全无关联的安全件时,则直接进入软件刷新模式,对ECU Flash上的软件进行刷新;When the category of refresh software obtained is a safety piece that has nothing to do with driving safety, it will directly enter the software refresh mode to refresh the software on the ECU Flash;

当获取到刷新软件的类别为与行车安全相关联的安全件时,则中止刷新。When it is obtained that the category of the refreshing software is a safety component associated with driving safety, the refreshing is terminated.

应当说明的是,与行车安全无关联的安全件在进入软件刷新模式之前,会出现风险提示。It should be noted that before entering the software refresh mode for safety components that have nothing to do with driving safety, there will be a risk warning.

在本发明实施例中,直接进入软件刷新模式,对ECU Flash上的软件进行刷新的具体步骤包括:In the embodiment of the present invention, directly enter the software refresh mode, and the specific steps for refreshing the software on the ECU Flash include:

步骤S1、擦除ECU Flash上的当前软件,并下载刷新软件;Step S1, erasing the current software on the ECU Flash, and downloading and refreshing the software;

步骤S2、判断ECU Flash上的当前软件是否擦除成功;如果是,则执行下一步骤S3;如果否,则跳转步骤S4;Step S2, judging whether the current software on the ECU Flash is successfully erased; if yes, then execute the next step S3; if not, then jump to step S4;

步骤S3、将当前刷新尝试次数加一,并将刷新软件根据预设的刷新程序进行刷新,待刷新软件刷新成功后,将当前刷新次数加一;Step S3, adding one to the current number of refresh attempts, and refreshing the refresh software according to a preset refresh program, and adding one to the current refresh number after the refresh software is successfully refreshed;

步骤S4、中止刷新。Step S4, stop refreshing.

应当说明的是,刷新软件进入软件刷新模式之前,必须使整车或者ECU保持在可以刷新的状态。当刷新软件刷新失败时,则中止刷新,保持当前刷新次数不变。预设的刷新程序可以为按照ISO规范中定义的刷新流程。It should be noted that before the refresh software enters the software refresh mode, the entire vehicle or ECU must be kept in a refreshable state. When the refresh software fails to refresh, the refresh is stopped and the current number of refreshes remains unchanged. The preset refreshing program may be a refreshing process defined in ISO specification.

综上,可以发现,当获取到的当前刷新次数与当前刷新尝试次数相等时,ECU Flash刷新失败的原因与ECU Flash老化有关,而当获取到的当前刷新次数与当前刷新尝试次数不相等时,ECU Flash刷新失败的原因需进一步检测ECU Flash预计寿命次数,才能判别是否与ECU Flash老化有关,因此可根据读取到的当前刷新次数与当前刷新尝试次数,用于辅助整车开发及售后问题排查。In summary, it can be found that when the obtained current number of refreshes is equal to the current number of refresh attempts, the reason for ECU Flash refresh failure is related to the aging of the ECU Flash, and when the obtained current number of refreshes is not equal to the current number of refresh attempts, The reason for the failure of ECU Flash refresh needs to further check the expected life of ECU Flash to determine whether it is related to the aging of ECU Flash. Therefore, the read current refresh times and current refresh attempts can be used to assist vehicle development and after-sales problem troubleshooting .

如图3所示,为本发明实施例提供的一种检测ECU Flash擦写状态的系统,所述系统包括:As shown in Fig. 3, a kind of detection ECU provided for the embodiment of the present inventionThe system of Flash rewriting state, described system comprises:

获取单元110,用于获取ECU Flash的预计寿命次数、当前刷新次数以及当前刷新尝试次数;Acquisition unit 110, used to obtain the expected life times, current refresh times and current refresh attempt times of ECU Flash;

判断单元120,用于判断所述获取到的当前刷新次数或当前刷新尝试次数是否小于所述获取到的预计寿命次数;A judging unit 120, configured to judge whether the acquired current number of refresh times or the current number of refresh attempts is less than the acquired expected lifetime number;

第一状态确定单元130,用于确定所述ECU Flash的擦写状态为正常;The first state determining unit 130 is used to determine that the erasing and writing state of the ECU Flash is normal;

第二状态确定单元140,用于确定所述ECU Flash的擦写状态发生老化。The second state determination unit 140 is configured to determine that the erasing state of the ECU Flash is aging.

其中,所述系统还包括:Wherein, the system also includes:

第一状态的软件刷新单元,用于当所述ECU Flash的擦写状态确定为正常时,直接进入软件刷新模式,对所述ECU Flash上的软件进行刷新。The software refresh unit in the first state is used to directly enter the software refresh mode to refresh the software on the ECU Flash when the erasing and writing state of the ECU Flash is determined to be normal.

其中,所述系统还包括:Wherein, the system also includes:

第二状态的软件刷新单元,用于当所述ECU Flash的擦写状态确定为发生老化时,则进一步地获取刷新软件的类别;当获取到所述刷新软件的类别为与行车安全无关联的安全件时,则直接进入软件刷新模式,对所述ECU Flash上的软件进行刷新;当获取到所述刷新软件的类别为与行车安全相关联的安全件时,则中止刷新。The software refresh unit in the second state is used to further obtain the category of the refresh software when the erasing and writing state of the ECU Flash is determined to be aging; when the category of the refresh software is obtained, it is irrelevant to driving safety When safety piece, then directly enter software refreshing mode, the software on described ECU Flash is refreshed; When obtaining the category of described refresh software is the safety piece associated with driving safety, then abort refreshing.

其中, ECU Flash的当前刷新次数以及当前刷新尝试次数均可通过特定的设备对运行于应用软件环境下或boot软件环境下的ECU Flash进行读取而获得。Among them, the current refresh times and the current refresh attempts of the ECU Flash can be checked by a specific device for the ECU running in the application software environment or the boot software environment.It is obtained by reading from Flash.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

1、在本发明实施例中,由于通过特定设备(如外围设备)读取ECU Flash在应用软件环境下或boot软件环境下的当前刷新次数及当前刷新尝试次数,与出厂的预计寿命次数进行比较,从而实现不需拆卸ECU Flash,且可直接有效地追溯ECU Flash的擦写寿命,并能够准确的判断出ECU Flash刷新失败的原因是否与Flash老化有关,辅助整车开发及售后问题排查;1. In the embodiment of the present invention, since the current refresh times and the current refresh attempts of the ECU Flash in the application software environment or the boot software environment are read through a specific device (such as a peripheral device), it is compared with the expected life count of the factory , so that it is not necessary to disassemble the ECU Flash, and can directly and effectively trace the erasing life of the ECU Flash, and can accurately determine whether the reason for the failure of the ECU Flash refresh is related to the aging of the Flash, assisting vehicle development and after-sales problem troubleshooting;

2、在本发明实施例中,由于通过获取ECU Flash的擦写记录,判断ECU Flash可能的使用寿命,预判ECU Flash老化可能对ECU刷新造成的影响,减小ECU刷新失败而对整车功能甚至行车安全的影响。2. In the embodiment of the present invention, since the possible service life of the ECU Flash is judged by obtaining the erase record of the ECU Flash, the ECU Flash is predicted.Flash aging may affect ECU refresh, and reduce the impact of ECU refresh failure on vehicle functions and even driving safety.

值得注意的是,上述系统实施例中,所包括的各个系统单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above system embodiments, the system units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific functions of each functional unit The names are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present invention.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage Media such as ROM/RAM, magnetic disk, optical disk, etc.

以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosure is only a preferred embodiment of the present invention, which certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (10)

CN201510115779.6A2015-03-172015-03-17 A method and system for detecting the erasing state of ECU FlashPendingCN106033220A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510115779.6ACN106033220A (en)2015-03-172015-03-17 A method and system for detecting the erasing state of ECU Flash

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510115779.6ACN106033220A (en)2015-03-172015-03-17 A method and system for detecting the erasing state of ECU Flash

Publications (1)

Publication NumberPublication Date
CN106033220Atrue CN106033220A (en)2016-10-19

Family

ID=57151062

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510115779.6APendingCN106033220A (en)2015-03-172015-03-17 A method and system for detecting the erasing state of ECU Flash

Country Status (1)

CountryLink
CN (1)CN106033220A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109240259A (en)*2018-07-162019-01-18深圳市元征科技股份有限公司Vehicular diagnostic method, device, equipment and storage medium
CN112435706A (en)*2020-11-052021-03-02北京中电华大电子设计有限责任公司Nonvolatile memory application level erasing life evaluation method

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101266492A (en)*2008-04-292008-09-17上海汽车集团股份有限公司 Calibration software configuration management system and method for vehicle diagnostic instrument
US20090119657A1 (en)*2007-10-242009-05-07Link Ii Charles MMethods and systems for software upgrades
CN101825875A (en)*2010-05-252010-09-08奇瑞汽车股份有限公司Method and device for updating software
CN102237117A (en)*2010-05-042011-11-09国民技术股份有限公司Method and device for calculating service life of mobile storage device
US20130079950A1 (en)*2011-09-222013-03-28Kia Motors CorporationVehicle upgrade system and method thereof
CN103246280A (en)*2012-12-042013-08-14奇瑞汽车股份有限公司Electric automobile diagnostic system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090119657A1 (en)*2007-10-242009-05-07Link Ii Charles MMethods and systems for software upgrades
CN101266492A (en)*2008-04-292008-09-17上海汽车集团股份有限公司 Calibration software configuration management system and method for vehicle diagnostic instrument
CN102237117A (en)*2010-05-042011-11-09国民技术股份有限公司Method and device for calculating service life of mobile storage device
CN101825875A (en)*2010-05-252010-09-08奇瑞汽车股份有限公司Method and device for updating software
US20130079950A1 (en)*2011-09-222013-03-28Kia Motors CorporationVehicle upgrade system and method thereof
CN103246280A (en)*2012-12-042013-08-14奇瑞汽车股份有限公司Electric automobile diagnostic system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109240259A (en)*2018-07-162019-01-18深圳市元征科技股份有限公司Vehicular diagnostic method, device, equipment and storage medium
CN112435706A (en)*2020-11-052021-03-02北京中电华大电子设计有限责任公司Nonvolatile memory application level erasing life evaluation method
CN112435706B (en)*2020-11-052023-06-30北京中电华大电子设计有限责任公司Nonvolatile memory application level erasing life evaluation method

Similar Documents

PublicationPublication DateTitle
CN102043680B (en)Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
GB2553028A (en)Vehicle gateway network protection
CN114407651B (en)Vehicle mileage storage method and device, electronic equipment and storage medium
WO2019137345A1 (en)Method and apparatus for establishing communication connection with tire pressure monitoring system, and electronic device
CN115220963A (en)OTA upgrade exception recovery method and device for vehicle, vehicle and storage medium
JP2020004245A (en)Program update device, program update system, program update method and program update program
GB2497636A (en)Vehicle fault diagnosis system
CN112486840A (en)Static test method and device
US20210383884A1 (en)Two-Stage Flash Programming for Embedded Systems
CN106033220A (en) A method and system for detecting the erasing state of ECU Flash
JP2009519420A (en) Method for storing data related to device malfunctions
JP2022123552A (en) Data processing system, method
CN113641556B (en)System, method, device, processor and computer readable storage medium for ensuring stable operation of automobile instrument
CN109871292B (en) Self-checking method, device, system and storage medium for unmanned vehicle system
US11106519B2 (en)Automotive electronic control unit reliability and safety during power standby mode
CN115470022A (en)Fault processing method and device for vehicle controller, vehicle and medium
CN115268403A (en) A vehicle EOL automated testing method
US20100082199A1 (en)Failure determination apparatus for vehicle, failure determination method and computer readable medium for failure determination
CN119360470A (en) Fault recovery method, device, equipment and storage medium before OTA upgrade
CN118509450A (en)Method, system, device and storage medium for processing abnormal restarting of vehicle and vehicle
CN110781019B (en)Automobile instrument design method based on functional safety
HarrisEmbedded software for automotive applications
CN118640110A (en) Switching valve stuck fault diagnosis method, device, equipment and storage medium
CN118690372A (en) Remote firmware upgrade method, device, equipment, storage medium and program product
CN118439055A (en)Fault processing method, device, equipment and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20161019


[8]ページ先頭

©2009-2025 Movatter.jp