A system and method for remotely upgrading the ZYNQ control platform
By combining QuadSPI Flash, NAND FLASH, and SD removable storage via network, the slow transmission speed of the ZYNQ control platform was solved, enabling efficient remote upgrades, meeting the speed and efficiency needs of enterprises, and reducing costs.
Patent Information
- Application Number
- CN202411699508.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2026-05-26
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology and product upgrading, and in particular refers to a system and method for remotely upgrading a ZYNQ control platform. Background Technology
[0002] ZYNQ's embedded technology is constantly being updated and iterated, and more and more occasions require embedded chips to meet the needs of different users, have higher performance, and be compatible with more platforms.
[0003] Xilinx's ZYNQ chip combines an FPGA chip and an ARM chip. The FPGA chip features a scalable programming architecture and high performance, leading to its increasing use in both civilian and military industries. Product development is trending towards higher precision and sophistication. However, ZYNQ chip models require synchronization of internal files, including user programs, ZYNQ control platform hardware drivers, and operating systems. This typically relies on a range of official software and hardware (JTAG emulator) provided by Xilinx. Some companies use serial ports for upgrades, but this is insufficient for remote upgrades, suitable only for small file upgrades on the ZYNQ control platform and failing to meet the speed and efficiency requirements of mass production. SRIO-based remote upgrades are prohibitively expensive and consume significant power. A solution is needed for a low-cost, extremely fast ZYNQ control platform remote upgrade system that solves the problem of long-distance transmission upgrades. Summary of the Invention
[0004] To address the aforementioned technical problems, this invention provides a system and method for remotely upgrading the ZYNQ control platform. This solves the problem of slow transmission speed during ZYNQ control platform use. During program upgrades, an efficient network method can be used, achieving high efficiency and mass production without the need for an additional Xilinx official emulator.
[0005] This invention provides a system and method for remotely upgrading a ZYNQ control platform, comprising: a remote user terminal, a ZYNQ control platform, and a memory unit address module.
[0006] The memory cell address module consists of QuadSPI Flash cell memory, NAND FLASH cell memory, and SD removable cell memory;
[0007] The remote client connects to the ZYNQ control platform via WIFI or Ethernet cable. The remote client and the ZYNQ control platform use data compression, data unpacking, data verification, and data transmission processes, which have high reliability and can also control the upgrade progress. The ZYNQ control platform receives the operating system, user program, and ZYNQ control platform driver module sent by the remote client.
[0008] The remote user terminal is connected to the ZYNQ control platform via a network interface.
[0009] With optional configuration, the ZYNQ control platform is configured with an SPI interface, which is connected to the QuadSPIFlash memory via SPI interface 1, the NAND FLASH memory via SPI interface 2, and the SD removable memory via SPI interface 3, enabling precise data exchange and transmission.
[0010] In the remote upgrade system and method for the ZYNQ control platform described above, the ZYNQ control platform communicates with the memory unit address module via a network cable or Wi-Fi, including: the ZYNQ control platform writing user programs, ZYNQ platform hardware driver modules, and operating systems to the unit memory via Wi-Fi or a network cable; and the ZYNQ control platform calling the user programs, ZYNQ platform hardware driver modules, and operating systems in the memory unit address module during the system startup phase.
[0011] The configurable content of the remote upgrade system for the ZYNQ control platform described above includes: a computer support component and a programmable module, wherein the computer support component is equipped with a memory unit.
[0012] The ZYNQ control platform communicates with the unit memory via WIFI or network cable, including a computer carrier section. It is further configured to write the user program, ZYNQ platform hardware platform driver module, and operating system from the memory unit into the memory unit address module via WIFI or network cable and WIFI or network cable driver. It is also configured to call the user program, ZYNQ platform hardware platform driver module, and operating system from the memory unit address module during the startup phase of the ZYNQ control platform.
[0013] Optionally, in the remote network upgrade system and method of the ZYNQ control platform as described above, the computer carrying part and the FPGA module are connected by a configurable interface bus.
[0014] The computer-borne component is also configured to transmit the startup file, which is retrieved from the memory cell address module, to the programmable module via the advanced scalable interface bus during the startup phase of the ZYNQ control platform.
[0015] Optionally, in the remote upgrade system of the ZYNQ control platform described above, the remote user terminal and the ZYNQ control platform communicate via a network, including: during the data communication process via the network, the remote user terminal and the ZYNQ control platform send data packets of the user program, the ZYNQ platform hardware platform driver module, and the operating system using verification and send / receive reply methods.
[0016] The remote user terminal transmits the user program, ZYNQ platform hardware platform driver module, and operating system to the ZYNQ control platform via network cable or WIFI; the ZYNQ control platform sends the received user program, ZYNQ platform hardware platform driver module, and operating system to the memory unit address module in frames via WIFI or network cable, with different upgrade files stored in different memory unit addresses.
[0017] During the startup phase, the ZYNQ control platform calls the user program in the memory cell address module, the ZYNQ platform hardware platform driver module, and the operating system to start.
[0018] Optionally, in the WIFI method described above, the remote user terminal sends the user program, ZYNQ platform hardware platform driver module, and operating system to the ZYNQ control platform via a network.
[0019] During the process of remote user terminals sending user programs, ZYNQ platform hardware platform driver modules, and operating systems to the ZYNQ control platform via network, data packets containing user programs, ZYNQ platform hardware platform driver modules, and operating systems are verified and confirmed through sending and receiving. Attached Figure Description
[0020] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of the present invention and do not constitute a limitation on the technical solutions of the present invention.
[0021] Figure 1 A schematic diagram of the connection interface for a system and method for remotely upgrading the ZYNQ control platform provided in an embodiment of the present invention;
[0022] Figure 2 A schematic diagram of a remote network upgrade system software architecture for a ZYNQ control platform provided in an embodiment of the present invention;
[0023] Figure 3 A remote network upgrade system protocol and memory cell address control diagram for a ZYNQ control platform provided in this embodiment of the invention; Detailed Implementation
[0024] like Figure 1 As shown, during data communication between the remote user terminal and the ZYNQ control platform via a network connection, a handshake protocol is used to send data packets containing the user program, ZYNQ hardware driver module, and operating system. The computer bearer is configured to receive the user program, ZYNQ product hardware platform driver module, and operating system sent by the remote user terminal, and store the user program, ZYNQ product hardware platform driver module, and operating system in a memory unit.
[0025] like Figure 2 As shown in the diagram, this embodiment of the invention provides a schematic of the software architecture of a remote network upgrade system for the ZYNQ control platform. The underlying logic drivers include QuadSPI Flash memory drivers, NAND FLASH memory drivers, SD removable memory drivers, Ethernet / WIFI drivers, GP bus drivers, HP bus drivers, and IO drivers. The intermediate system layer runs the Petalinux operating system. The upgrade application layer includes memory cell selection, upgrade file selection, and network protocol interaction and transmission.
[0026] like Figure 3 As shown in the figure, an embodiment of the present invention provides a remote network upgrade system protocol and memory cell address control diagram for a ZYNQ control platform: including a remote user terminal, a ZYNQ control platform, a unit memory address control software module, and a memory cell address module.
[0027] When the remote user terminal initiates an upgrade, it sends a data frame to the ZYNQ control platform. The protocol includes sending the frame header AABB, the upgrade file, and the unit memory selection. The upgrade file can be used to upgrade only the logic part or only the system part. The ZYNQ control platform erases and initializes the address modules of the memory units to be upgraded.
[0028] The ZYNQ control platform calculates the address using the unit memory address control software module, and then replies with a data packet to the remote user terminal, indicating that the ZYNQ control platform is now ready to send the upgrade file.
[0029] The remote user terminal begins sending upgrade files. Each frame of data consists of a 1024-byte data packet containing a frame header (BB CC), a file sequence number, a write address, and the file content. The frame header is fixed as hexadecimal BB CC, the file sequence number is an Arabic numeral incremented by 1, the write address is the unit memory write address calculated by the ZYNQ control platform and returned to the remote user terminal each time through the unit memory address control software module, and the file content is the specific file to be upgraded, broken down into individual packets.
[0030] When the ZYNQ control platform receives a packet of 1024 data, it checks whether the frame header is correct, whether the file sequence number is consecutive, and the write address, and then writes the file content into the unit memory.
[0031] The remote user terminal repeatedly sends upgrade files to the ZYNQ control platform. When the last packet is sent, the data consists of a frame header CC DD, data length, upgrade address, and file content.
[0032] When the ZYNQ control platform receives a frame header of CC DD in hexadecimal, it indicates that this is the last packet of the upgrade file. It then reads the remaining data length and writes it to the upgrade address unit. After writing the data to the specific memory unit, the ZYNQ control platform replies to the remote user terminal with a frame header DD EE to indicate that the upgrade is complete.
[0033] The unit memory address control software module erases addresses based on the different file types to be upgraded. During the upgrade process, it calculates and replies to the remote user terminal by accumulating and judging the upgrade address.
[0034] In the memory cell address module, the QuadSPI Flash memory cell addresses are 0x0000_0000, 0x5000_0000, 0x5200_0000, and 0xFA00_0000, depending on the file type to be upgraded. The NAND FLASH memory cell addresses are 0x0000_0001 and 0x0003_0519, depending on the file type. The SD removable memory cell starts at 0x0000_0000 and stores data consecutively thereafter.
[0035] The remote user client sends a 1024-byte network protocol message over the network. The ZYNQ control platform responds via the network, and a check is performed to determine if the number of attempts has exceeded the limit. If the check succeeds, the message is sent to the software control module at the upgrade file address. If the check exceeds the set number of attempts, the transmission fails, and the upgrade data for this packet needs to be retransmitted.
[0036] This invention provides a remote upgrade system and method for the ZYNQ control platform. Based on network communication, it enables remote loading of the ZYNQ control platform. Not only can it complete remote loading, but it also adds a handshake protocol to ensure the integrity and correctness of program data.
[0037] The remote user terminal, ZYNQ control platform, and various storage devices are used. The remote client users can be manufacturing staff during product mass production, developers during product research and development, after-sales staff for product maintenance, or users of the product.
[0038] Those skilled in the art will understand that the various aspects of the CNC system machining reference calibration method are implemented as a system, method, or product. The various aspects of this disclosure can be specifically implemented in the following forms: entirely in hardware and entirely in software, which are collectively referred to herein as "units" or "systems".
[0039] While the embodiments disclosed in this invention are as described above, the content is merely for the purpose of facilitating understanding of the invention and is not intended to limit the invention. Any person skilled in the art to which this invention pertains may make any modifications and changes to the form and details of the implementation without departing from the spirit and scope disclosed herein; however, the scope of patent protection of this invention shall still be determined by the scope defined in the appended claims.
Claims
1. A system and method for remote upgrade of a ZYNQ control platform, characterized in that: The remote user terminal is connected with the ZYNQ control platform through a network, and can be configured to perform encrypted and checked data interaction communication through a network cable (wired) or WIFI (wireless) connection. The ZYNQ control platform receives the upgrade operating system or application program or single file transmitted by the remote user terminal. Data check and data handshake are added in the network communication between the remote user terminal and the ZYNQ control platform. The file to be transmitted is packaged, encrypted and handshaked, and then transmitted to the ZYNQ control platform in a manner of handshake confirmation. The user program and the ZYNQ product hardware platform driving module and the operating system and system file are respectively the manufacturer's development application program and operating system.
2. A ZYNQ control platform remote upgrade system and method, wherein the ZYNQ control platform is connected with a memory unit address module through different SPI interfaces, and transmits the upgrade content to the memory unit address module through a fast network interface. The ZYNQ control platform calls the upgrade protocol provided by the chip manufacturer in the starting stage.
3. The remote user end of claim 1 comprising: The computer bearing part is a computer bearing the remote client, and has a storage unit and a display unit. The computer processing module is configured to the remote user terminal and the operating system and user program and ZYNQ control platform driving module to be sent, stores the operating system and user program and ZYNQ control platform driving module in the storage unit, and writes the operating system and user program and ZYNQ control platform driving module into the ZYNQ control platform through the network interface, so as to call the operating system and user program and ZYNQ control platform driving module in the memory unit address module in the starting stage of the ZYNQ control platform, and transmit the system startup file to the programmable module.
4. The ZYNQ control platform remote upgrade system and method according to claim 1, wherein the memory unit address module is composed of a QuadSPI Flash unit memory, a NAND FLASH unit memory and an SD removable unit memory. The address of the memory unit address module is calculated by a unit memory address control software module, and the ZYNQ control platform replies to the remote user terminal.
5. The ZYNQ control platform remote network upgrade system and method of claim 1, wherein, The computer bearing part is connected with the selectable FLASH storage module, and transmits through an SPI bus. The computer bearing part transmits the operating system and user program and ZYNQ control platform driving module to the programmable module, including: in the starting stage of the ZYNQ control platform, transmitting the user program and ZYNQ product hardware platform driving module and operating system in the FLASH storage module to the programmable logic gate array through the selectable interface bus. Including: in the starting completion stage of the ZYNQ control platform, the operating system and ZYNQ control platform driving module provided by the manufacturer.
6. The remote network upgrade system of ZYNQ control platform according to claim 1, wherein, The remote user terminal and remote network upgrade system communicate via a network, including: during the process of the remote user terminal transmitting the user program, ZYNQ control platform driver module, and operating system to the ZYNQ control platform via the network, sending the data protocol content of the user program, ZYNQ control platform driver module, and operating system through frame deframe, frame assembly, and frame header verification protocols. This also includes: during data communication transmission via the network connection, the remote user terminal and ZYNQ control platform use data verification and data handshake methods to send data packets of the operating system, user program, and ZYNQ control platform driver module.
7. The system and method for remote upgrade of ZYNQ control platform according to claim 1, comprising: The remote user terminal sends the operating system, user program, and ZYNQ control platform driver module to the ZYNQ control platform via a protocol-based unpacking and transmission over the network. The ZYNQ control platform first frames the received operating system and user program with the ZYNQ control platform driver module via the network, and then writes them into the memory unit address module after the reception is complete. The ZYNQ control platform first calls the system startup file in the memory unit address module to start, then calls the ZYNQ control platform driver module to perform hardware loading, and finally loads the operating system written in the memory unit address module.
