ZYNQ product platform CAN interface online upgrading system and method

Through the CAN interface online upgrade system of the ZYNQ product platform, the coordinated work of the CAN interface and other modules is used to solve the problem of slow upgrade speed of traditional embedded CAN interface computer systems, long-distance and efficient software upgrades are achieved, and maintenance is improved efficiency.

CN119201806APending Publication Date: 2024-12-27SHENZHEN ZHONGLIANTUO CNC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411189988.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Traditional embedded CAN interface computer systems have problems such as short transmission distance and slow speed during software maintenance and upgrading, which limits the upgrade efficiency.

Method used

The CAN interface online upgrade system using the ZYNQ product platform is used to work together through the PL and PS parts of the ZYNQ product platform, the EMMC module, the DDR4 module and the embedded CAN interface computer module, and the program upload and download is used by the CAN interface, combining SPI and The JTAG interface enables fast and long-distance upgrades.

Benefits of technology

The upgrade of ZYNQ_FSBL.ELF, uboot and BIT units can be achieved without disassembling the product, reducing the travel overhead and workload of maintenance personnel and improving the upgrade speed and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201806A_ABST
    Figure CN119201806A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of product control and industrial automation of civil industry and military industry, in particular to a ZYNQ product platform CAN interface online upgrading system and method, and the system comprises a ZYNQ product platform PL part and a ZYNQ product platform PS part. The second FLASH module is in communication connection with the ZYNQ product platform PS part, and the first EMMC module is in communication connection with the ZYNQ product platform PS part; and the DDR4 module is connected with the ZYNQ product platform PL part and the ZYNQ product platform PS part at the same time. And the embedded CAN interface computer is provided. Therefore, the problem that the upgrading technology of the embedded CAN interface computer is difficult to realize is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the production and upgrading of products of the civilian industry and the military industry, and in particular to a ZYNQ product platform CAN interface online upgrading system and method. Background Art

[0002] Embedded CAN interface computer systems in civil industry need to implement software maintenance and updates through CANopen interface without disassembling the product. However, most traditional embedded CAN interface computer systems use RS232 interface for upgrade, which brings disadvantages such as short transmission distance and slow transmission speed.

[0003] The embedded CAN interface computer based on a ZYNQ platform has more advantages than the RS232 interface upgrade using the CAN interface, which is reflected in the shorter transmission distance and slow upgrade speed. Compared with the ZYNQ system program upload technology, the ZYNQ platform CAN interface program transmission technology solves the shortcomings of the ZYNQ product platform system with short transmission distance and slow transmission speed. Summary of the invention

[0004] In order to solve the problem of upgrading traditional embedded CAN interface computer programs and to have a better selection and upgrade transmission speed, the present invention provides a ZYNQ product platform CAN interface online upgrade system and method.

[0005] The present invention provides a ZYNQ product platform CAN interface online upgrade system and method, including:

[0006] ZYNQ product platform, which includes ZYNQ product platform PL part and ZYNQ product platform PS part;

[0007] A first EMMC module, wherein the first EMMC module is in a first communication connection with the first EMMC module;

[0008] A second FLASH module, the second FLASH module being in a second communication connection with the PS portion of the ZYNQ product platform;

[0009] A DDR4 module, the DDR4 module is connected to the ZYNQ product platform PL part and the ZYNQ product platform PS part at the same time, is connected to the ZYNQ product platform PL part in a third communication connection, and is connected to the ZYNQ product platform PS part in a fourth communication connection.

[0010] an embedded CAN interface computer module, the embedded CAN interface computer module being in fifth communication connection with the ZYNQ product platform;

[0011] In some embodiments, the second FLASH module includes a first boot file unit, a second boot file unit and a third boot file unit.

[0012] In some embodiments, the first boot file unit includes a ZYNQ_FSBL.ELF unit, a uboot unit, and a BIT unit.

[0013] In some embodiments, the ZYNQ product platform includes a PS portion and a PL portion;

[0014] The ZYNQ product platform PS part is connected to the ZYNQ_FSBL.ELF unit;

[0015] The PS part of the ZYNQ product platform is connected to the uboot unit;

[0016] The ZYNQ product platform PL part is connected to the BIT unit.

[0017] The PS part of the ZYNQ platform includes a CPU1th unit and a CPU2th unit;

[0018] The CPU1th unit is connected to the CPU2th unit;

[0019] In some embodiments, the first EMMC module includes an EMMC initialization module, an EMMC deletion module, and an EMMC read-write module.

[0020] In some embodiments, the CPU1th unit is connected to the embedded CAN interface computer module and executes according to the CAN communication protocol.

[0021] In some embodiments, the DDR module includes a uboot module, and the uboot module is connected to the CPU1th unit.

