A CAN bus-based automotive instrument multi-chip upgrade system and method

By utilizing the FBL function and ISO15765 protocol of the chip mounted on the CAN bus, the CAN upgrade of the chip on the ECU that is not connected to the CAN bus is realized, which solves the problems of complex upgrade process and insufficient security in the existing technology, and achieves convenience , secure chip firmware upgrade.

CN113918187BActive Publication Date: 2025-01-21DENSO KOTEI AUTOMOTIVE ELECTRONICS (WUHAN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111090195.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-16
Publication Date
2025-01-21
Estimated Expiration
2041-09-16

AI Technical Summary

Technical Problem

In the prior art, chips on the ECU that are not connected to the CAN bus cannot directly upgrade firmware through the CAN bus, and the ECU needs to be removed and returned to the factory. It is difficult to ensure the security of the upgrade file during the ECU upgrade.

Method used

Through the FBL function of the chip mounted on the CAN bus, the chip that is not connected to the CAN bus can obtain the upgrade package data through the chip that is directly connected to the CAN bus. The ISO15765 protocol is used to implement the CAN upgrade and is executed during the upgrade process. Secure access service to keep upgrade files safe.

Benefits of technology

It realizes CAN upgrade of chips that are not connected to the CAN bus, simplifies the upgrade process, reduces costs, and improves the security of ECU upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918187B_ABST
    Figure CN113918187B_ABST
Patent Text Reader

Abstract

The invention relates to a multi-chip upgrade system and method for automobile instruments based on a CAN bus. The upgrade system comprises: a chip one and a chip two, each chip one is not connected to the CAN bus, and the chip two is directly connected to the chip one and the CAN bus; an upgrade package of the chip two and each chip one is transmitted to the chip two through the CAN bus, and after receiving the upgrade package, a memory module judges whether the upgrade package belongs to the chip two or each chip one according to the address of data in the upgrade package; when the upgrade package belongs to the chip one, the memory module transmits the upgrade package to an external code cache module; when the upgrade package belongs to the chip two, the memory module transmits the upgrade package to an internal code cache module; after the external code cache module judges the chip one corresponding to the upgrade package according to the address of data in the data packet, the upgrade package is transmitted to the corresponding chip one; the chip not connected to the CAN bus can also use the OBD interface to upgrade the firmware by utilizing the CAN bus, and meets the safety requirements when the ECU is upgraded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile manufacturing, and in particular to a CAN bus-based automobile instrument multi-chip upgrade system and method. Background Art

[0002] Currently, the upgrade of the automobile ECU (Electronic Control Unit) can be achieved by connecting to the OBD (On Board Diagnostics) interface and using the CAN (Controller Area Network) to upgrade.

[0003] However, as ECU functions become more and more complex, one ECU often integrates multiple chips, such as Figure 1 The structure diagram of a CAN upgrade system without a chip mounted on the CAN bus in the prior art is shown. Figure 1 For chip A, a standard FBL program is integrated inside, and the upgrade package of chip A can be transmitted to chip A through the CAN bus to upgrade chip A. However, for chip B and chip C, since they are not mounted on the CAN bus and have no related FBL program integrated, they cannot enjoy the convenience of upgrading through the OBD interface using CAN, and cannot directly upgrade the CAN of chip B and chip C. It may be necessary to remove the ECU and return it to the factory to achieve the upgrade. In addition, when upgrading the ECU, there is generally a need for secure access and ensuring the security of the upgrade file. Summary of the invention

[0004] The present invention aims at the technical problems existing in the prior art and provides a CAN bus-based automobile instrument multi-chip upgrade system and method. The FBL function of the chip mounted on the CAN bus is used to enable the chip not connected to the CAN bus to obtain the upgrade package data through the chip directly connected to the chip and the CAN bus, so that the chip not connected to the CAN bus can also use the OBD interface to upgrade the firmware using the CAN bus, and meets the safety requirements when upgrading the ECU, providing convenience for automobile after-sales terminals and saving costs.

[0005] According to a first aspect of the present invention, a method for upgrading a multi-chip automobile instrument based on a CAN bus is provided, comprising: a chip 1 and a chip 2, wherein each of the chip 1 is not connected to the CAN bus, and the chip 2 is directly connected to the chip 1 and the CAN bus; the chip 2 comprises: a memory module, an external code cache module and an internal code cache module;

[0006] The upgrade packages of chip 2 and each chip 1 are transmitted to chip 2 via the CAN bus, each data of the upgrade package includes a corresponding address, and different values ​​of the bit of the address are used to mark the upgrade package as belonging to chip 2 or each chip 1 according to a set rule;

[0007] After receiving the upgrade package, the memory module determines whether the upgrade package belongs to chip 2 or each chip 1 according to the address of the data in the upgrade package; when the upgrade package belongs to chip 1, the memory module transfers the upgrade package to the external code cache module; when the upgrade package belongs to chip 2, the memory module transfers the upgrade package to the internal code cache module;

[0008] The external code cache module determines the chip one corresponding to the upgrade package according to the address of the data in the data packet, and then transmits the upgrade package to the corresponding chip one.

[0009] Based on the above technical solution, the present invention can also make the following improvements.

[0010] Optionally, the chip 1 is connected to the chip 2 via SPI or UART; the chip 2 also includes a SPI driver module and a URAT driver module;

[0011] After the external code cache module determines that the upgrade package corresponds to chip one, it encapsulates the upgrade package according to the transmission protocol between chip one and chip two, and transmits the packaged data to the SPI driver module or the UART driver module corresponding to the transmission protocol of chip one. The SPI driver module or the UART driver module transmits the upgrade package to chip one.

[0012] Optionally, the upgrade system adopts the ISO15765 protocol of the CAN bus, and embeds the upgrade function into the online diagnostic function of the automobile instrument multi-chip upgrade system based on the diagnostic data communication protocol.

[0013] Optionally, before the upgrade package is transmitted to the chip 2, the method further includes: executing a security access service;

[0014] The ECU is in a security protection state, and is unlocked after the security access service is passed, and the upgrade package is transmitted to the chip 2 through the CAN upgrade tool.

[0015] Optionally, the upgrade package is an encrypted file, and the chip 2 further includes a decryption module. After the upgrade package is transmitted to the chip 2, the decryption module decrypts the upgrade package.

[0016] Optionally, the upgrade package is in S-record data format.

[0017] Optionally, the setting rule is used to make different values ​​of the bit of the address mark that the upgrade package belongs to chip two or each chip one, and it is defined that bits [31:28] of the address are all 0 to indicate that the upgrade package belongs to chip two, and bits [31:28] of the address are not all 0 to indicate that the upgrade package belongs to each chip one; and different bits in bits [31:28] of the address are defined as 1 to indicate that the upgrade package belongs to each chip one.

[0018] According to a second aspect of the present invention, there is provided a CAN bus-based automotive instrument multi-chip upgrade system, comprising: step 1, for a chip 1 that is not connected to the CAN bus, finding a chip 2 that is directly connected to both the chip 1 and the CAN bus;

[0019] Step 2, transmitting the upgrade package of the chip 1 or the chip 2 to the chip 2 via the CAN bus, wherein each data of the upgrade package includes a corresponding address, and different values ​​of the bit of the address are used to mark the upgrade package as belonging to the chip 1 or the chip 2 according to a set rule;

[0020] Step 3, after receiving the upgrade package, the chip 2 determines whether the upgrade package belongs to the chip 1 or the chip 2 according to the address of the data in the upgrade package;

[0021] Step 4, when the upgrade package belongs to the chip two, the upgrade package is upgraded in the chip two; when the upgrade package belongs to the chip one, the chip one corresponding to the upgrade package is determined according to the address of the data in the data packet, and the upgrade package is transmitted to the corresponding chip one.

[0022] According to a third aspect of the present invention, there is provided an electronic device comprising a memory and a processor, wherein the processor is used to implement the steps of a method for upgrading a multi-chip automobile instrument based on a CAN bus when executing a computer management program stored in the memory.

[0023] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium on which a computer management program is stored. When the computer management program is executed by a processor, the steps of a method for upgrading a multi-chip automobile instrument based on a CAN bus are implemented.

[0024] The present invention provides a CAN bus-based automobile instrument multi-chip upgrade system, method, electronic device and storage medium, which utilize the FBL function of the chip mounted on the CAN bus and adopt the internationally general ISO15765-based diagnostic data communication protocol to realize the CAN upgrade function for the chips in the instrument system that are not mounted on the CAN bus, thereby eliminating the need to return the chips to the factory to upgrade the firmware and resources of these chips; and improves the safety requirements for ECU upgrades, ensures the safety of upgrade software upgrades, provides convenience for automobile after-sales terminals and saves costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a structural schematic diagram of a CAN upgrade system of a chip not mounted on a CAN bus in the prior art;

[0026] Figure 2 A structural block diagram of an embodiment of a CAN bus-based automobile instrument multi-chip upgrade system provided by the present invention;

[0027] Figure 3 A flowchart of an upgrade method for a multi-chip upgrade system for automobile instruments based on a CAN bus provided by the present invention;

[0028] Figure 4 A schematic diagram of the hardware structure of a possible electronic device provided by the present invention;

[0029] Figure 5 A schematic diagram of the hardware structure of a possible computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0030] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0031] Figure 2 The structural block diagram of an embodiment of a CAN bus-based automobile instrument multi-chip upgrade system provided by the present invention is as follows: Figure 2 As shown, the upgrade system includes: chip one and chip two, chip one is not connected to the CAN bus, and chip two is directly connected to chip one and the CAN bus; chip two includes: a Memory module, an external code cache module (ExtCodeFls) and an internal code cache module (CodeFls).

