Firmware Upgrade Method and System Based on EPA Bus

The broadcast firmware upgrade is realized through the EPA bus, which solves the problem of low firmware upgrade efficiency in large control systems, reduces the risk of hardware damage and development difficulty, and improves system debugging efficiency and reliability.

CN119996390BActive Publication Date: 2025-07-08ZHEJIANG SUPCON RES +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510450503.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-07-08
Estimated Expiration
2045-04-11

AI Technical Summary

Technical Problem

The prior art firmware upgrade efficiency in large control systems is inefficient, and the shell removal operation may damage the board and increase the difficulty of development.

Method used

The firmware upgrade is performed using the EPA bus, and the upgrade command is obtained from the upper computer through the CPU communication module and broadcast to the coupled communication module. Each module independently determines whether to upgrade to achieve broadcast upgrade.

Benefits of technology

It improves the debugging efficiency of system function development, reduces the risk of hardware damage, reduces manual operation errors, and improves reliability and confidentiality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996390B_ABST
    Figure CN119996390B_ABST
Patent Text Reader

Abstract

The present invention discloses a firmware upgrade method and system based on the EPA bus, which is applied to an industrial system that communicates using the EPA bus. The industrial system includes a CPU communication module and at least one coupled communication module. The CPU communication module is communicatively connected to a host computer, and the coupled communication module is communicatively connected to the CPU communication module through the EPA bus. The CPU communication module obtains, through a remote upgrade interface, the message content carrying the firmware execution command and the firmware upgrade program from the host computer, and parses out the IP address of the target upgrade module, as well as including erasing, reading, and writing the new version of the firmware program. If the target upgrade module is itself, it will be upgraded; if the target upgrade module is a coupled communication module, it will be converted into the EPA message format and sent to the coupled communication module through the EPA bus interface. After obtaining the EPA message, the coupled communication module forwards it to the next coupled communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, it will be upgraded, and the system debugging efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of firmware upgrade, and particularly relates to a firmware upgrade method and system based on an EPA bus. Background Art

[0002] The EPA bus is the first national standard for fieldbus with independent intellectual property rights in China, which is drafted on the basis of solving key technologies such as deterministic communication scheduling, bus power supply, network security, and interoperability for industrial field device communication using Ethernet.

[0003] Conventional firmware upgrade solutions usually perform point-to-point upgrades on devices using traditional JTAG ports. In most cases, the module needs to be disassembled. When facing large control systems, the efficiency is very low, and the board may be damaged during the disassembly operation, greatly increasing the difficulty of development and debugging. Summary of the Invention

[0004] To solve the above problems, the purpose of the present invention is to provide a firmware upgrade method and system based on an EPA bus, which aims at the scenario of batch module upgrade in the system, improves the debugging efficiency of system function development, has higher reliability, shorter time consumption, is more conducive to product confidentiality, and reduces the development difficulty.

[0005] The technical solution provided by the present invention is as follows: A firmware upgrade method based on an EPA bus, which is applied to an industrial system communicating using an EPA bus. The industrial system includes a CPU communication module and at least one coupled communication module. The CPU communication module has a remote upgrade interface communicatively connected to a host computer. The coupled communication module is communicatively connected to the CPU communication module through an EPA bus, and includes the following steps:

[0006] The CPU communication module obtains the message content carrying the firmware execution command and the firmware upgrade program from the host computer through the remote upgrade interface, and parses out the IP address of the target upgrade module, as well as the firmware program for erasing, reading, and writing the new version;

[0007] The CPU communication module identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade;

[0008] The CPU communication module identifies the firmware execution command. If the target upgrade module is a coupled communication module, it converts the obtained firmware upgrade message into the message format of the EPA and sends it to the coupled communication module through the EPA bus interface;

[0009] After the coupled communication module obtains the EPA message carrying the firmware execution command and the firmware upgrade program, it forwards the EPA message to the next coupled communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade.

[0010] Preferably, the message content carrying the firmware execution command and the firmware upgrade program communicates in a broadcast form. The data segment after the message header includes the IP address of the target upgrade module, the Flash operation command, and the firmware upgrade program. The CPU communication module or the coupled communication module actively determines whether to perform a firmware upgrade based on the IP address of the target upgrade module.

