Method and device for modifying starting mode by Xilinx-z7-PS

By connecting the PS module configuration pin of Xilinx-z7 chip to the MCU, the problem of insufficient flexibility and stability of startup mode selection is solved, and more flexible and stable startup mode control is achieved, avoiding manual welding and dialing switches Risk, improves the reliability of the equipment.

CN118916095AInactive Publication Date: 2024-11-08CHENGDU LINGMU TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411418779.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The PS module startup mode selection of the existing Xilinx-z7 chip is not flexible and stable, and requires manual soldering of up and pull-down resistors or using dial switches, which can easily damage the board and be unstable in complex environments, resulting in the device being unable to start normally.

Method used

Connect all the configuration pins of the PS module to the MCU, control the startup mode through the MCU, read the configuration status marks in the EEPROM, configure and monitor the startup status, and cure the next startup mode configuration to avoid manual welding and the use of dial switches.

Benefits of technology

It realizes the flexibility and stability of the PS module startup mode, avoids the risks of manual welding and dial switches, and improves the reliability and convenience of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916095A_ABST
    Figure CN118916095A_ABST
Patent Text Reader

Abstract

The invention discloses a Xilinx-z7-PS start mode modification method and device. The method comprises the steps that after an MCU is powered on, a configuration state mark of a PS module start mode is read from an EEPROM, the start mode of the PS module is configured according to the configuration state mark, and a power-on instruction is sent to the PS module after configuration is completed; monitoring a starting state after the PS module is powered on, and setting the next starting mode configuration of the PS module according to the starting state; and solidifying the next start mode configuration of the PS module into the EEPROM, and refreshing the configuration state mark of the start mode of the PS module in the EEPROM to be updated. The configuration pins are all connected to the MCU and are controlled by the MCU, so that the method is more flexible and stable, and the problem that the PS is poor in flexibility and stability when selecting the PS module starting mode is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for modifying a startup mode of a Xilinx-z7-PS. Background Art

[0002] The Xilinx-z7 chip is a FPGA series product based on the Zynq-7000 All Programmable SoC (system-on-chip). The Zynq-7000 series integrates programmable logic (FPGA) with a dual-core or quad-core ARM CorteX-A9 processor system (PS module) on a single chip, providing high-performance processing capabilities and flexible hardware programmability. The PS module (Processor System) is a processor system, an integrated processing unit that usually contains one or more ARM processor cores, a memory controller, and other peripheral interfaces such as DDR memory interface, Ethernet, USB, PCIe, etc. In the z7 series, the PS module part usually contains a dual-core or quad-core ARM CorteX-A9 processor, which is used to run the operating system and application code, and handle complex control and data processing tasks.

[0003] Currently, the PS module startup mode selection of Xilinx-z7 chip is generally configured by configuring the relevant pins. These pins are fixed by hardware or selected by dip switches. When the startup mode needs to be switched, the pull-up and pull-down resistors need to be re-welded, the corresponding high and low levels need to be changed, or the dip switches need to be manually adjusted. In this way, if the chip board is placed in the chassis, it is very troublesome to weld resistors or adjust the dip switches; and manual welding has the risk of damaging the board. Even in more complex environments, such as vibration, the dip switches are not stable enough and are easily triggered by mistake, resulting in the device failing to start normally. Summary of the invention

[0004] The purpose of the present invention is to provide a method and device for modifying the startup mode of Xilinx-z7-PS, so as to solve the problem that the PS has poor flexibility and stability when selecting the startup mode of the PS module. The present invention connects all the configuration pins to the MCU, which is controlled by the MCU, making it more flexible and stable.

[0005] To achieve the above objectives, this application provides the following solutions: On the one hand, the present application provides a method for modifying the startup mode of Xilinx-z7-PS, and performs the following steps after the MCU is powered on: S1, read the configuration status mark of the PS module startup mode from the EEPROM, configure the startup mode of the PS module according to the configuration status mark and send a power-on instruction to the PS module after the configuration is completed; S2, monitor the startup status of the PS module after power-on, and set the next startup mode configuration of the PS module according to the startup status; S3. Solidify the next startup mode configuration of the PS module into the EEPROM, and refresh the configuration status mark of the startup mode of the PS module in the EEPROM to updated.