[0032] The upgrade packages of chip 2 and each chip 1 are transmitted to chip 2 via the CAN bus. Each data of the upgrade package contains a corresponding address. Different values ​​of the bit of the address are used to mark the upgrade package as belonging to chip 2 or each chip 1 according to the set rules.

[0033] After receiving the upgrade package, the memory module determines whether the upgrade package belongs to chip 2 or each chip 1 according to the address of the data in the upgrade package; when the upgrade package belongs to chip 1, the memory module transfers the upgrade package to the external code cache module; when the upgrade package belongs to chip 2, the memory module transfers the upgrade package to the internal code cache module.

[0034] The external code cache module determines the chip one corresponding to the upgrade package according to the address of the data in the data packet, and then transmits the upgrade package to the corresponding chip one.

[0035] The present invention provides an automobile instrument multi-chip upgrade system based on a CAN bus. The FBL function of a chip mounted on the CAN bus is used to enable a chip not connected to the CAN bus to obtain upgrade package data through a chip directly connected to the chip and directly connected to the CAN bus, so that the chip not connected to the CAN bus can also use the OBD interface to upgrade the firmware using the CAN bus, and the safety requirements during ECU upgrade are met, thereby providing convenience for automobile after-sales terminals and saving costs.

[0036] Example 1

[0037] Embodiment 1 of the present invention is an embodiment of a multi-chip upgrade system for automobile instruments based on a CAN bus provided by the present invention. The upgrade system adopts the ISO15765 protocol of the internationally used CAN bus, and embeds the upgrade function into the online diagnostic function of the multi-chip upgrade system for automobile instruments based on the diagnostic data communication protocol. Figure 3 The flowchart of the upgrade method of the automobile instrument multi-chip upgrade system based on the CAN bus provided by the present invention is shown in FIG. Figure 2 and Figure 3 It can be seen that the embodiment of the upgrade system includes: chip one and chip two, chip one is not connected to the CAN bus, and chip two is directly connected to chip one and the CAN bus; chip two includes: a Memory module, an external code cache module (ExtCodeFls) and an internal code cache module (CodeFls).

