CPLD (Complex Programmable Logic Device) remote online upgrading method and system based on SPI (Serial Peripheral Interface) communication and electronic equipment

The remote online upgrade of CPLD is realized through the SPI communication protocol, which solves the problems of cumbersome upgrade methods and low transmission rates in traditional CPLDs, and realizes an efficient and reliable automatic upgrade process.

CN120474912APending Publication Date: 2025-08-12EAST GRP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510649490.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

The existing CPLD upgrade method relies on traditional burners to operate cumbersomely, and the traditional remote online upgrade hardware is complex and the transmission rate is not high, making it difficult to meet the needs of efficient large-scale system upgrades.

Method used

The SPI communication protocol is used to transmit CPLD upgrade files to the main control chip through the CAN communication protocol, and the SPI communication protocol is used to transmit data to CPLD to realize remote online upgrades, support breakpoint continuous transmission and data verification, and self-refresh operations.

Benefits of technology

It realizes automatic upgrade without manual intervention, improves system maintenance efficiency and flexibility, enhances system reliability and stability, and shortens upgrade time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120474912A_ABST
    Figure CN120474912A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of CPLD upgrading, and discloses a CPLD remote online upgrading method and system based on SPI communication and electronic device.The method comprises the steps that binary format data of a CPLD upgrading file is transmitted to a main control chip through a CAN communication protocol, and upgrading data is obtained; and the master control chip transmits the upgrade data to the CPLD by using an SPI communication protocol, receives and writes the data, and completes remote online upgrade of the CPLD. The CPLD is upgraded based on the SPI communication protocol, dependence on a traditional programmer is eliminated, the system can be automatically upgraded during normal operation, manual intervention or shutdown is not needed, the efficiency and flexibility of system maintenance are improved, and the reliability and stability of the system are enhanced. Compared with a traditional JTAG interface, the SPI protocol supports full-duplex communication, and the transmission rate is higher, so that data transmission can be completed more quickly, and the system upgrading time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of CPLD upgrade, and in particular to a CPLD remote online upgrade method, system and electronic equipment based on SPI communication. Background Art

[0002] CPLDs (Complex Programmable Logic Devices) are widely used in product prototyping and production due to their flexible programming, short development cycles, and low manufacturing costs. With technological advancements, the structure of CPLDs has evolved from logic macrocells to an FPGA structure with built-in flash memory, resulting in superior performance. Currently, CPLD upgrades are primarily performed through emulator programming and online upgrades. However, these methods have the following drawbacks:

[0003] 1. Traditional upgrade methods typically rely on dedicated programmers to upgrade CPLD firmware via the JTAG interface. To perform the upgrade, this method requires opening the device's casing, plugging in the programmer, and transferring data via the JTAG interface. This approach is not only cumbersome but also has several limitations. Frequent upgrades, in particular, can significantly increase the cost and time of manual intervention.

[0004] 2. Traditional CPLD remote online upgrade methods still rely on the system's CPU or MCU configuring corresponding GPIOs to simulate JTAG timing and write data into them to complete the upgrade. Due to its parallelism and the large number of control lines, the JTAG interface hardware and implementation are generally more complex, and the transmission rate is not high. Therefore, although this method can achieve remote online upgrades, its complex hardware requirements and slow transmission speed limit its application in high-efficiency, large-scale systems. Therefore, there is a need to improve the existing technology.

[0005] The above information is presented as background information only to assist with an understanding of the present disclosure and is not a determination or admission that any of the above may be applicable as prior art with respect to the present disclosure. Summary of the Invention

[0006] The present invention provides a CPLD remote online upgrade method, system and electronic equipment based on SPI communication, so as to solve the problems existing in the prior art.

[0007] To achieve the above objectives, the present invention provides the following technical solutions:

[0008] A CPLD remote online upgrade method based on SPI communication, comprising:

[0009] The binary format data of the CPLD upgrade file is transmitted to the main control chip through the CAN communication protocol to obtain the upgrade data;

