Page 1
User Manual Purpose The purpose of this document is to present to the user the overall view of the Mars ZX3 SoC module reference design and to provide the user with a step-by-step guide to the complete Xilinx® SoC design flow used for the Mars ZX3 SoC module.
Page 2
License Copyright 2023 by Enclustra GmbH, Switzerland. Permission is hereby granted, free of charge, to any person obtaining a copy of this hardware, software, firmware, and associated documentation files (the ”Product”), to deal in the Product without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or...
Only required for SD card boot mode May be used for flash programming, for SoC device configuration or for FTDI configuration. Any FTDI device present on Enclustra hardware can be configured to Xilinx JTAG mode using the Enclustra MCT software [5]. D-0000-489-005 4 / 25 Version 2022.1_v1.1.2, 15.10.2022...
2 Reference Design Description Enclustra Mars PM3 Base Board Enclustra Mars ZX3 SoC Module Xilinx Zynq-7000 SoC Processing System (PS) ARM Cortex-A9 CPU User EEPROM USB Host EEPROM USB PHY Connector Controller Controller DDR3(L) SDRAM System SDRAM Controller Monitor RJ45...
The SD card is configured in the PS to the MIO 40..45 and 50 pins. This enables SD card access, as well as booting from the SD card. To allow the Mars ZX3 SoC module to boot from the SD card, the hardware configuration on the Mars PM3 base board must be done according to Section 4.2.2.
The unused MIO pins from the PS are available as GPIOs. For details on the MIO assignement refer to the Multiplexed I/O (MIO) Pins section in the Mars ZX3 SoC module User Manual [3]. Check the connectivity of the MIOs that provide user functionality with the Mars PM3 base board User Manual [4]...
Temperature control and monitoring is very important in a complex design. Information that may assist in selecting a suitable heat sink for the Mars ZX3 SoC module can be found in the Enclustra Modules Heat Sink Application Note [10].
Warning! Never mount or remove the Mars ZX3 SoC module to or from the Mars PM3 base board while the Mars PM3 base board is powered. Always remove or turn off the power supply before mounting or removing the Mars ZX3 SoC module.
Make sure the SD card slot of the Mars PM3 base board is empty (see label SD Card in Figure Mount the Mars ZX3 SoC module to the Mars PM3 base board. Connect the micro USB cable between your computer and the Mars PM3 base board. Use the micro USB port labeled USBUB in Figure 2.
Tcl file. 2. Save the file after editing. Start Xilinx Vivado 2022.1 and create the Mars ZX3 SoC module reference design project: 1. Click on the Tcl console at the bottom of the page and type: (a) cd {<base_dir>/reference_design}...
Step Description Export the hardware system information (required for the Vitis IDE): 1. File Export Export Hardware and click Next 2. Select Include Bitstream and click Next 3. Leave the file name and export location as default and click Next 4.
Step Description Create a new application 1. File Application Project 2. In the New Application Project window: (a) Click Next if Welcome Page is displayed (b) Select the previously generated platform and click Next (c) For Project Name type a description for the new application e.g. ”HelloWorld” (d) For the System project select ”Create New...”...
Running Software Applications This section describes how to run software applications on the Mars ZX3 SoC module. The steps are generic, and apply to the software example templates in the Vitis IDE. Step Description Create a run configuration for the application in Vitis IDE 2022.1: 1.
For a fast test of the boot configurations, the pre-generated .bin images may be used for boot, instead of rebuilding the image. You need to select the file corresponding to the Mars ZX3 SoC module variant. Pre-generated binaries for any ZX3 variant are released on the ZX3 Reference Design Github page.
Step Description Connect the 12 V DC power supply plug to the power connector of the Mars PM3 base board (see label 12 V DC in Figure 2). Table 9: Preparing the Hardware for QSPI Flash Boot Mode Step-by-Step Guide 4.1.2 Programming the QSPI Flash In order to program Zynq-7000 devices a modification to the standard FSBL generated during platform...
Page 18
Add Configuration Memory Device (see Figure 7) (a) For Select Configuration Memory Part choose the memory part according to the Mars ZX3 SoC Module User Manual [3], part type single. This is in most cases s25fl512s-1.8v-qspi-x4-single. (b) Hit OK 4. In Program Configuration Memory Device window (see Figure 8): (a) For Configuration file select the boot image generated as described in Section 4.0.1...
Step Description Optional - alternatively, Enclustra Module Configuration Tool (MCT) [5] can be used to pro- gram the QSPI flash. Before programming the QSPI flash from MCT, make sure the hardware configuration on the Mars PM3 base board is done according to Section 3.2. Additionally remove Jumper Reset FX3 from the JTAG breakout board to allow MCT to connect to the Module.
Warning! Some Vivado and Vitis tool versions are reporting problems when configuring certain SoC devices or when using particular boot modes. Please try different tool versions and check the Xilinx documenta- tion and forums for help on the reported issue. 4.1.3 Booting from the QSPI Flash Step...
4.2.4 Booting from the SD Card Step Description Insert the SD card into the SD card slot of the Mars PM3 base board (see label SD Card Figure 2). Power on the Mars PM3 base board (see label 12 V DC in Figure 2).
2. If built-in JTAG is used, check that the FTDI device is configured to Xilinx JTAG mode. This can be done using the Enclustra MCT software [5]. More information on the Xilinx JTAG mode configuration on the Mars PM3 base board can be retrieved from the Mars PM3 base board user manual [4].
3. If the UART used is mapped to the EMIO pins in the PS, resetting the ARM core will not suffice. Reprogramming the PL is necessary, as the UART lines go through PL. 4. Make sure that Enclustra MCT software is not open. After closing it, unplug and plug in again the USB cable corresponding to the UART communication.
Page 25
[1] Vivado Design Suite User Guide, Embedded Processor Hardware Design, UG898, Xilinx, 2019 [2] Zynq-7000 All Programmable SoC Embedded Design Tutorial, UG1165, Xilinx, 2015 [3] Mars ZX3 SoC Module User Manual Ask Enclustra for details [4] Mars PM3 Base Board User Manual...
Need help?
Do you have a question about the Mars ZX3 and is the answer not in the manual?
Questions and answers