CN116339751A - Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU - Google Patents

Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU Download PDF

Info

Publication number
CN116339751A
CN116339751A CN202111597844.5A CN202111597844A CN116339751A CN 116339751 A CN116339751 A CN 116339751A CN 202111597844 A CN202111597844 A CN 202111597844A CN 116339751 A CN116339751 A CN 116339751A
Authority
CN
China
Prior art keywords
address
vehicle ecu
module
data
download
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
CN202111597844.5A
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.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
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 Robert Bosch GmbH filed Critical Robert Bosch GmbH
Priority to CN202111597844.5A priority Critical patent/CN116339751A/en
Publication of CN116339751A publication Critical patent/CN116339751A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/64Retargetable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Abstract

The present invention relates to a data refreshing method of a vehicle ECU and a data refreshing device of a vehicle ECU. The data refreshing method of the vehicle ECU comprises the following steps: a request step of transmitting a download request for downloading source data to a vehicle ECU, wherein the download request contains a download address; judging, namely judging whether the download address contains an application program software address or a nonvolatile memory address; and a refreshing step of transmitting the source data to an address corresponding to the vehicle ECU when the judging step judges that the download address contains the application software address or the nonvolatile memory address. According to the data refreshing method and the data refreshing device of the vehicle ECU, the data refreshing device of the vehicle ECU can enable reuse by deleting all historical user data in the nonvolatile memory, and can save hardware cost.