[0038] In a possible implementation manner, chip one and chip two are connected via SPI (Serial Peripheral Interface) or UART (Universal Asynchronous Receiver / Transmitter); chip two also includes a SPI driver module (SPI Drv) and a URAT driver module (URATDrv).

[0039] Figure 2In the given embodiment, chip 2 is chip A, and chip 1 includes chip B connected to chip 2 via SPI and chip C connected via UART. In this embodiment, the problem of CAN upgrade of chip B and chip C is solved, and corresponding functional modules and data transmission protocols are added to the FBL code of chip A, and the upgrade package of chip B or chip C received by chip A from the CAN bus is transmitted to chip B or chip C via SPI or UART bus to realize CAN upgrade of chip B or chip C.

[0040] The ECU is in a secure protection state. It is unlocked after the secure access service is passed, and the upgrade package is transferred to chip 2 through the CAN upgrade tool.

[0041] The upgrade packages of chip 2 and each chip 1 are transmitted to chip 2 through the CAN bus. The upgrade packages are in S-record data format, so each data has a corresponding address. The upgrade object is confirmed according to the set value of the address bit, that is, different values ​​of the address bit are used to mark the upgrade package as belonging to chip 2 or each chip 1 according to the set rules.

[0042] In a possible implementation manner, the setting rule may be: if bits [31:28] of the defined address are all 0, it indicates that the upgrade package belongs to chip two (chip A); if bits [31:28] of the defined address are not all 0, it indicates that the upgrade package belongs to each chip one (chip B and chip C); if different bits in bits [31:28] of the defined address are 1, it indicates that the upgrade package belongs to each chip one (chip B and chip C).