[0011] Preferably, when the CPU communication module identifies the firmware execution command and, if the target upgrade module is itself, extracts the firmware upgrade program for upgrade, it further includes:

[0012] Convert the firmware execution command and the firmware upgrade program into register instructions or data operation instructions corresponding to Flash programming, and convert them into the timing corresponding to the Flash interface and transfer them to Flash programming. After completing the firmware upgrade operation, the CPU communication module returns a firmware upgrade completion signal through the remote upgrade interface.

[0013] Preferably, after the coupled communication module obtains the EPA message carrying the firmware execution command and the firmware upgrade program, it forwards the EPA message to the next coupled communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade, and it further includes:

[0014] Parse out the IP address of the target upgrade module. If the target upgrade module is the current coupled module, identify the firmware execution command and perform the firmware upgrade operation. After completing the firmware upgrade operation, return a firmware upgrade completion signal to the CPU communication module through the EPA bus interface, and the CPU communication module returns the firmware upgrade completion signal to the host computer.

[0015] Preferably, the message content adopts the UDP protocol or the EPA bus protocol or the USB protocol format. The data segment of the message content includes the firmware execution command and the firmware upgrade program. The firmware execution command includes operation commands related to the Flash chip. The operation commands related to the Flash chip include, but are not limited to, the IP address of the target upgrade module, erasing, reading, and writing a new version of the firmware program. The firmware upgrade program is a BIN file generated by the IDE programming software.

[0016] Based on the same concept, the present invention also provides a firmware upgrade system based on the EPA bus, including a CPU communication module and at least one coupled communication module. The CPU communication module has a remote upgrade interface communicatively connected to a host computer. The coupled communication module is communicatively connected to the CPU communication module through the EPA bus. The CPU communication module obtains, through the remote upgrade interface, the message content carrying the firmware execution command and the firmware upgrade program from the host computer, and parses out the IP address of the target upgrade module, and includes erasing, reading, and writing the new version of the firmware program;

[0017] The CPU communication module recognizes the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade; if the target upgrade module is the coupled communication module, it converts the obtained firmware upgrade message into the message format of the EPA and sends it to the coupled communication module through the EPA bus interface;

[0018] After obtaining the EPA message carrying the firmware execution command and the firmware upgrade program, the coupled communication module forwards the EPA message to the next coupled communication module, and at the same time recognizes the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade.

[0019] Preferably, the CPU communication module includes a communication interface module, an EPA protocol conversion module, and a Flash chip control module. The communication interface module is used to obtain the firmware execution command and the firmware upgrade program through the remote upgrade interface, and parse the firmware execution command to confirm the target upgrade module and the corresponding operation instructions; the EPA protocol conversion module is used to convert the obtained firmware execution command and the firmware upgrade program into the message format of the EPA bus and send it to the coupled communication module; the Flash chip control module is used to execute operation commands related to the Flash chip, including erasing, reading, and writing the new version of the firmware program.

[0020] Preferably, the coupled communication module includes a communication interface module, a forwarding module, and a Flash chip control module. The communication interface module is used to obtain the EPA bus message carrying the firmware execution command and the firmware upgrade program through the EPA bus interface, and parse the firmware execution command to confirm the target upgrade module and the related operation instructions; the forwarding module is used to forward the EPA bus message carrying the firmware execution command and the firmware upgrade program obtained through the EPA bus interface to other cascaded coupled communication modules.

[0021] Based on the same concept, the present invention also provides an electronic device, including:

[0022] A memory for storing a processing program;

[0023] A processor, when executing the processing program, implements the firmware upgrade method based on the EPA bus described in any one of the above.

[0024] Based on the same concept, the present invention also provides a readable storage medium, on which a processing program is stored. When the processing program is executed by a processor, it implements the firmware upgrade method based on the EPA bus described in any one of the above.

[0025] Due to the above technical solutions, the present invention has the following advantages and positive effects compared with the prior art:

