Hello,
I would like to use FMCOMMS3 with ZCU104. I use Vivado/Vitis 2024.1. I have three questions
I have done the followings:
1-I started with the HDL of FMCOMMS3+ZCU102.
2- Modified the HDL project according to (https://wiki.analog.com/resources/fpga/docs/hdl/porting_project_quick_start_guide) and generated the bitstream successfully.
3- Import the .xsa file to Vitis 2024.1 and could build a helloworld project first and run it on ZCU104. This step is just to show that the .xsa file is not corrupted.
4- Cloned and built the software (no OS) as explained here https://wiki.analog.com/resources/no-os/build?rev=1733228837. I could build the project and write the bin file to ZCU104 by running "make run".
I have three questions
Q1- I would like to verify that the code modifications I did to the software is accurate. I changed the followings:
A- In app_config.h, I uncommented , "#define XILINX_PLATFORM"
B- parameters.h, I changed "#ifdef XPS_BOARD_ZCU102" to "#ifdef XPS_BOARD_ZCU104",
Are those code modifications enough? Am I missing anything?
Q2- When I run "make run" and write the binary to zcu104, I use minicom for serial terminal (UART). It displays the following messages:
Zynq MP First Stage Boot Loader
Release 2024.1 Nov 27 2025 - 07:44:46
PMU-FW is not running, certain applications may not be supported.
cf-ad9361-lpc: Successfully initialized (122880554 Hz)
ad9361_init : AD936x Rev 2 successfully initialized
cf-ad9361-dds-core-lpc: Successfully initialized (122880554 Hz)
DMA_EXAMPLE: address=0x46800 samples=65536 channels=4 bits=16
Done.
My question is that Is there any command line interface (cli) to interact with the hardware and change some of the design parameters? Or, every time, I want to change something, e.g., Transmit frequency, I have to change it from main.c and rerun the code?
Using this code, would it be possible to send custom data vector (any waveform IQ samples) through DMA to the DAC? Or the code needs to be modified to do that? Does the DMA example work by uncommenting "#define DMA_EXAMPLE" in app_config.h?
Q3- When I run "make sdkopen" to open vitis (for debugging), it does not work and throws the following error. How can I run vitis please?
****** Vitis Development Environment
****** Vitis v2024.1 (64-bit)
**** SW Build 5074859 on 2024-05-20-23:21:20
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
** Copyright 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.
Error: Unsupported option '-workspace=/home/XX/no-OS/projects/ad9361/build'
Syntax: vitis [--classic | -a | -w | -i | -s | -h | -v]
Options:
Launches New Vitis IDE (default option).
-classic/--classic
Launch classic Vitis IDE.
-a/--analyze [<summary file | folder | waveform file: *.[wdb|wcfg]>]
Open the summary file in the Analysis view.
Opening a folder opens the summary files found in the folder.
Open the waveform file in a waveform view tab.
If no file or folder is specified, opens the Analysis view.
-w/--workspace <workspace_location>
Launches Vitis IDE with the given workspace location.
-i/--interactive
Launches Vitis python interactive shell.
-s/--source <python_script>
Runs the given python script.
-j/--jupyter
Launches Vitis Jupyter Web UI.
-h/--help
Display help message.
-v/--version
Display Vitis version.
Thank you,