[0043] Specifically, Figure 2 In the given embodiment, bit

[28] of the address may be defined as 1 to indicate an upgrade package for chip B, and bit

[29] of the address may be defined as 1 to indicate an upgrade package for chip C.

[0044] In a possible implementation manner, the upgrade package is an encrypted file, and chip two further includes a decryption module. After the upgrade package is transmitted to chip A, the decryption module decrypts the upgrade package.

[0045] like Figure 2 As shown in ①, after receiving the upgrade package, the Memory module of the FBL of Chip A determines whether the upgrade package belongs to chip 2 or chip 1 according to the address of the data in the upgrade package; when the upgrade package belongs to chip 1, the Memory module transfers the upgrade package to the external code cache module; when the upgrade package belongs to chip 2, the Memory module transfers the upgrade package to the internal code cache module.

[0046] If it is an external code flash (ExtCodeFls), the read, write, erase and other interfaces provided by the external code flash module are called to transfer the upgrade commands and data from the CAN bus to the external code flash module.

[0047] The external code cache module determines the chip 1 corresponding to the upgrade package according to the address of the data in the data packet, and then transmits the upgrade package to the corresponding chip 1. That is, according to the address of the received data, it determines whether the data belongs to chip B or chip C, and then encapsulates the data according to the agreed transmission protocol and transmits it to chip B or chip C.

[0048] In a possible implementation manner, the external code cache module determines that the chip corresponding to the upgrade package is Figure 2 As shown in ②, the upgrade package is encapsulated according to the transmission protocol of chip 1 and chip 2, and the read, write, erase and other command data transmitted by FBL are encapsulated according to the transmission protocol, and the encapsulated data is transmitted to the SPI driver module or UART driver module corresponding to the transmission protocol of chip 1. Figure 2 As shown in ③, the SPI driver module or the UART driver module transmits the upgrade package to chip one (ie, chip B or chip C), thereby realizing the CAN upgrade function of chip B or chip C.

[0049] Example 2

[0050] Embodiment 2 of the present invention is an embodiment of a method for upgrading a multi-chip automobile instrument based on a CAN bus. Figure 3 It can be seen that this embodiment includes:

[0051] Step 1: For chip 1 that is not connected to the CAN bus, find chip 2 that is directly connected to both chip 1 and the CAN bus.

[0052] Step 2: The upgrade package of chip 1 or chip 2 is transmitted to chip 2 via the CAN bus. Each data of the upgrade package contains a corresponding address. According to the set rules, different values ​​of the bit of the address mark that the upgrade package belongs to chip 1 or chip 2.