[0026] The technical solution of the present invention receives the message content from the host computer through the CPU communication module. While the CPU communication module judges whether it is its own upgrade program, it broadcasts the message content through the EPA bus. The cascaded coupling communication module also judges whether it is its own upgrade program while transmitting the message content to the next-level coupling communication module. That is, the message is sent in a broadcast manner, but based on the characteristics of the EPA communication protocol, each communication module can independently judge whether it is its own upgrade program, and the processing is efficient. In the prior art, general communication protocols often need to establish a connection between points in advance, and then communication transmission and upgrade can be realized. The technical solution of this embodiment is based on the characteristics of the EPA communication protocol. For large industrial control systems, only by connecting the host computer to the CPU communication module quickly can the firmware of any subsystem in the system be upgraded online, reducing the disassembly of the module shell, thereby reducing the wear of the hardware board and the misoperation during the manual plugging and unplugging of the module and the disassembly of the shell, and improving the reliability of the firmware update of the system communication module. This method of remotely upgrading the communication module in the system, especially for the scenario of batch module upgrade in the system, improves the debugging efficiency of system function development, has higher reliability, shorter time consumption, is more conducive to the confidentiality of the product, and reduces the development difficulty. Description of the Drawings

[0027] The following further details the specific embodiments of the present invention with reference to the drawings, where:

[0028] Figure 1 It is a schematic diagram of an industrial system using the EPA bus for communication;

[0029] Figure 2 It is a schematic diagram of the flow of the firmware upgrade method based on the EPA bus of the present invention;

[0030] Figure 3 It is a diagram indicating the data segment content of the message content. Detailed Embodiments

[0031] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer according to the following description and the claims. It should be noted that the accompanying drawings are all in a very simplified form and use non-precise ratios, only for the purpose of facilitating and clearly assisting in explaining the purpose of the embodiments of the present invention.

[0032] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relative positional relationship and movement conditions between components in a specific posture. If the specific posture changes, the directional indications will also change accordingly.

[0033] The First Embodiment

[0034] This embodiment provides a firmware upgrade method based on the EPA bus, which is applied to an industrial system that communicates using the EPA bus. The industrial system includes a CPU communication module and at least one coupled communication module. The CPU communication module has a remote upgrade interface that communicates with the upper computer, and the coupled communication module communicates with the CPU communication module through the EPA bus. The method includes the following steps:

[0035] The CPU communication module obtains the message content carrying the firmware execution command and the firmware upgrade program from the upper computer through the remote upgrade interface, and parses out the IP address of the target upgrade module, as well as includes erasing, reading, and writing the new version of the firmware program.

[0036] The CPU communication module identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrading.

[0037] The CPU communication module identifies the firmware execution command. If the target upgrade module is the coupled communication module, it converts the obtained firmware upgrade message into the message format of the EPA and sends it to the coupled communication module through the EPA bus interface.

[0038] After obtaining the EPA message carrying the firmware execution command and the firmware upgrade program, the coupled communication module forwards the EPA message to the next coupled communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrading.

[0039] See Figure 1 , the CPU communication module and any number of coupled communication modules. The CPU communication module communicates with the upper computer through the remote upgrade interface above, and communicates with the coupled communication module through the EPA bus below; the coupled communication module communicates with the CPU communication module through the EPA bus above, and communicates with other coupled communication modules through the EPA bus below. See Figure 2, which shows the schematic flow diagram of the firmware upgrade method based on the EPA bus of the present invention. The technical solution of this embodiment receives the message content from the host computer through the CPU communication module. While the CPU communication module determines whether it is its own upgrade program, it broadcasts the message content through the EPA bus. The cascaded coupled communication module also determines whether it is its own upgrade program while transmitting the message content to the next-level coupled communication module, that is, the message is sent in a broadcast manner. However, based on the characteristics of the EPA communication protocol, each communication module can independently determine whether it is its own upgrade program, and the processing is efficient. In the prior art, general communication protocols often need to establish a connection between points in advance, and then communication transmission and upgrade can be achieved. Based on the characteristics of the EPA communication protocol, the technical solution of this embodiment only needs to connect the host computer to the CPU communication module for the large industrial control system to realize the online firmware upgrade of any subsystem in the system, reducing the disassembly of the module housing, thereby reducing the wear of the hardware board and the misoperation during the manual plugging and unplugging of the module and the disassembly of the housing, and improving the reliability of the firmware update of the system communication module. This method of remotely upgrading the communication module in the system, especially for the scenario of batch module upgrade in the system, improves the debugging efficiency of system function development, has higher reliability, shorter time consumption, is more conducive to product confidentiality and reduces the development difficulty.

[0040] Preferably, the message content carrying the firmware execution command and the firmware upgrade program communicates in a broadcast form. The data segment after the message header includes the IP address of the target upgrade module, the Flash operation command, and the firmware upgrade program. The CPU communication module or the coupled communication module actively determines whether to perform firmware upgrade based on the IP address of the target upgrade module.

[0041] In the technical solution of this embodiment, based on the characteristics of the EPA communication protocol, the data segment after the message header includes the IP address of the target upgrade module, the Flash operation command, and the firmware upgrade program, so that each communication module can independently identify whether the message content is its own upgrade program.

[0042] Preferably, the CPU communication module identifies the firmware execution command. If the target upgrade module is itself, extracting the firmware upgrade program for upgrade further includes:

[0043] Converting the firmware execution command and the firmware upgrade program into register instructions or data operation instructions corresponding to the Flash writing, and converting them into the timing corresponding to the Flash interface and transmitting them to the Flash writing. After completing the firmware upgrade operation, the CPU communication module returns a firmware upgrade completion signal through the remote upgrade interface.

[0044] The CPU communication module determines whether the received message content is its own upgrade program. If so, it replaces it with register instructions or data operation instructions corresponding to flash writing, and converts it into the timing corresponding to the flash interface and transmits it to the flash writing module.

[0045] Preferably, after the coupling communication module obtains the EPA message carrying the firmware execution command and the firmware upgrade program, it forwards the EPA message to the next coupling communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, extracting the firmware upgrade program for upgrading further includes:

[0046] Parse out the IP address of the target upgrade module. If the target upgrade module is the current coupling module, identify the firmware execution command and perform the firmware upgrade operation. After completing the firmware upgrade operation, return a firmware upgrade completion signal to the CPU communication module through the EPA bus interface, and the CPU communication module returns the firmware upgrade completion signal to the host computer.

[0047] The coupling communication module determines whether the received message content is its own upgrade program. If so, it replaces it with register instructions or data operation instructions corresponding to flash writing, and converts it into the timing corresponding to the flash interface and transmits it to the flash writing module.

[0048] Preferably, referring to Figure 3 , the message content adopts the UDP protocol or the EPA bus protocol or the USB protocol format. The data segment of the message content includes a firmware execution command and a firmware upgrade program. The firmware execution command includes operation commands related to the Flash chip. The operation commands related to the Flash chip include, but are not limited to, the IP address of the target upgrade module, erasing, reading, and writing a new version of the firmware program. The firmware upgrade program is a BIN file generated by the IDE programming software.

[0049] The technical solution of this embodiment does not limit the protocol format of the message content received from the host computer. A firmware execution command and a firmware upgrade program are added to the data segment. The firmware execution command includes operation commands related to the Flash chip such as the IP address of the target upgrade module, erasing, reading, and writing a new version of the firmware program. The EPA protocol conversion module in the CPU communication module can convert it into the EPA protocol and then perform subsequent judgment, upgrade, and forwarding operations.

[0050] Based on the same concept, the present invention also provides a firmware upgrade system based on the EPA bus, including a CPU communication module and at least one coupled communication module. The CPU communication module has a remote upgrade interface communicatively connected to a host computer. The coupled communication module is communicatively connected to the CPU communication module via the EPA bus. The CPU communication module obtains the message content carrying the firmware execution command and the firmware upgrade program from the host computer through the remote upgrade interface, and parses out the IP address of the target upgrade module, as well as including erasing, reading, and writing the new version of the firmware program.

[0051] The CPU communication module identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade. If the target upgrade module is the coupled communication module, it converts the obtained firmware upgrade message into the message format of the EPA and sends it to the coupled communication module through the EPA bus interface.

[0052] After obtaining the EPA message carrying the firmware execution command and the firmware upgrade program, the coupled communication module forwards the EPA message to the next coupled communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade.