[0006] Furthermore, the process of configuring the startup mode of the PS module in step S1 is: S11, if the read configuration status is marked as unconfigured, the mode configuration pin of the PS module is configured according to the default startup mode configuration; S12, if the read configuration status is marked as updated, then the startup mode configuration of the current PS module startup is obtained from the EEPROM; S13, loading the startup mode configuration of the PS module this time, and configuring the mode configuration pin of the PS module.

[0007] Furthermore, step S1 further includes the steps of: After the configuration of the mode configuration pins of the PS module is completed, the configuration status mark of the PS module startup mode in the EEPROM is cleared and the configuration status mark is changed to unconfigured.

[0008] Furthermore, the startup mode includes a FLASH startup mode and an SD card startup mode, and the default startup mode is configured as the FLASH startup mode.

[0009] Furthermore, the specific process of setting the next startup mode configuration of the PS module in step S2 is: S21. If the startup status is that the PS module can start normally, the startup mode configuration issued by the PS module is received, and the issued startup mode configuration is parsed to obtain the next startup mode configuration; S22. If the startup status is that the PS module cannot be started normally, the next startup mode configuration of the PS module is set through the serial port command of the MCU.

[0010] In a second aspect, the present application provides a Xilinx-z7-PS startup mode modification device, comprising: EEPROM, used to receive the next startup mode configuration of the PS module sent by the MCU, store the next startup mode configuration of the PS module to the corresponding address and refresh the configuration status of the PS module mode to mark it as updated; MCU, used for reading the configuration status mark of the PS module startup mode from the EEPROM, configuring the startup mode of the PS module according to the configuration status mark and sending a power-on instruction to the PS module after the configuration is completed; It is also used to monitor the startup status of the PS module after it is powered on, and to set the next startup mode configuration of the PS module according to the startup status; Xilinx-z7-PS includes a PS module, which is used to load the firmware required for PS module startup from the corresponding position according to the configured startup mode after receiving the power-on instruction to start the PS module; monitor the startup status of the PS module and send the monitored startup status to the MCU.

[0011] Furthermore, Xilinx-z7-PS accesses the SD module through the SDIO interface and accesses the FLASH module through the QSPI interface. The SD module stores the firmware required for PS module startup in SD card startup mode, and the FLASH module stores the firmware required for PS module startup in FLASH startup mode.

[0012] Furthermore, the process of MCU configuring the startup mode of the PS module according to the configuration status mark is as follows: If the read configuration status is marked as unconfigured, the mode configuration pins of the PS module are configured according to the default startup mode configuration; If the read configuration status is marked as updated, the startup mode configuration of the current PS module startup is obtained from the EEPROM, the startup mode configuration of the current PS module startup is loaded, and the mode configuration pin of the PS module is configured.

[0013] Furthermore, the default startup mode is configured as FLASH startup mode.

[0014] Furthermore, if it is detected that the startup state of the PS module is normal startup, the PS module accesses the MCU through I2C and sends the next startup mode configuration of the PS module to the MCU; If it is detected that the startup state of the PS module cannot be started normally, the MCU inputs a serial port command through the serial port to set the next startup mode configuration of the PS module.

[0015] The concept of this application is: In the existing PS module, the startup mode modification is generally done by directly fixing the mode when manufacturing the chip board, and then welding the pull-up and pull-down resistors at the pins of the mode interface. After the PS module is powered on, it automatically loads the fixed startup mode according to the mode selected by the pull-up and pull-down resistors, or connects an external dip switch and manually adjusts it through the dip switch. When the startup mode needs to be switched, since the pull-up and pull-down resistors are fixed, it is necessary to re-weld the pull-up and pull-down resistors to change the corresponding high and low levels. Re-welding the resistors, since the resistor pins are very small, the board is easily damaged during welding, and the use of dip switches is easily affected by the external environment, causing the dip switch to be unstable, resulting in false triggering, and the device cannot start normally.