[0053] Step 3: After receiving the upgrade package, chip 2 determines whether the upgrade package belongs to chip 1 or chip 2 according to the address of the data in the upgrade package.

[0054] Step 4, when the upgrade package belongs to chip 2, upgrade the upgrade package in chip 2; when the upgrade package belongs to chip 1, determine the chip 1 corresponding to the upgrade package according to the address of the data in the data packet, and then transmit the upgrade package to the corresponding chip 1.

[0055] It can be understood that the multi-chip upgrade method for automobile instruments based on CAN bus provided by the present invention corresponds to the multi-chip upgrade system for automobile instruments based on CAN bus provided by the aforementioned embodiments. The relevant technical features of the multi-chip upgrade method for automobile instruments based on CAN bus can refer to the relevant technical features of the multi-chip upgrade system for automobile instruments based on CAN bus, which will not be repeated here.

[0056] See also Figure 4 , Figure 4 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, an embodiment of the present invention provides an electronic device, including a memory 1310, a processor 1320, and a computer program 1311 stored in the memory 1310 and executable on the processor 1320, wherein the processor 1320 implements the following steps when executing the computer program 1311: for chip one that is not connected to the CAN bus, find chip two that is directly connected to both chip one and the CAN bus; transmit an upgrade package of chip one or chip two to chip two via the CAN bus, wherein each data of the upgrade package includes a corresponding address, and different values ​​of the bit of the address are used to mark whether the upgrade package belongs to chip one or chip two according to a set rule; after receiving the upgrade package, chip two determines whether the upgrade package belongs to chip one or chip two according to the address of the data in the upgrade package; when the upgrade package belongs to chip two, upgrade the upgrade package in chip two; when the upgrade package belongs to chip one, determine which chip one the upgrade package corresponds to according to the address of the data in the data packet, and then transmit the upgrade package to the corresponding chip one.

[0057] See also Figure 5 , Figure 5 Schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. Figure 5 As shown, this embodiment provides a computer-readable storage medium 1400, on which a computer program 1411 is stored. When the computer program 1411 is executed by the processor, the following steps are implemented: for chip one that is not connected to the CAN bus, find chip two that is directly connected to both chip one and the CAN bus; transmit an upgrade package of chip one or chip two to chip two via the CAN bus, each data of the upgrade package contains a corresponding address, and according to a set rule, different values ​​of the bit of the address are used to mark whether the upgrade package belongs to chip one or chip two; after receiving the upgrade package, chip two determines whether the upgrade package belongs to chip one or chip two according to the address of the data in the upgrade package; when the upgrade package belongs to chip two, upgrade the upgrade package in chip two; when the upgrade package belongs to chip one, after determining the chip one to which the upgrade package corresponds according to the address of the data in the data packet, the upgrade package is transmitted to the corresponding chip one.

[0058] The embodiment of the present invention provides a CAN bus-based automobile instrument multi-chip upgrade system, method, electronic device and storage medium, which utilize the FBL function of the chip mounted on the CAN bus and adopt the internationally accepted ISO15765-based diagnostic data communication protocol to realize the CAN upgrade function for the chips in the instrument system that are not mounted on the CAN bus, thereby eliminating the need to return the chips to the factory to upgrade the firmware and resources of these chips; and improves the safety requirements for ECU upgrades, ensures the safety of upgrade software upgrades, provides convenience for automobile after-sales terminals and saves costs.

[0059] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0060] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0061] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0062] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0063] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0064] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0065] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A multi-chip upgrade system for automobile instruments based on CAN bus, characterized in that: The upgrade system includes: chip one and chip two, each of the chip one is not connected to the CAN bus, and the chip two is directly connected to the chip one and the CAN bus; the chip two includes: a memory module, an external code cache module and an internal code cache module; The upgrade packages of chip 2 and each chip 1 are transmitted to chip 2 via the CAN bus, each data of the upgrade package includes a corresponding address, and different values ​​of the bit of the address are used to mark the upgrade package as belonging to chip 2 or each chip 1 according to a set rule; After receiving the upgrade package, the memory module determines whether the upgrade package belongs to chip 2 or each chip 1 according to the address of the data in the upgrade package; when the upgrade package belongs to chip 1, the memory module transfers the upgrade package to the external code cache module; when the upgrade package belongs to chip 2, the memory module transfers the upgrade package to the internal code cache module; The external code cache module determines the chip one corresponding to the upgrade package according to the address of the data in the data packet, and then transmits the upgrade package to the corresponding chip one.

2. The upgrade system according to claim 1, characterized in that: The chip 1 is connected to the chip 2 via SPI or UART; the chip 2 also includes a SPI driver module and a URAT driver module; After the external code cache module determines that the upgrade package corresponds to chip one, it encapsulates the upgrade package according to the transmission protocol between chip one and chip two, and transmits the packaged data to the SPI driver module or the UART driver module corresponding to the transmission protocol of chip one. The SPI driver module or the UART driver module transmits the upgrade package to chip one.

3. The upgrade system according to claim 1, characterized in that: The upgrade system adopts the ISO15765 protocol of the CAN bus and embeds the upgrade function into the online diagnosis function of the automobile instrument multi-chip upgrade system based on the diagnosis data communication protocol.

4. The upgrade system according to claim 1, characterized in that: Before the upgrade package is transmitted to the chip 2, the following further includes: executing a security access service; The ECU is in a security protection state, and is unlocked after the security access service is passed, and the upgrade package is transmitted to the chip 2 through the CAN upgrade tool.

5. The upgrade system according to claim 1, characterized in that: The upgrade package is an encrypted file, and the chip 2 further includes a decryption module. After the upgrade package is transmitted to the chip 2, the decryption module decrypts the upgrade package.

6. The upgrade system according to claim 1, characterized in that: The upgrade package is in S-record data format.

7. The upgrade system according to claim 1, characterized in that: According to the setting rule, different values ​​of the bit of the address are used to mark whether the upgrade package belongs to chip two or each chip one. It is defined that bits [31:28] of the address are all 0 to indicate that the upgrade package belongs to chip two, and bits [31:28] of the address are not all 0 to indicate that the upgrade package belongs to each chip one; different bits in bits [31:28] of the address are defined as 1 to indicate that the upgrade package belongs to each chip one.

8. A method for upgrading multi-chips of automobile instruments based on CAN bus, characterized in that: include: Step 1, for chip 1 that is not connected to the CAN bus, find chip 2 that is directly connected to both the chip 1 and the CAN bus; Step 2, transmitting the upgrade package of the chip 1 or the chip 2 to the chip 2 via the CAN bus, wherein each data of the upgrade package includes a corresponding address, and different values ​​of the bit of the address are used to mark the upgrade package as belonging to the chip 1 or the chip 2 according to a set rule; Step 3, after receiving the upgrade package, the chip 2 determines whether the upgrade package belongs to the chip 1 or the chip 2 according to the address of the data in the upgrade package; Step 4, when the upgrade package belongs to the chip two, the upgrade package is upgraded in the chip two; when the upgrade package belongs to the chip one, the chip one corresponding to the upgrade package is determined according to the address of the data in the data packet, and the upgrade package is transmitted to the corresponding chip one.

9. An electronic device, characterized in that: It comprises a memory and a processor, wherein the processor is used to implement the steps of the multi-chip upgrade method for automobile instruments based on the CAN bus as claimed in claim 8 when executing the computer management program stored in the memory.

10. A computer-readable storage medium, characterized in that: A computer management program is stored thereon, and when the computer management program is executed by the processor, the steps of the multi-chip upgrade method for automobile instruments based on the CAN bus as claimed in claim 8 are implemented.

Citation Information

Patent Citations

  • Control software upgrading method of electronic control devices of electric automobile based on controller area network (CAN) bus

    CN102495744A

  • Vehicle ECU for program upgrade and method for operating the same

    KR100774731B1