[0010] The main control chip transmits the upgrade data to the CPLD using the SPI communication protocol, receives and writes the data, and completes the remote online upgrade of the CPLD.

[0011] Optionally, the CPLD remote online upgrade method based on SPI communication further includes:

[0012] After the system boots up and enters the configuration initialization interface, it initializes the hardware components, sets the initialization address, and enables the flash memory for data pre-reading;

[0013] The data pre-reading includes:

[0014] The data in the flash memory is read sequentially until the last page of data is read, and the required update data is loaded into the internal memory.

[0015] Optionally, the CPLD remote online upgrade method based on SPI communication further includes:

[0016] After receiving and writing data, exit the programming mode and perform the refresh operation;

[0017] The refresh operation includes: verifying the validity of the new program, loading the new firmware and performing initial configuration.

[0018] Optionally, the main control chip integrates a CAN communication module and an SPI communication function module for protocol conversion and data transmission control.

[0019] Optionally, after receiving the binary file, the main control chip processes the upgrade data;

[0020] When the CPLD receives data, it verifies the data. If the verification fails, it requests the main control chip to retransmit the data.

[0021] Optionally, the CPLD remote online upgrade method based on SPI communication further includes:

[0022] When the upgrade process is interrupted, the main control chip records the successfully transmitted data and the corresponding progress information;

[0023] When the system restarts, the unfinished data transmission continues according to the recorded information.

[0024] Optionally, the CPLD remote online upgrade method based on SPI communication further includes:

[0025] The main control chip monitors the network connection status in real time during the transmission process;

[0026] If a communication interruption is detected, the current transfer progress is saved to non-volatile memory.

[0027] Optionally, the CPLD remote online upgrade method based on SPI communication further includes, before transmitting the CPLD upgrade file:

[0028] Verifying the integrity of the binary format data;

[0029] After obtaining the upgrade data, it also includes:

[0030] Check the firmware version of the target CPLD contained in the upgrade data and check its compatibility with the version of the CPLD upgrade file.

[0031] If the versions are incompatible, the upgrade process is terminated and an alarm is generated.

[0032] The present invention also provides a CPLD remote online upgrade system based on SPI communication, which is used to implement the CPLD remote online upgrade method based on SPI communication as described in any of the above items, comprising:

[0033] The host computer or cloud platform is used to generate and send CPLD upgrade files;

[0034] The main control chip integrates CAN communication module and SPI communication function module, which is used for receiving, processing and transmission control of upgrade files;

[0035] CPLD is used to receive upgrade data, perform data verification, support breakpoint resume, and complete self-refresh operations after the upgrade.

[0036] The present invention also provides an electronic device, which includes a memory and a processor.

[0037] memory for storing computer programs;

[0038] A processor is used to execute a computer program to implement the CPLD remote online upgrade method based on SPI communication as described in any one of the above items.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] The present invention provides a method, system, and electronic device for remote online upgrading of CPLDs based on SPI communication. This method uses the SPI communication protocol to upgrade CPLDs, eliminating reliance on traditional programmers. The system can automatically upgrade during normal operation without manual intervention or downtime, improving system maintenance efficiency and flexibility, and enhancing system reliability and stability. Compared to the traditional JTAG interface, the SPI protocol supports full-duplex communication and has a higher transmission rate, enabling faster data transmission and shortening system upgrade time.

[0041] The present invention has other features and advantages that will be apparent from or will be described in detail in the accompanying drawings and the following detailed description incorporated herein, which together serve to explain certain principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0043] Figure 1 This is a flow chart of a CPLD remote online upgrade method based on SPI communication provided in the first embodiment of the present invention;

[0044] Figure 2 This is a flow chart of CPLD online upgrade in a CPLD remote online upgrade method based on SPI communication provided in the first embodiment of the present invention;

[0045] Figure 3 This is a block diagram of a communication program based on SPI in a CPLD remote online upgrade method based on SPI communication provided in the first embodiment of the present invention;

[0046] Figure 4 This is a structural block diagram of a CPLD remote online upgrade system based on SPI communication provided in the second embodiment of the present invention.

[0047] Reference numerals: 10, data source end; 20, main control chip; 30, CPLD. DETAILED DESCRIPTION

[0048] In order to explain in detail the possible application scenarios, technical principles, specific solutions that can be implemented, and the purpose and effects of this application, the following is a detailed description of the specific embodiments listed in conjunction with the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of this application and are therefore only examples and are not intended to limit the scope of protection of this application.

[0049] References to "embodiments" herein mean that the specific features, structures, or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the word "embodiment" in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or relevance to other embodiments. In principle, in this application, as long as there are no technical contradictions or conflicts, the various technical features mentioned in the embodiments can be combined in any manner to form a corresponding implementable technical solution.

[0050] Unless otherwise defined, the technical terms used herein have the same meanings as those generally understood by those skilled in the art to which this application belongs; the use of relevant terms herein is only for describing specific embodiments and is not intended to limit this application.

[0051] In the description of this application, the term "and / or" is used to describe a logical relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A exists, B exists, and both A and B exist. In addition, the character " / " in this document generally indicates that the objects before and after are in a logical "or" relationship.

[0052] In this application, terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual quantity, priority or sequence relationship between these entities or operations.

[0053] Without further limitations, in this application, the words "include", "comprise", "have" or other similar expressions used in the sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those defined elements, but also other elements not explicitly listed, or elements inherent to such process, method or product.

[0054] Consistent with the understanding in the Examination Guidelines, in this application, expressions such as "greater than," "less than," and "exceed" are understood to exclude the number itself; expressions such as "above," "below," and "within" are understood to include the number itself. Furthermore, in the description of the embodiments of this application, "multiple" means more than two (including two), and similar expressions related to "multiple" are also understood in this manner, such as "multiple groups," "multiple times," etc., unless otherwise specifically defined.

[0055] In the description of the embodiments of the present application, the space-related expressions used, such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "vertical", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate the orientation or position relationship based on the orientation or position relationship shown in the specific embodiments or drawings, and are only for the convenience of describing the specific embodiments of the present application or facilitating the reader's understanding, and do not indicate or imply that the device or component referred to must have a specific position, a specific orientation, or be constructed or operated in a specific orientation. Therefore, it should not be understood as a limitation on the embodiments of the present application.

[0056] Unless otherwise expressly specified or limited, in the description of the embodiments of the present application, the terms "installed", "connected", "connected", "fixed", "set", etc. used should be understood in a broad sense. For example, the "connection" can be a fixed connection, a detachable connection, or an integrated setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For those skilled in the art of the present application, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0057] The core of the present invention is to provide a CPLD remote online upgrade method based on SPI communication, which can efficiently and reliably realize the remote online upgrade of CPLD. Another core of the present invention is to provide a CPLD remote online upgrade system based on SPI communication, which has the above technical effects.

[0058] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0059] Currently, CPLD upgrade methods have numerous shortcomings. Traditional programmer upgrades are cumbersome, require manual on-site operation, and are inefficient, making them difficult to meet the needs of large-scale device upgrades. Traditional remote online upgrades also suffer from complex hardware structures, suboptimal transmission rates, and interruptions during the upgrade often require restarting, wasting time and resources. Therefore, to address the technical shortcomings of traditional upgrade solutions, the present invention provides a CPLD remote online upgrade method and system based on SPI communication, enabling efficient, flexible, and reliable remote online upgrades of CPLDs.

[0060] Example 1

[0061] Please refer to Figure 1 ,refer to Figure 1 As shown, the upgrade method mainly includes:

[0062] S1. Transmit the binary format data of the CPLD upgrade file to the main control chip through the CAN communication protocol to obtain the upgrade data.