[0022] In some embodiments, the uboot module includes a hardware interface initialization module, a program switching module, a first EMMC module, a program sending module and a program receiving module.

[0023] In some embodiments, the second FLASH module is connected to the second FLASH module via an SPI interface.

[0024] In some embodiments, the first EMMC module is connected to the second FLASH module via an SPI interface.

[0025] In order to solve the problems of slow upgrade speed and short transmission time of traditional embedded CAN interface computers, the present invention has the following advantages:

[0026] When the product needs to be updated, there is no need to disassemble it. The program is burned and solidified once by the computer through the embedded CAN interface when it leaves the factory. During use, the user only needs to convert 232 to CAN to complete the upgrade of the ZYNQ_FSBL.ELF unit, uboot unit and BIT unit. It is not easily affected by the burning location, emulator model, etc., which reduces the travel expenses and workload of business personnel when updating and maintaining, and improves work efficiency.

[0027] Figure 1 A principle block diagram of a ZYNQ product platform CAN interface online upgrade system and method is shown.

[0028] Figure 2 A block diagram showing the communication composition between the CPU1th unit and the CPU2th unit of the ZYNQ product platform is shown.

[0029] Figure 3 A block diagram of a first startup file unit, a second startup file unit, and a third startup file unit in an embodiment is shown;

[0030] Figure 4 The block diagram of the second FLASH module and the first EMMC module storage unit is shown.

[0031] Figure 5 A first boot file unit execution block diagram of an embodiment is shown.

[0032] Figure 6 A ZYNQ product platform CAN interface online upgrade system framework is shown.

[0033] The content of the present disclosure will now be discussed with reference to several exemplary embodiments. These embodiments are discussed to enable workers and after-sales technicians in the field of mass production to better understand and thus implement the content of the present disclosure, and are not intended to limit the scope of the present disclosure. As used herein, the terms "one embodiment" and "an embodiment" are to be interpreted as "at least one embodiment". The term "another embodiment" is to be interpreted as "at least one other embodiment". The term "including" and its variants are to be interpreted as open-ended terms meaning "including but not limited to".

[0034] This embodiment discloses a ZYNQ product platform CAN interface online upgrade system and method, such as Figure 1 As shown, this may include:

[0035] ZYNQ product platform;

[0036] A first EMMC module, wherein the first EMMC module is in a first communication connection with the first EMMC module;

[0037] A second FLASH module, the second FLASH module being in a second communication connection with the PS portion of the ZYNQ product platform;

[0038] a DDR4 module, the DDR4 module being connected to both the ZYNQ product platform PL portion and the ZYNQ product platform PS portion, being connected to the ZYNQ product platform PL portion for a third communication, and being connected to the ZYNQ product platform PS portion for a fourth communication;

[0039] an embedded CAN interface computer module, the embedded CAN interface computer module being in fifth communication connection with the ZYNQ product platform;

[0040] In this embodiment, if Figure 1 As shown, the ZYNQ platform online upload and download system may include a ZYNQ product platform, a second FLASH module, a crystal oscillator module, a JTAG module and a DDR module, wherein the second FLASH module is an external FLASH for storing data and programs, and the ZYNQ product platform can realize data interaction between the embedded CAN interface computer and the second FLASH module through RS422 serial port communication, and the crystal oscillator provides a basic clock signal for the system, and the JTAG interface is connected to the ZYNQ product platform for third communication to burn the FLASH to update the program therein or to debug the program, and in addition, the DDR is connected to the ZYNQ product platform as the storage device of the ZYNQ platform online upload and download system.

[0041] In some embodiments, Figure 3 As shown, the second FLASH module includes a first boot file unit, and the first EMMC module includes a second boot file unit and a third boot file unit.

[0042] In this embodiment, the ZYNQ product platform communicates with the embedded CAN interface computer through the CAN interface, completes the upload and download process according to the embedded CAN interface computer instructions and corresponding handshake information, and receives and writes the uploaded data sent by the embedded CAN interface computer into the second FLASH module, such as the second startup file unit and the third startup file unit, and reads the corresponding startup file data in the second FLASH module and sends it to the embedded CAN interface computer.

[0043] In some embodiments, Figure 3 As shown, the first boot file unit includes a ZYNQ_FSBL.ELF unit and a uboot unit.

[0044] Further, in this embodiment, the first boot file unit may include: ZYNQ_FSBL.ELF unit, uboot unit and BIT unit, which are burned into the second FLASH unit through the JTAG interface. ZYNQ_FSBL.ELF uses vitis in xilinx to select ZYNQ_FSBL.ELF unit, uboot unit and BIT unit for generation, which is mainly responsible for initializing the corresponding hardware interface after power-on, and moving the BIT unit to the PL part of the ZYNQ product platform, and moving the uboot unit to the corresponding DDR4 address space. The uboot unit is responsible for sending and receiving commands with the embedded CAN interface computer, and completing the transmission and downloading of the second boot file unit and the third boot file unit program; the BIT unit is a constructed CAN interface, which is responsible for the communication between the uboot unit and the embedded CAN interface computer software.