Description

Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU
Technical Field
The present invention relates to computer technology, and in particular, to a data refreshing method for a vehicle ECU, a data refreshing device for a vehicle ECU, and a refreshing module.
Background
In the case where it is necessary to recycle radar, cameras, and auxiliary drive domain controllers, it is impossible to delete historical user data stored in an internal NVM (Non Volatile Memory ) of an ECU (electronic control unit) in the prior art, which makes such ECU unusable.
For example, the ECU of the ASDS (Advanced Driver Assistance System, advanced driving assistance system) recovered from the End user cannot be used for a new vehicle because the history data existing in the NVM may cause EOL (End of Line) process errors and after-market debug confusion, and thus HW (hardware) may not be used for a new vehicle due to these risks, which would create a problem of hardware waste.
Disclosure of Invention
In view of the above, a data refreshing method and a data refreshing apparatus for a vehicle ECU capable of restoring a nonvolatile memory to factory data are provided.
A data refreshing method of a vehicle ECU according to an aspect of the present invention is characterized by comprising:
a request step of transmitting a download request for downloading source data to a vehicle ECU, wherein the download request contains a download address;
judging, namely judging whether the download address contains an application program software address or a nonvolatile memory address; and
and a refreshing step, wherein when the judging step judges that the download address contains an application program software address or a nonvolatile memory address, the source data is transmitted to an address corresponding to the vehicle ECU.
Optionally, the download address is contained in the header of the source file.
Optionally, in a case where the judging step judges that the download address does not contain an application software address or a nonvolatile memory address, transmission of the source data to the ECU is stopped.
Optionally, the vehicle ECU is any one of a radar, a camera, and an ECU assisting a driving-domain controller of the vehicle.
A data refreshing apparatus of a vehicle ECU according to an aspect of the present invention includes:
a request module, configured to send a download request for downloading source data to a vehicle ECU, where the download request includes a download address;
the judging module is used for judging whether the download address contains an application program software address or a nonvolatile memory address; and
and the refreshing module is used for transmitting the source data to the vehicle ECU under the condition that the judging module judges that the download address contains the address of the application program software or the address of the nonvolatile memory.
Optionally, the download address is contained in the header of the source file.
Optionally, in a case where the judging module judges that the download address does not include an application software address or a nonvolatile memory address, the refreshing module stops transmitting the source data to the vehicle ECU.
Optionally, the vehicle ECU is any one of a radar, a camera, and a vehicle ECU assisting a driving-domain controller of the vehicle.
A refresh module of a vehicle ECU of an aspect of the present invention, the refresh module: the device comprises a refreshing boot loading module and is characterized in that the refreshing boot loading module comprises:
a request sub-module, configured to send a download request for downloading source data to a vehicle ECU, where the download request includes a download address;
the judging sub-module is used for judging whether the download address contains an application program software address or a nonvolatile memory address; and
and the refreshing sub-module is used for transmitting the source data to the vehicle ECU under the condition that the judging sub-module judges that the download address contains the application program software address or the nonvolatile memory address.
A computer readable medium of an aspect of the present invention, having stored thereon a computer program, characterized in that,
the computer program, when executed by the processor, implements the data refreshing method of the vehicle ECU.
The computer equipment comprises a storage module, a processor and a computer program which is stored on the storage module and can run on the processor, and is characterized in that the data refreshing method of the vehicle ECU is realized when the processor executes the computer program.
The data refreshing method of the vehicle ECU according to the present invention can make it possible to reuse the nonvolatile memory by deleting all the history user data in the nonvolatile memory, and can save hardware cost.
Drawings
Fig. 1 is a flowchart of a data refreshing method of a vehicle ECU of the present invention.
Fig. 2 is a flowchart of a data refreshing method of a vehicle ECU according to an embodiment of the present invention.
Fig. 3 is a structural frame diagram of the data refreshing apparatus of the vehicle ECU of the present invention.
Detailed Description
The following presents a simplified summary of the invention in order to provide a basic understanding of the invention. It is not intended to identify key or critical elements of the invention or to delineate the scope of the invention.
For the purposes of brevity and explanation, the principles of the present invention are described herein primarily with reference to exemplary embodiments thereof. However, those skilled in the art will readily recognize that the same principles are equally applicable to all types of data refresh methods and data refresh devices, and that these same principles may be implemented therein, and that any such variations do not depart from the true spirit and scope of the present patent application.
Fig. 1 is a flowchart of a data refreshing method of a vehicle ECU of the present invention.
As shown in fig. 1, the data refreshing method of the vehicle ECU of the present invention includes:
request step S100: transmitting a downloading request for downloading the source data to the ECU, wherein the downloading request comprises a downloading address;
judgment step S200: judging whether the download address contains an application program software address or a nonvolatile memory address; and
refreshing step S300: in the case where it is determined in the determining step S200 that the download address contains an application software address or a nonvolatile memory address, the source data is transmitted to the ECU.
The application software file refers to a source file of software, is generally in binary or 16-system format for the ECU, and is responsible for realizing the upper-layer functions of the ECU after the application software file is downloaded to the ECU.
The application software address refers to the physical address of the software on the internal memory of the ECU, and for the ECU, the software of each module inside has a fixed address, and is generally defined at the beginning of design, similar to the way that a computer operating system is generally installed on a C-disc. When downloading software into an ECU, this refers to downloading the source file of the software to the address where the software corresponds inside the ECU.
In the present invention, as described above, the nonvolatile memory (NVM) is divided into a plurality of areas in an internal memory space of the ECU, each area has a corresponding address, and various software is distributed to play different roles, wherein one area is the area where the nonvolatile memory is located, mainly responsible for data storage, not participating in computation, and the data stored generally include: software parameters, user data, log records of software operations, and the like.
The data refreshing method of the vehicle ECU according to the present invention can enable reuse of the nonvolatile memory by deleting all the history user data in the nonvolatile memory, and therefore, can save hardware costs.
Next, an embodiment of a data refreshing method of a vehicle ECU of the present invention will be described.
Fig. 2 is a flowchart of a data refreshing method of a vehicle ECU according to an embodiment of the present invention.
As shown in fig. 2, the data refreshing method of the vehicle ECU according to an embodiment of the present invention includes the steps of:
step S1: entering a programming session;
step S2: when the ECU has software updating requirements, the updated ECU in the updating direction sends a downloading request for downloading the source data to the ECU, wherein the downloading request comprises a downloading address;
step S3: judging whether the download address contains an application program software address or a nonvolatile memory address, if so, continuing the step S4, and if not, jumping to the step S6;
step S4: transmitting the source data to an address corresponding to the ECU;
step S5: exiting the data transmission;
step S6: the refresh process is suspended.
Wherein the source data is contained in the source file to be downloaded (refreshed) to the ECU, the determination in step S3 as to whether the download address contains an application software address or a non-volatile memory address may be achieved by determining whether the address in the download request contains an application software address or a non-volatile memory address.
In addition, the ECU herein may be a radar of the vehicle, a camera, and an ECU that assists the driving-domain controller.
Fig. 3 is a structural frame diagram of the data refreshing apparatus of the vehicle ECU of the present invention.
As shown in fig. 3, the data refreshing apparatus of a vehicle ECU according to the present invention includes:
a request module 100, configured to send a download request for downloading source data to the ECU, where the download request includes a download address;
a judging module 200, configured to judge whether the download address includes an application software address or a non-volatile memory address; and
and a refresh module 300, configured to transmit the source data to the ECU if the determining module 200 determines that the download address includes an application software address or a non-volatile memory address.
Wherein the download address is contained in the header of the source file.
Wherein, in the case where the judging module 200 judges that the download address does not contain an application software address or a nonvolatile memory address, the refreshing module 300 stops transmitting the source data to the ECU.
The vehicle ECU is any one of a radar, a camera, and an ECU assisting a driving-domain controller of the vehicle.
As one embodiment, the data refreshing device of the vehicle ECU of the present invention may be implemented by changing a refresh boot loader (FBL). The Flush Boot Loader (FBL) is already an existing technical means, which is commonly used to upgrade ECU applications through diagnostic services.
For example, in current ADAS ECU (radar, camera, and assisted-driving-domain controller), application software may be refreshed using a refresh boot loader (FBL)) function. According to such inspiring, in the present invention, reuse of hardware is made possible by adding a new function to the refresh boot loader (FBL) to restore the NVM to factory data, which means that all historical user data can be deleted.
Thus, as one example, the present invention provides a refresh module of an ECU of a vehicle, the refresh module comprising: the refresh boot load module and the application module (optional).
Wherein the refresh boot load module further comprises:
a request sub-module, configured to send a download request for downloading source data to the ECU, where the download request includes a download address;
the judging sub-module is used for judging whether the download address contains an application program software address or a nonvolatile memory address; and
and the refreshing sub-module is used for transmitting the source data to the ECU under the condition that the judging sub-module judges that the download address contains the address of the application program software or the address of the nonvolatile memory.
As described above, by adding a function of refreshing the nonvolatile memory on the basis that the existing ECU supports only application software refreshing, that is, by adding a new function of refreshing the nonvolatile memory to the refresh boot loader (FBL), the nonvolatile memory can be restored to factory data, thereby realizing hardware recycling and saving hardware cost.
Further, the present invention also provides a computer-readable medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements the data refreshing method of the vehicle ECU described above.
The invention also provides a computer device which comprises a storage module, a processor and a computer program stored on the storage module and capable of running on the processor, and is characterized in that the data refreshing method of the vehicle ECU is realized when the processor executes the computer program.
The above examples mainly illustrate the data refreshing method and the data refreshing apparatus of the present invention. Although only a few specific embodiments of the present invention have been described, those skilled in the art will appreciate that the present invention may be embodied in many other forms without departing from the spirit or scope thereof. Accordingly, the present examples and embodiments are to be considered as illustrative and not restrictive, and the invention is intended to cover various modifications and substitutions without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A data refreshing method of a vehicle ECU, characterized by comprising:
a request step of transmitting a download request for downloading source data to a vehicle ECU, wherein the download request contains a download address;
judging, namely judging whether the download address contains an application program software address or a nonvolatile memory address; and
and a refreshing step, wherein when the judging step judges that the download address contains an application program software address or a nonvolatile memory address, the source data is transmitted to an address corresponding to the vehicle ECU.
2. The data refreshing method of a vehicle ECU according to claim 1, wherein,
the download address is contained in the header of the source data file.
3. The data refreshing method of a vehicle ECU according to claim 1, wherein,
and stopping transmitting the source data to the vehicle ECU when the judging step judges that the download address does not contain the application software address or the nonvolatile memory address.
4. The data refreshing method of a vehicle ECU according to claim 1, wherein,
the vehicle ECU is any one of a radar, a camera, and an ECU assisting a driving-domain controller of the vehicle.
5. A data refreshing apparatus of a vehicle ECU, characterized by comprising:
a request module, configured to send a download request for downloading source data to a vehicle ECU, where the download request includes a download address;
the judging module is used for judging whether the download address contains an application program software address or a nonvolatile memory address; and
and the refreshing module is used for transmitting the source data to the address corresponding to the vehicle ECU under the condition that the judging module judges that the download address contains the address of the application program software or the address of the nonvolatile memory.
6. The data refreshing apparatus of a vehicle ECU according to claim 5, wherein,
the download address is contained in the header of the source data file.
7. The data refreshing apparatus of a vehicle ECU according to claim 5, wherein,
and in the case that the judging module judges that the download address does not contain the application software address or the nonvolatile memory address, the refreshing module stops transmitting the source data to the vehicle ECU.
8. The data refreshing apparatus of a vehicle ECU according to claim 5, wherein,
the vehicle ECU is any one of a radar, a camera, and an ECU assisting a driving-domain controller of the vehicle.
9. A refresh module of a vehicle ECU, the refresh module: the device comprises a refreshing boot loading module and is characterized in that the refreshing boot loading module comprises:
a request sub-module, configured to send a download request for downloading source data to a vehicle ECU, where the download request includes a download address;
the judging sub-module is used for judging whether the download address contains an application program software address or a nonvolatile memory address; and
and the refreshing sub-module is used for transmitting the source data to the ECU under the condition that the judging sub-module judges that the download address contains the address of the application program software or the address of the nonvolatile memory.
10. A computer readable medium having a computer program stored thereon, characterized in that,
the computer program, when executed by a processor, implements the data refreshing method of a vehicle ECU according to any one of claims 1 to 4.
11. A computer device comprising a memory module, a processor and a computer program stored on the memory module and executable on the processor, characterized in that the processor implements the data refreshing method of the vehicle ECU according to any one of claims 1 to 4 when executing the computer program.
CN202111597844.5A 2021-12-24 2021-12-24 Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU Pending CN116339751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111597844.5A CN116339751A (en) 2021-12-24 2021-12-24 Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111597844.5A CN116339751A (en) 2021-12-24 2021-12-24 Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU

Publications (1)

Publication Number Publication Date
CN116339751A true CN116339751A (en) 2023-06-27

Family

ID=86877726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111597844.5A Pending CN116339751A (en) 2021-12-24 2021-12-24 Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU

Country Status (1)

Country Link
CN (1) CN116339751A (en)

Similar Documents

Publication Publication Date Title
US20180341476A1 (en) Software updating device, software updating system, and software updating method
US8122447B2 (en) Firmware installation
WO2018139296A1 (en) Vehicle control device and program updating system
CN111782234A (en) Vehicle-mounted software flashing method, control device, central processing unit and automobile
WO2019123747A1 (en) Electronic control device for automobile and control method thereof
US20190258476A1 (en) Vehicle control device, program update method, and computer-readable non-transitory storage medium storing program for program update
US20230297368A1 (en) Software update apparatus, software update method, non-transitory storage medium storing program, vehicle, and ota master
EP3249531B1 (en) Control means, in-vehicle program rewriting device equipped with same, and in-vehicle program rewriting method
CN116339751A (en) Data refreshing method and device of vehicle ECU and refreshing module of vehicle ECU
JP2019016086A (en) Automobile electronic control device
US20220391192A1 (en) Ota master, center, system, method, non-transitory storage medium, and vehicle
JP2007316800A (en) Onboard program rewriting controller
EP4036712A1 (en) Ota master, update control method, non-transitory storage medium, and vehicle
EP3945417A1 (en) Software update device, update control method, non-transitory storage medium, and server
JP7396216B2 (en) Server, update management method, update management program, and software update device
JP2009087107A (en) Control system for vehicle
CN114675864A (en) Control method, control device and system for reprogramming and upgrading of dual-partition ECU
CN115061713A (en) Method and device for upgrading electronic equipment
JP5158883B2 (en) Firmware update method and firmware update apparatus
JP7418494B2 (en) Update management system and update management method
CN111158705A (en) Method and device for installing driving software and storage medium
US20220342653A1 (en) Ota master, center, system, update method, non-transitory storage medium, and vehicle
US20220405080A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
JP2023038520A (en) Reprogramming device and reprogramming method thereof
US20220405083A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication