Running the Design on Hardware - 5.1 English

MIPI CSI-2 Receiver Subsystem Product Guide (PG232)

Document ID
PG232
Release Date
2022-04-26
Version
5.1 English

IMPORTANT: Before running the design on the Hardware, you need to build the project and generate the required bit/elf files. See Implementing the Example Design for more details.

1. Connect the JTAG cable and USB-UART cable to the board.

2. Go to the Application Example Design Project directory

Example: cd ./<IP instance name>_ex

3. Launch the Xilinx System Debugger by selecting Start > All Programs > Xilinx DesignTools > Vivado > Vivado Tcl Shell .

4. Invoke Xilinx System Debugger.

(xsdb)Vivado% xsdb

5. Establish connections to debug targets.

xsdb% connect

6. List all available JTAG targets

xsdb% targets

Note: The target number for the PSU, PL, RPU, and Cortex-R5F might be different. Run the targets and ensure that they are using the correct target number.

7. Download the bitstream to the FPGA.

xsdb% fpga -file ./<ip_instance_name>_ex.runs/impl_1/design_1_wrapper.bit

8. Set the corresponding target processor.

xsdb % targets -9 (Cortex-A53)

9. Download and start the application:

dow -force <vitis_workspace>/<platform_project>/zynqmp_fsbl/fsbl_a53.elf

Note: skip the above step for SP710 or VCK190-based example designs.

dow -force <vitis_workspace>/xmipi_example_1/Debug/xmipi_example_1.elf

Run the application giving con command in xsdb promot.

Note: The corresponding application file for SP701 board based example designs is xmipi_sp701_1.elf , and for a VCK190 board it is xmipi_vck190_1.elf .

Note: 1. For the SP701 board-based example design, set target processor as MicroBlaze. For the VCK190 board based example design, set the target processor as Cortex-A72.

10. For the ZCU102 board based example design, to observe the results, start a Hyper Terminal program on the host PC and configure its serial port (Interface 0) to 115200 baud rate with the default configuration. Ensure that the UART cable is connected to the board and the PC. The UART console displays a menu in the console. You are prompted for design related inputs.

a. Initially, the application asks you if the camera sensor and display panel are connected. Enter either y or n .

Note: If you answer n, it is assumed that the camera or the DSI panel or both are not available. The system displays the Camera sensor is set as Disconnected, and/or the DSI Display panel is set as Disconnected error message on the console.

b. Under the Main Menu, you are prompted for video source, display device, and resolution details.

- Press s to select the Sensor as video source and show live sensor data capture.

- Press t to select the Video Test Pattern generator as the video source and will show rainbow pattern on screen.

- Press h to switch the display to HDMI monitor if not already displayed.

- Press d to switch the display to DSI panel.

- Press r to bring up the resolution menu.

Note: Selecting an invalid option prompts an Unknown option error message on the console. All resolutions support only four lanes. The supported lane and other pipeline configurations are listed under the Current Pipe Configuration section displayed on the console.

11. For the SP701 board based Example Design, to observe the results, start a Hyper Terminal program on the host PC and configure its serial port (Interface 0) to 9600 baud rate with the default configuration. Ensure that the UART cable is connected to the board and the PC. The UART console displays a menu in the console. Under the Main Menu, you are prompted to select the preferred output.

a. Press 1 to select the display to DSI Panel

b. Press 2 to switch the display to HDMI Monitor

12. For the VCK190 board-based Example Design, to observe the results, start a Hyper Terminal program on the host PC and configure its serial port (Interface 0) to 115200 baud rate with the default configuration. Ensure that the UART cable is connected to the board and the PC. The UART console displays a menu in the console. Under the Main Menu, you are prompted to select the preferred output.

Figure 5-12: VCK190 Application Main Menu

X-Ref Target - Figure 5-12

menu.PNG

° 0 - 1920x1080p60

° 1 - 3840x2160p60

Note: Selecting an invalid option prompts an Unknown option error message on the console. All resolutions support only four (4) lanes. The supported lane and other pipeline configurations are listed under the Current Pipe Configuration section displayed on the console.