[0053] The CPU communication module and the coupled communication module are communicatively interconnected through the EPA bus interface. The CPU communication module is equipped with a remote upgrade interface, an EPA bus interface, etc. The coupled module is equipped with two EPA bus interfaces. The CPU communication module includes a communication interface module, an EPA protocol conversion module, a Flash chip control module, etc. The coupled communication module includes a communication interface module, a forwarding module, a Flash chip control module, etc. The CPU communication module is connected to the host computer through the remote upgrade interface above and connected to the coupled communication module through the EPA bus interface below.

[0054] Preferably, the CPU communication module includes a communication interface module, an EPA protocol conversion module, and a Flash chip control module. The communication interface module is used to obtain the firmware execution command and the firmware upgrade program through the remote upgrade interface, and parse the firmware execution command to confirm the target upgrade module and the corresponding operation instructions. The EPA protocol conversion module is used to convert the obtained firmware execution command and the firmware upgrade program into the message format of the EPA bus and send it to the coupled communication module. The Flash chip control module is used to execute operation commands related to the Flash chip, including erasing, reading, and writing the new version of the firmware program.

[0055] Preferably, the coupled communication module includes a communication interface module, a forwarding module, and a Flash chip control module. The communication interface module is used to obtain an EPA bus message carrying a firmware execution command and a firmware upgrade program through an EPA bus interface, and parse the firmware execution command to confirm a target upgrade module and related operation instructions. The forwarding module is used to forward the EPA bus message carrying the firmware execution command and the firmware upgrade program obtained through the EPA bus interface to other cascaded coupled communication modules.

[0056] Based on the same concept, the present invention also provides an electronic device, including:

[0057] A memory for storing a processing program;

[0058] A processor that implements the method for upgrading firmware based on the EPA bus according to any one of the above when executing the processing program.

[0059] Based on the same concept, the present invention also provides a readable storage medium with a processing program stored thereon. When the processing program is executed by a processor, it implements the method for upgrading firmware based on the EPA bus according to any one of the above.

[0060] If the method for upgrading firmware based on the EPA bus is implemented in the form of program instructions and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of software. This computer software is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0061] Those skilled in the art can clearly understand that for the sake of convenience and brevity of description, the specific identification content executed by the above-described system and device can refer to the corresponding process in the foregoing method embodiments.

[0062] The embodiments of the present invention have been described in detail above in conjunction with the drawings, but the present invention is not limited to the above embodiments. Even if various changes are made to the present invention, provided that these changes fall within the scope of the claims of the present invention and their equivalent technologies, they still fall within the protection scope of the present invention.

Claims

1. A firmware upgrade method based on the EPA bus, which is applied to an industrial system that communicates using the EPA bus. The industrial system includes a CPU communication module and at least one coupled communication module. The CPU communication module has a remote upgrade interface that is communicatively connected to a host computer. The coupled communication module is communicatively connected to the CPU communication module via the EPA bus. It is characterized in that, The steps include: The CPU communication module obtains the message content carrying the firmware execution command and the firmware upgrade program from the host computer through the remote upgrade interface, and parses out the IP address of the target upgrade module, and includes erasing, reading, and writing the new version of the firmware program; The CPU communication module identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade; The CPU communication module identifies the firmware execution command. If the target upgrade module is the coupling communication module, it converts the obtained firmware upgrade message into the message format of EPA and sends it to the coupling communication module through the EPA bus interface; After the coupling communication module obtains the EPA message carrying the firmware execution command and the firmware upgrade program, it forwards the EPA message to the next coupling communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrade.

2. The firmware upgrade method based on the EPA bus according to claim 1, wherein The message content carrying the firmware execution command and the firmware upgrade program communicates in a broadcast form. The data segment after the message header includes the IP address of the target upgrade module, the Flash operation command, and the firmware upgrade program. The CPU communication module or the coupling communication module actively judges whether to perform firmware upgrade based on the IP address of the target upgrade module.

3. The firmware upgrade method based on the EPA bus according to claim 1, wherein The CPU communication module identifies the firmware execution command. If the target upgrade module is itself, the further steps of extracting the firmware upgrade program for upgrade include: Converting the firmware execution command and the firmware upgrade program into register instructions or data operation instructions corresponding to Flash programming, converting them into the timing corresponding to the Flash interface and transmitting them to the Flash for programming. After completing the firmware upgrade operation, the CPU communication module returns a firmware upgrade completion signal through the remote upgrade interface.

4. The firmware upgrade method based on the EPA bus according to claim 1, wherein After the coupling communication module obtains the EPA message carrying the firmware execution command and the firmware upgrade program, it forwards the EPA message to the next coupling communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, the further steps of extracting the firmware upgrade program for upgrade include: Parsing out the IP address of the target upgrade module. If the target upgrade module is the current coupling module, it identifies the firmware execution command and performs the firmware upgrade operation. After completing the firmware upgrade operation, it returns a firmware upgrade completion signal to the CPU communication module through the EPA bus interface, and the CPU communication module returns the firmware upgrade completion signal to the host computer.

5. The firmware upgrade method based on the EPA bus according to claim 1, characterized in that The message content adopts the UDP protocol or the EPA bus protocol or the USB protocol format. The data segment of the message content includes the firmware execution command and the firmware upgrade program. The firmware execution command includes operation commands related to the Flash chip. The operation commands related to the Flash chip include, but are not limited to, the IP address of the target upgrade module, erasing, reading, and writing the new version of the firmware program. The firmware upgrade program is a BIN file generated by the IDE programming software.

6. A firmware upgrade system based on the EPA bus, characterized in that, It includes a CPU communication module and at least one coupled communication module. The CPU communication module has a remote upgrade interface for communicating with a host computer. The coupled communication module is communicatively connected to the CPU communication module via an EPA bus. The CPU communication module obtains the message content carrying the firmware execution command and the firmware upgrade program from the host computer through the remote upgrade interface, and parses out the IP address of the target upgrade module, as well as operations including erasing, reading, and writing the new version of the firmware program. The CPU communication module identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrading. If the target upgrade module is the coupled communication module, it converts the obtained firmware upgrade message into the message format of EPA and sends it to the coupled communication module through the EPA bus interface. After the coupled communication module obtains the EPA message carrying the firmware execution command and the firmware upgrade program, it forwards the EPA message to the next coupled communication module, and at the same time identifies the firmware execution command. If the target upgrade module is itself, it extracts the firmware upgrade program for upgrading.

7. The firmware upgrade system based on the EPA bus according to claim 6, characterized in that, The CPU communication module includes a communication interface module, an EPA protocol conversion module, and a Flash chip control module. The communication interface module is used to obtain the firmware execution command and the firmware upgrade program through the remote upgrade interface, and parse the firmware execution command to confirm the target upgrade module and the corresponding operation instructions. The EPA protocol conversion module is used to convert the obtained firmware execution command and the firmware upgrade program into the message format of the EPA bus and send it to the coupled communication module. The Flash chip control module is used to execute operation commands related to the Flash chip, including erasing, reading, and writing the new version of the firmware program.

8. The firmware upgrade system based on the EPA bus according to claim 6, wherein, The coupled communication module includes a communication interface module, a forwarding module, and a Flash chip control module. The communication interface module is used to obtain the EPA bus message carrying the firmware execution command and the firmware upgrade program through the EPA bus interface, and parse the firmware execution command to confirm the target upgrade module and the relevant operation instructions. The forwarding module is used to forward the EPA bus message carrying the firmware execution command and the firmware upgrade program obtained through the EPA bus interface to other cascaded coupled communication modules.

9. An electronic device, characterized in that, Comprising: A memory for storing a processing program. A processor, when executing the processing program, implements the firmware upgrade method based on the EPA bus as described in any one of claims 1 to 5.

10. A readable storage medium, characterized in that, The processing program is stored on the readable storage medium, and when the processing program is executed by the processor, it implements the firmware upgrade method based on the EPA bus as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method based on controller area network (CAN) bus and used for conducting batch upgrading for device firmware

    CN102546784A

  • Low-voltage energy storage system software upgrading method and device, electronic equipment and storage medium

    CN116860294A