[0063] The upgrade program generated by the CPLD is usually compiled first and then converted into a binary file. These binary files contain all the necessary data for updating the CPLD firmware.

[0064] Specifically, step S1 involves the host computer or cloud platform and the main control chip. After collecting and preparing the binary data of the CPLD upgrade file, the host computer or cloud platform sends it to the main control chip via the CAN communication protocol. The main control chip receives this data and prepares for subsequent upgrade operations.

[0065] The binary data of the CPLD upgrade file sent by the host computer or cloud platform includes relevant information about the system where the CPLD to be upgraded is located, such as the identification of the main control chip. Based on this information, the host computer or cloud platform accurately sends the binary data to the main control chip via the CAN communication protocol.

[0066] Specifically, in an industrial control system, the host computer can be a monitoring computer, which integrates the upgrade requirements of various devices and sends the corresponding binary files to the main control chip; in the Internet of Things scenario, the cloud platform pushes the binary files to the main control chip based on the device's registration information and upgrade strategy.

[0067] S2. The main control chip transmits the upgrade data to the CPLD based on the SPI communication protocol, receives and writes the data, and completes the remote online upgrade of the CPLD.

[0068] Specifically, after receiving the upgrade data, the main control chip uses its integrated CAN communication module and SPI communication function module to transmit the upgrade data to the CPLD. After receiving the data, the CPLD performs operations such as data verification to ensure data accuracy, and then writes the data to the target storage area to complete the firmware upgrade.

[0069] The SPI communication protocol is used for communication between the main control chip and the CPLD. The SPI communication protocol supports full-duplex communication and has a higher transmission rate than the traditional JTAG interface. The SPI communication method is relatively simple, which can reduce system design complexity and development costs.

[0070] During the upgrade process, file transfer is typically performed via a host computer or monitoring cloud platform. Specifically, a binary file is transferred from the host computer or cloud platform to the main control chip via the CAN communication protocol. A pre-installed program within the main control chip receives the binary file and passes it back to the CPLD via the SPI communication protocol, completing the firmware upgrade process.

[0071] Specifically, the main control chip monitors the network connection status in real time during the transmission process. If it detects an SPI communication interruption, it will save the current transmission progress to non-volatile memory. After receiving the data, the CPLD will perform data verification and other operations to ensure data accuracy.

[0072] In addition, in a specific implementation, the aforementioned data transmission process also involves a data verification step in a data processing mechanism.

[0073] Specifically, when sending data, the main control chip calculates a CRC checksum and appends it to the end of the data packet. Upon receiving the data, the CPLD verifies its integrity based on the CRC checksum. If the checksum passes, the CPLD writes the data to the target storage area and sends a confirmation signal back to the main control chip. If the checksum fails, the CPLD requests the main control chip to retransmit the current data block. If the main chip does not receive a confirmation signal, it automatically retransmits the current data block. The maximum number of retries can be set based on actual needs.

[0074] Among them, if the data verification still fails after multiple retransmissions, the main control chip can feedback abnormal information to the host computer or cloud platform so that the host computer or cloud platform can take corresponding measures, such as resending the upgrade file.

[0075] During the upgrade process, the breakpoint resume function in the data processing mechanism is also involved.

[0076] Specifically, if the upgrade process is interrupted due to a network outage, power failure, or other reasons, the main control chip automatically records the successfully transferred data and the corresponding progress information and saves the relevant progress information to non-volatile memory. When the system restarts, the main control chip reads the stored progress information and continues to transfer the unfinished data based on the recorded information.

[0077] Furthermore, the specific operations after the CPLD completes data reception and writing also include a post-upgrade program self-check in the data processing mechanism.

[0078] Specifically, after the CPLD completes data reception and writing, it enters the self-refresh state. In this state, the CPLD verifies the validity of the new program, such as checking the integrity of the program code and the correctness of its functions; loads the new firmware, loading the updated program into the CPLD's operating environment; and performs initial configuration, initializing the CPLD's relevant parameters and logic units to ensure that the new version of the program can start normally and run stably.