[0016] In this application, by removing the pull-up and pull-down resistors used to switch the startup mode, all pins of the PS module are connected to the MCU. The PS module and the MCU communicate through the I2C bus. Each time the PS is started, the MCU accesses the EEPROM to obtain the startup mode that the current PS expects to start, and configures the PS mode configuration pins through GPIO after obtaining the startup mode. Then, the startup mode of the next startup is configured for the PS module through the power-on state of the PS module, and solidified into the EEPROM. It can be seen that the startup mode that the PS module needs to switch is controlled by the MCU, so that each time it needs to be switched, the pins of the PS module can be directly configured through the MCU, without re-soldering the pull-up and pull-down resistors or using the coding switch, making the selection of the startup mode of the PS module more flexible and stable.

[0017] The present invention has the beneficial effects: The present application connects all pins of the PS module to the MCU and directly configures and controls them through the MCU. The MCU reads the configuration status mark of the PS module and configures the pins of the PS module, so that the PS module is started through the desired startup mode. There is no need to re-solder the pull-up and pull-down resistors or use the coding switch, making the selection of the startup mode of the PS module more flexible and stable. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a method for modifying the startup mode of Xilinx-z7-PS provided in an embodiment of the present invention; Figure 2 A flowchart of the next startup mode configuration of the PS module by the MCU provided in an embodiment of the present invention; Figure 3 A PS module startup flow chart provided for an embodiment of the present invention; Figure 4 A schematic diagram of the system composition of a Xilinx-z7-PS startup mode modification device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] The relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0021] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0022] Additionally, descriptions of well-known structures, functions, and configurations may be omitted for clarity and conciseness.One of ordinary skill in the art will recognize that various changes and modifications may be made to the examples described herein without departing from the spirit and scope of the present disclosure.

[0023] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0024] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0025] In order to facilitate the elaboration of the technical solution of this application, the following concepts are explained: Xilinx-z7 The z7 series is a series of FPGA products based on the Zynq-7000 All Programmable SoC (system-level chip) launched by Xilinx. The Zynq-7000 series integrates programmable logic (FPGA) with dual-core or quad-core ARMCorteX-A9 processor system (PS module) on a single chip, providing high-performance processing capabilities and flexible hardware programmability. This chip combines the advantages of processors and FPGAs, providing a powerful platform for embedded system designs that require high-performance computing and flexible hardware customization. PS Module Abbreviation for "Processor System". It is an integrated processing unit that usually contains one or more ARM processor cores, memory controllers, and other peripheral interfaces such as DDR memory interface, Ethernet, USB, PCIe, etc. In the z7 series, the PS module part usually contains a dual-core or quad-core ARM CorteX-A9 processor for running the operating system and application code, and handling complex control and data processing tasks. In this way, the PS module is combined with the programmable logic (PL) part of the FPGA to achieve the collaborative work of software and hardware on the same chip, providing high-performance, low-latency and highly integrated solutions.

[0026] BOOTMODE The boot mode of the PS module is used to determine how to load and initialize the processor system (PS module) at boot time. BOOTMODE selects different boot modes, usually set by hardware pins.

[0027] The following table shows the boot modes supported by z7 and the corresponding pin configurations: Table 1 The three pins MIO[3], MIO[4], and MIO[5] are used to determine the boot mode. For example, in the common FLASH boot mode, MIO[5] is pulled up, and MIO[3] and MIO[4] are grounded.

[0028] Example 1 like Figure 1 As shown, this embodiment provides a method for modifying the startup mode of Xilinx-z7-PS, and the following steps are performed after the MCU is powered on: S1, read the configuration status mark of the PS module startup mode from the EEPROM, configure the startup mode of the PS module according to the configuration status mark and send a power-on instruction to the PS module after the configuration is completed; The process of configuring the startup mode of the PS module in step S1 is as follows: S11, if the read configuration status is marked as unconfigured, the mode configuration pin of the PS module is configured according to the default startup mode configuration; S12, if the read configuration status is marked as updated, then the startup mode configuration of the current PS module startup is obtained from the EEPROM; S13, loading the startup mode configuration of the PS module this time, and configuring the mode configuration pin of the PS module.

[0029] S14. In order to ensure that when the PS or MCU does not configure the startup mode, it will start from the default startup mode, after the mode configuration pin of the PS module is configured, the configuration status mark of the PS module startup mode in the EEPROM is cleared, and the configuration status mark is changed to unconfigured.