[0045] In some embodiments, the ZYNQ product platform includes a ZYNQ Platform PS portion and a ZYNQ Platform PL portion;

[0046] The PS part of the ZYNQ product platform is in sixth communication connection with the ZYNQ_FSBL.ELF unit, and the PS part of the ZYNQ platform is in eighth communication connection with the uboot unit;

[0047] The PL part of the ZYNQ product platform is connected to the seventh communication of the BIT unit.

[0048] In this embodiment, ZYNQ can be roughly divided into two parts: the embedded part and the logic part. The embedded part is the ARM part, which is the CPU1th unit and CPU2th unit processor system of ZYNQ, and the logic part is the programmable logic of ZYNQ. In addition, through the first boot file unit cached in DDR4, the fifth communication unit of the PL part of the ZYNQ product platform communicates with the embedded CAN interface computer to complete the corresponding program upload and download process.

[0049] In some embodiments, the ZYNQ platform PL portion includes a BIT unit.

[0050] The PS part of the ZYNQ platform includes the CPU1th unit and the CPU2th unit.

[0051] The CPU1th unit in the PS part of the ZYNQ product platform is connected to the eighth communication of the first EMMC module.

[0052] The CPU2th unit in the PS part of the ZYNQ product platform is ninthly communicated with the first EMMC module.

[0053] The CPU1th unit in the PS part of the ZYNQ product platform is connected in communication with the second FLASH module.

[0054] The CPU2th unit in the PS part of the ZYNQ product platform is connected in communication with the second FLASH module.

[0055] In this embodiment, the BIT unit in the first boot file unit is loaded in the PL part of the ZYNQ product platform, based on the AXI4 protocol IP encapsulation, and the main function is to implement the CAN interface function through Verilog to build a 1024-byte depth FIFO to provide a cache for data transmission and reception. The first boot file unit is as follows Figure 3 shown.

[0056] Further, in this embodiment, ZYNQ_FSBL.ELF runs in the on-chip memory, and the CPU1th unit communicates with the second FLASH module through the 32-bit AXI4 interface, such as Figure 4 shown.

[0057] In some embodiments, the uboot module includes a hardware initialization module, an operation switching module, a first EMMC module, a startup file upload module and a system download module.

[0058] In some embodiments, the first EMMC module includes an EMMC initialization module, an EMMC deletion module, and an EMMC read-write module.

[0059] In this embodiment, if Figure 5 As shown, the uboot module may include a hardware initialization module, a run switching module, a second FLASH module, a startup file upload module and a system download module, wherein the hardware initialization module completes the initialization of calculation parameters and variables; the system jump module jumps to the second startup file unit and the third startup file unit according to the received embedded CAN interface computer instruction; the second FLASH module completes FLASH initialization, FLASH erasure, writing data to the corresponding address of FLASH and reading data from the corresponding address of the second FLASH module; the ZYNQ platform product calls the FLASH erasure module according to the received embedded CAN interface computer instruction to complete the first EMMC module address space erasing operation corresponding to the second startup file unit or the third startup file unit, and calls the write module in the first EMMC module to write the received data into the corresponding address space; the ZYNQ platform product calls the second EMMC module reading software according to the received embedded CAN interface computer instruction to read the corresponding EMMC address space data and send it to the embedded CAN interface computer software.

[0060] In some embodiments, the first boot file unit calls the tenth communication connection with the second FLASH module through the SPI interface. In this embodiment, the first boot file unit is written to the second FLASH module through the SPI interface, including the ZYNQ_FSBL.ELF module, the uboot module and the BIT module, and the uboot module runs in the external DDR4 memory, and communicates with the embedded CAN interface computer by loading the second boot file unit and the third boot file unit of the interface with the PS part of the ZYNQ product platform, and the second FLASH module completes the initialization, deletion and reading and writing of the second FLASH module, and the first EMMC module completes the hardware driver loading and system update transplantation of the ZYNQ product platform.

[0061] Mass production staff and technical support staff in this field can understand that the above-mentioned implementation modes are specific cases for realizing the present disclosure, and in actual use, various changes can be made to the methods and steps of use, which does not deviate from the spirit and scope.

Claims