[0079] Furthermore, based on the above embodiments, as a specific implementation method, the main control chip is also used to feedback the CPLD upgrade progress to the host computer or cloud platform, so that the host computer or cloud platform can display the CPLD upgrade progress in real time and summarize the upgrade results to generate an upgrade record.

[0080] Specifically, each time the main control chip sends data to the CPLD, it reads the status information fed back by the CPLD, such as whether the data was successfully received. Based on the total amount of data to be sent and the data sent each time, the main control chip can learn the CPLD upgrade progress and further feedback the upgrade progress to the host computer or cloud platform.

[0081] Furthermore, based on the feedback of the CPLD upgrade progress from the host computer or cloud platform, the host computer or cloud platform can also display the CPLD upgrade progress in real time, summarize the CPLD upgrade results and generate upgrade records, including statistics on device information that failed to upgrade, and generate reports so that management personnel can grasp the upgrade status in a timely manner.

[0082] Please refer to Figure 2 Flowchart of CPLD online upgrade, and Figure 3 In the SPI communication program flowchart, in this embodiment, the specific upgrade process includes:

[0083] The upgrade process begins by booting the system and entering the configuration initialization interface. Here, the system initializes the necessary hardware components and prepares for subsequent operations. Next, the system sets the initialization address according to pre-set logic and enables the flash memory for data access. By enabling the flash memory, the system can access the firmware data stored there. Next, the system performs a pre-read operation, sequentially reading data from the flash memory until the last page is reached. This pre-read ensures that all data to be updated is correctly loaded into memory, preparing for the subsequent firmware write. After the data read is complete, the system exits programming mode and automatically switches to self-refresh mode. This phase is critical, as self-refresh mode ensures stable and continuous updates of the new firmware code without disrupting existing system operations. This ensures smooth firmware upgrades and ensures stable and reliable operation after the update.

[0084] Example 2

[0085] Based on the above embodiment, the present invention also provides a CPLD30 remote online upgrade system based on SPI communication. The system described below can be referenced with the method described above. Figure 4 , is a schematic diagram of the CPLD30 remote online upgrade system based on SPI communication, combined with Figure 4 As shown, the upgrade system includes:

[0086] The data source end 10 , which may be a host computer or a cloud platform, is used to generate and send a CPLD 30 upgrade file.

[0087] The main control chip 20 integrates a CAN communication module and an SPI communication function module for receiving, processing, and controlling the transmission of upgrade files. It also includes a breakpoint resume control module and a CRC checksum module. The breakpoint resume control module records the transmitted data and corresponding progress information, while the CRC checksum module generates and verifies the checksum field of the data packet.

[0088] CPLD30 is used to receive upgrade data, perform data verification, support breakpoint resume and complete self-refresh operation after upgrade.

[0089] Based on the above embodiment, as a specific implementation method, the host computer or cloud platform manages and distributes the CPLD30 upgrade file according to different application scenarios and requirements.

[0090] Based on the above embodiment, as a specific implementation method, the CAN communication module and the SPI communication function module of the main control chip 20 work together to achieve data conversion and transmission between different protocols.

[0091] Based on the above embodiment, as a specific implementation method, the SPI interface of the CPLD 30 and the non-volatile memory cooperate with each other to ensure accurate reception and storage of data.

[0092] The present invention also provides an electronic device, which includes a memory and a processor.

[0093] Memory for storing computer programs.

[0094] The processor is used to execute a computer program to implement the following steps: transmitting the binary format data of the CPLD30 upgrade file to the main control chip 20 through the CAN communication protocol to obtain the upgrade data; the main control chip 20 transmits the upgrade data to the CPLD30 based on the SPI communication protocol, receives and writes the data, and completes the remote online upgrade of the CPLD30.