[0030] S2, monitor the startup status of the PS module after power-on, and set the next startup mode configuration of the PS module according to the startup status; The specific process of setting the next startup mode configuration of the PS module in step S2 is: S21. If the startup status is that the PS module can start normally, the startup mode configuration issued by the PS module is received, and the issued startup mode configuration is parsed to obtain the next startup mode configuration; S22. If the startup status is that the PS module cannot be started normally, the next startup mode configuration of the PS module is set through the serial port command of the MCU.

[0031] S3. Solidify the next startup mode configuration of the PS module into the EEPROM, and refresh the configuration status mark of the startup mode of the PS module in the EEPROM to updated.

[0032] In this embodiment, the startup mode includes FLASH startup mode and SD card startup mode, and the default startup mode is configured as FLASH startup mode. In order to realize the flexible configuration of the startup mode of the PS module, two processes are included. First, after the PS is successfully started, the next startup mode of the PS needs to be configured, so that the next time the PS can be started from the desired startup mode. Second, before the PS is started, the MCU will read the startup mode of the PS module expected to be started last saved, configure the state of the mode configuration pin of the PS according to the startup mode, and power on the PS module, so that the PS is powered on and started from the desired startup mode. Specifically: Step 1: The next startup mode configuration process is as follows Figure 2 As shown, specifically: Method 1: The current PS module can start normally, and the PS module sends the next startup mode to the MCU like Figure 4 As shown, the current MCU exchanges data with the PS module (MASTER) through the I2C interface (SLAVE). The MCU defines virtual registers, and the PS module sends the next startup mode configuration. After the MCU receives and parses the startup mode configuration, it solidifies the startup mode configuration in the EEPROM.

[0033] Table 2 MCU register definition Table 3 EEPROM related field definitions The PS module accesses the MCU through I2C, and the configuration table for configuring the next startup mode to FLASH is shown in Table 4: Table 4 The configuration table of MCU accessing EEPROM through I2C is shown in Table 5: Table 5 From the contents of Table 2 to Table 5, it can be seen that when the PS module can start normally, the PS module sends the required boot mode configuration information to the MCU through the I2C bus. After receiving the boot mode configuration information, the MCU parses it and writes the parsed boot mode configuration into the register 0X01 BOOTMODE. The value written to the register is 0X01 or 0Xa5. The default mode is the default value, that is, FLASH boot. Then the MCU accesses the EEPROM through I2C and writes the boot mode configuration into 0X01 of the EEPROM. After the write is successful, the value 0Xa5 is written to the register 0X02 BOOTFLAG to indicate that the next boot mode has been configured. If the write is unsuccessful, the value 0X5a is written to indicate that the next boot mode is not configured. At the same time, after the boot mode configuration is successfully written to the EEPROM, the write configuration status mark is refreshed to 0X02 of the EEPROM (each new value written in 0X02 will overwrite the previous value).

[0034] PS directly accesses the register defined by MCU through I2C. This register of MCU is only used for the interaction of configuration data between PS and MCU. After PS configures the startup mode to the register of MCU through I2C, the MCU parses the data in the register and solidifies it into EEPROM. Therefore, MCU will no longer access its own register after startup. The register of MCU is only a bridge for PS to configure MCU. Since the register of MCU is easy to lose, these configurations will eventually be solidified into EEPROM. Therefore, during the startup phase, MCU will directly obtain the information in EEPROM.