1. A ZYNQ product platform CAN interface online upgrade system and method, characterized in that: include: ZYNQ product platform; ZYNQ product platform, which includes ZYNQ product platform PL part and ZYNQ product platform PS part; A first EMMC module, wherein the first EMMC module is in a first communication connection with the first EMMC module; a second FLASH module, the second FLASH module is in a second communication connection with the PS part of the ZYNQ product platform; a DDR4 module, the DDR4 module is connected to both the PL part and the PS part of the ZYNQ product platform, is in a third communication connection with the PL part of the ZYNQ product platform, and is in a fourth communication connection with the PS part of the ZYNQ product platform. An embedded CAN interface computer module, the embedded CAN interface computer module is in a fifth communication connection with the ZYNQ product platform.

2. According to claim 1, a ZYNQ product platform CAN interface online upgrade system and method is characterized in that: The second FLASH module includes a first startup file unit, a second startup file unit and a third startup file unit.

3. According to claim 2, a ZYNQ product platform CAN interface online upgrade system and method is characterized in that: The first mirror unit includes a ZYNQ_FSBL.ELF unit, a uboot unit and a BIT unit.

4. According to claim 3, a ZYNQ product platform CAN interface online upgrade system and method is characterized in that: The ZYNQ product platform includes a PS part and a PL part; the PS part of the ZYNQ product platform is in the sixth communication connection with the ZYNQ_FSBL.ELF unit, and the PS part of the ZYNQ platform is in the eighth communication connection with the uboot unit; the PL part of the ZYNQ product platform is in the seventh communication connection with the BIT unit.

5. A ZYNQ product platform CAN interface online upgrade system and method according to claim 4, characterized in that: The PL part of the ZYNQ product platform includes a BIT unit; the PS part of the ZYNQ product platform includes a CPU1th unit and a second CPU2th unit; the CPU1th unit is connected to the uboot unit in an eighth communication connection; the first EMMC module is connected to the CPU1th unit in a ninth communication connection, the first EMMC module is connected to the CPU2th unit in a ninth communication connection, the second FLASH module is connected to the CPU1th unit in a tenth communication connection, and the second FLASH module is connected to the CPU2th unit in an eleventh communication connection.

6. A ZYNQ product platform CAN interface online upgrade system and method according to claim 5, characterized in that: The communication connection between the embedded CAN interface computer and the PL part of the ZYNQ product platform is performed according to the CAN communication interface protocol.

7. A ZYNQ product platform CAN interface online upgrade system and method according to claim 5, characterized in that: The DDR module includes a first monitoring module, and the first monitoring module is communicatively connected to the first CPU unit.

8. A ZYNQ product platform CAN interface online upgrade system and method according to claim 7, characterized in that: The first EMMC module includes an EMMC initialization module, an EMMC deletion module, and an EMMC read-write module.

9. A ZYNQ product platform CAN interface online upgrade system and method according to claim 8, characterized in that: The uboot module may include a hardware initialization module, an operation switching module, a second FLASH driver module, a startup file upload module and a system download module, wherein the hardware initialization module completes the initialization of calculation parameters and variables.

10. A ZYNQ product platform CAN interface online upgrade system and method according to claim 9, characterized in that: The ZYNQ platform product calls the second EMMC module reading software according to the received embedded CAN interface computer instruction to read the corresponding EMMC address space data and send it to the embedded CAN interface computer software.

11. According to a ZYNQ product platform CAN interface online upgrade system and method as described in claim 10, the first boot file unit is written to the second FLASH module through the SPI interface, which includes a ZYNQ_FSBL.ELF module, a uboot module and a BIT module, and the uboot module runs in the external DDR4 memory, and communicates with the embedded CAN interface computer by loading the second boot file unit and the third boot file unit of the interface with the PS part of the ZYNQ product platform, the second FLASH module completes the initialization, deletion and reading and writing of the second FLASH module, and the first EMMC module completes the hardware driver loading and system update transplantation of the ZYNQ product platform.

12. A ZYNQ product platform CAN interface online upgrade system and method according to claim 11, characterized in that The uboot module may include a hardware initialization module, a run switching module, a second FLASH module, a startup file upload module and a system download module, wherein the hardware initialization module completes the initialization of calculation parameters and variables; the system jump module jumps to the second startup file unit and the third startup file unit according to the received embedded CAN interface computer instruction; the second FLASH module completes FLASH initialization, FLASH erasure, writes data to the corresponding address of FLASH and reads data from the corresponding address of the second FLASH module; the ZYNQ platform product calls the FLASH erasure module according to the received embedded CAN interface computer instruction to complete the first EMMC module address space erasing operation corresponding to the second startup file unit or the third startup file unit, and calls the write module in the first EMMC module to write the received data to the corresponding address space; the ZYNQ platform product calls the second EMMC module reading software according to the received embedded CAN interface computer instruction to read the corresponding EMMC address space data and send it to the embedded CAN interface computer software.