[0095] For an introduction to the device provided by the present invention, please refer to the above method embodiment, and the present invention will not be elaborated here.

[0096] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the following steps can be implemented: binary format data of the CPLD30 upgrade file is transmitted to the main control chip 20 through the CAN communication protocol to obtain the upgrade data; the main control chip 20 transmits the upgrade data to the CPLD30 based on the SPI communication protocol, receives and writes the data, and completes the remote online upgrade of the CPLD30.

[0097] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0098] For an introduction to the computer-readable storage medium provided by the present invention, please refer to the above method embodiment, and the present invention will not elaborate on it here.

[0099] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of this application, this does not limit the scope of patent protection of this application. All technical solutions generated by replacing or modifying equivalent structures or equivalent processes based on the essential concepts of this application using the contents recorded in the specification and drawings of this application, as well as directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, are included in the scope of patent protection of this application.

Claims

1. A CPLD remote online upgrade method based on SPI communication, characterized in that: include: The binary format data of the CPLD upgrade file is transmitted to the main control chip through the CAN communication protocol to obtain the upgrade data; The main control chip transmits the upgrade data to the CPLD based on the SPI communication protocol, receives and writes the data, and completes the remote online upgrade of the CPLD.

2. the CPLD remote online upgrading method based on SPI communication according to claim 1, is characterized in that, Also includes: After the system boots up and enters the configuration initialization interface, it initializes the hardware components, sets the initialization address, and enables the flash memory for data pre-reading; The data pre-reading includes: The data in the flash memory is read sequentially until the last page of data is read, and the required update data is loaded into the internal memory.

3. the CPLD remote online upgrading method based on SPI communication according to claim 1, is characterized in that, Also includes: After receiving and writing data, exit the programming mode and perform the refresh operation; The refresh operation includes: verifying the validity of the new program, loading the new firmware and performing initial configuration.

4. the CPLD remote online upgrading method based on SPI communication according to claim 1, is characterized in that, The main control chip integrates a CAN communication module and an SPI communication function module for protocol conversion and data transmission control.

5. the CPLD remote online upgrading method based on SPI communication according to claim 1, is characterized in that, After receiving the binary file, the main control chip processes the upgrade data; When the CPLD receives data, it verifies the data. If the verification fails, it requests the main control chip to retransmit the data.

6. the CPLD remote online upgrading method based on SPI communication according to claim 1, is characterized in that, Also includes: When the upgrade process is interrupted, the main control chip records the successfully transmitted data and the corresponding progress information; When the system restarts, the unfinished data transmission continues according to the recorded information.

7. the CPLD remote online upgrading method based on SPI communication according to claim 6, is characterized in that, Also includes: The main control chip monitors the network connection status in real time during the transmission process; If a communication interruption is detected, the current transfer progress is saved to non-volatile memory.

8. the CPLD remote online upgrading method based on SPI communication according to claim 1, is characterized in that, Before transferring the CPLD upgrade file, the following steps must be performed: Verifying the integrity of the binary format data; After obtaining the upgrade data, it also includes: Check the firmware version of the target CPLD contained in the upgrade data and check its compatibility with the version of the CPLD upgrade file. If the versions are incompatible, the upgrade process is terminated and an alarm is generated.

9. A CPLD remote online upgrade system based on SPI communication, characterized in that: The method for implementing the CPLD remote online upgrade based on SPI communication according to any one of claims 1 to 8 comprises: The host computer or cloud platform is used to generate and send CPLD upgrade files; The main control chip integrates CAN communication module and SPI communication function module, which is used for receiving, processing and transmission control of upgrade files; CPLD is used to receive upgrade data, perform data verification, support breakpoint resume, and complete self-refresh operations after the upgrade.

10. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to execute a computer program to implement the CPLD remote online upgrade method based on SPI communication according to any one of claims 1 to 8.

Citation Information

Cited By

  • USB flash disk firmware security upgrading method and device and storage medium

    CN120744941A