[0035] Method 2: The PS module cannot start normally, and the MCU directly configures the next startup mode The MCU implements the following command, which is input through the serial port to control the next boot mode configuration. The command directly writes the boot mode configuration value that needs to be written to the 0X01 field of the EEPROM: Table 6 MCU command table Step 2: Each PS startup process is as follows Figure 3 As shown: The boot mode change takes effect only when the system is cold restarted. This process is also executed only when the system is cold restarted, because when the PS module is hot restarted, the MCU itself will not restart, so the MIO pins will not be reconfigured. When the PS module needs to switch the boot mode: Step 2.1, after the MCU is powered on, first access the value in the EEPROM address 0X02. When the accessed value is 0Xa5, it is determined that the configuration status in the current EEPROM is marked as updated; when the accessed value is 0X5a, it is determined that the configuration status in the current EEPROM is marked as unconfigured; Step 2.2, if the configuration status is marked as updated, it means that the current boot mode needs to be obtained from the EEPROM. The MCU obtains the value of the current boot mode configuration from the EEPROM address 0X02. If it is 0X01, it indicates that the boot mode is FLASH boot, and if it is 0X02, it indicates that the boot mode is SD card boot; Step 2.3, if the configuration status is marked as unconfigured, the MCU uses the default boot mode configuration (that is, the default boot mode is FLASH boot); Step 2.4, MCU configures the mode configuration pins of the PS module according to the boot mode: MIO[3], MIO[4], MIO[5]. If the boot mode is FLASH boot, MIO[5] is configured to be high level, MIO[3] and MIO[4] are configured to be low level. If the boot mode is SD card boot, MIO[5] and MIO[4] are configured to be high level, MIO[3] is configured to be low level. Step 2.5. After successfully configuring the mode configuration pin, the MCU will control the EEPROM to clear the configuration status flag of the PS module boot mode, and modify the configuration status flag to 0X5a. Write the value 0X5a to the MCU register 0X02 BOOTFLAG to indicate that the next boot mode is not configured, to ensure that if the boot mode is not configured, it will start from the default boot mode; Step 2.6, MCU powers on the PS module through PWR; Step 2.7, after the PS module is powered on, the corresponding startup mode is loaded through the state of the mode configuration pin to complete the startup; Step 2.8: After the PS is successfully powered on, execute the next boot mode configuration in step 1.

[0036] Example 2 like Figure 4 As shown, this embodiment provides a Xilinx-z7-PS startup mode modification device, including: Xilinx-z7-PS; FLASH module: stores the firmware required for PS startup; SD module: stores the firmware required for PS startup; MCU: microprocessor, as the control unit for PS startup; EEPROM: non-volatile storage device, including EEPROM, used to receive the next startup mode configuration of the PS module sent by the MCU, store the next startup mode configuration of the PS module to the corresponding address and refresh the configuration status of the PS module mode to mark it as updated; MCU, used to access EEPROM through I2C to obtain the current PS startup desired boot mode; Read the configuration status mark of the PS module startup mode from the EEPROM, configure the startup mode of the PS module according to the configuration status mark and send a power-on instruction to the PS module after the configuration is completed; also used to monitor the startup status of the PS module after power-on, set the next startup mode configuration of the PS module according to the startup status; control the PS startup mode MIO[5:3] pin through GPIO to determine the next startup mode of the PS. Reset the PS through the PWR pin. Communicate with the PS through I2C.

[0037] Xilinx-z7-PS includes a PS module, which is used to load the firmware required for PS module startup from the corresponding position according to the configured startup mode after receiving the power-on instruction to start the PS module; monitor the startup status of the PS module and send the monitored startup status to the MCU.

[0038] The SD module is used to store the image file required for the PS module to start in the SD card startup mode; the PS module accesses the SD card through its own SDIO interface for loading and starting the image file; The FLASH module is used to store the image file required for the PS module to start in the FLASH startup mode. The PS accesses the FLASH through the QSPI interface for loading and starting the image file.

[0039] Specifically, the process of MCU configuring the startup mode of the PS module according to the configuration status mark is as follows: If the read configuration status is marked as unconfigured, the mode configuration pins of the PS module are configured according to the default startup mode configuration; the default startup mode configuration is the FLASH startup mode.

[0040] If the read configuration status is marked as updated, the startup mode configuration of the current PS module startup is obtained from the EEPROM, the startup mode configuration of the current PS module startup is loaded, and the mode configuration pin of the PS module is configured.

[0041] Specifically, if it is detected that the startup state of the PS module is normal startup, the PS module accesses the MCU through I2C and sends the next startup mode configuration of the PS module to the MCU; If it is detected that the startup state of the PS module cannot be started normally, the MCU inputs a serial port command through the serial port to set the next startup mode configuration of the PS module.

[0042] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.

Claims

1. A method for modifying the startup mode of Xilinx-z7-PS, characterized in that: After the MCU is powered on, perform the following steps: S1, read the configuration status mark of the PS module startup mode from the EEPROM, configure the startup mode of the PS module according to the configuration status mark and send a power-on instruction to the PS module after the configuration is completed; S2, monitor the startup status of the PS module after power-on, and set the next startup mode configuration of the PS module according to the startup status; S3. Solidify the next startup mode configuration of the PS module into the EEPROM, and refresh the configuration status mark of the startup mode of the PS module in the EEPROM to updated.

2. A Xilinx-z7-PS startup mode modification method according to claim 1, characterized in that: The process of configuring the startup mode of the PS module in step S1 is as follows: S11, if the read configuration status is marked as unconfigured, the mode configuration pin of the PS module is configured according to the default startup mode configuration; S12, if the read configuration status is marked as updated, then the startup mode configuration of the current PS module startup is obtained from the EEPROM; S13, loading the startup mode configuration of the PS module this time, and configuring the mode configuration pin of the PS module.

3. A Xilinx-z7-PS startup mode modification method according to claim 2, characterized in that: Step S1 also includes the steps of: After the configuration of the mode configuration pins of the PS module is completed, the configuration status mark of the PS module startup mode in the EEPROM is cleared and the configuration status mark is changed to unconfigured.

4. A Xilinx-z7-PS startup mode modification method according to claim 2, characterized in that: The boot mode includes FLASH boot mode and SD card boot mode. The default boot mode is FLASH boot mode.

5. A method for modifying the startup mode of Xilinx-z7-PS according to claim 1, characterized in that: The specific process of setting the next startup mode configuration of the PS module in step S2 is: S21. If the startup status is that the PS module can start normally, the startup mode configuration issued by the PS module is received, and the issued startup mode configuration is parsed to obtain the next startup mode configuration; S22. If the startup status is that the PS module cannot be started normally, the next startup mode configuration of the PS module is set through the serial port command of the MCU.

6. A Xilinx-z7-PS startup mode modification device, characterized in that: include: EEPROM, used to receive the next startup mode configuration of the PS module sent by the MCU, store the next startup mode configuration of the PS module in the corresponding address and refresh the configuration status of the PS module mode to mark it as updated; MCU, used for reading the configuration status mark of the PS module startup mode from the EEPROM, configuring the startup mode of the PS module according to the configuration status mark and sending a power-on instruction to the PS module after the configuration is completed; It is also used to monitor the startup status of the PS module after it is powered on, and to set the next startup mode configuration of the PS module according to the startup status; Xilinx-z7-PS includes a PS module, which is used to load the firmware required for PS module startup from the corresponding position according to the configured startup mode after receiving the power-on instruction to start the PS module; monitor the startup status of the PS module and send the monitored startup status to the MCU.

7. A Xilinx-z7-PS startup mode modification device according to claim 6, characterized in that: Xilinx-z7-PS accesses the SD module through the SDIO interface and the FLASH module through the QSPI interface. The SD module stores the firmware required for PS module startup in SD card startup mode, and the FLASH module stores the firmware required for PS module startup in FLASH startup mode.

8. A Xilinx-z7-PS startup mode modification device according to claim 6, characterized in that: The process of MCU configuring the startup mode of the PS module according to the configuration status mark is as follows: If the read configuration status is marked as unconfigured, the mode configuration pins of the PS module are configured according to the default startup mode configuration; If the read configuration status is marked as updated, the startup mode configuration of the current PS module startup is obtained from the EEPROM, the startup mode configuration of the current PS module startup is loaded, and the mode configuration pin of the PS module is configured.

9. A Xilinx-z7-PS startup mode modification device according to claim 8, characterized in that: The default boot mode is configured as FLASH boot mode.

10. The Xilinx-z7-PS startup mode modification device according to claim 8, characterized in that: If the startup status of the PS module is detected to be normal startup, the PS module accesses the MCU through I2C and sends the next startup mode configuration of the PS module to the MCU; If it is detected that the startup state of the PS module cannot be started normally, the MCU inputs a serial port command through the serial port to set the next startup mode configuration of the PS module.

Citation Information

Patent Citations

  • Selection method and device for embedded processor start mode

    CN103970551A

  • SoC (System on a Chip) startup method and device based on eFuse module

    CN106528123A

  • Embedded SOC chip self-adaptive starting method

    CN114528557A

  • Start control method, device and system of electronic system, medium and program product

    CN116165977A

  • Auto -change over device of CPU starting mode

    CN206627942U