AnsweredAssumed Answered

FMC DAQ2 with ZYNQ No-OS Project

Question asked by emrekk on Aug 18, 2017
Latest reply on Aug 19, 2017 by emrekk

Hi,

 

I am working on FMC DAQ2 board with Xilinx Zynq ZC706 Eval Board. And I am trying to implement reference HDL project with no-OS software project . I followed the steps below;

 

1. Build HDL project as described in the link below with "make -C projects/daq2/zc706".

https://wiki.analog.com/resources/fpga/docs/build

2. After building hdl project. Open project file and add ILA IP Core to project. Then generate bitstream again.

3. In Vivado, File->Export Hardware(include bitstream). And File->Launch SDK.

4. In SDK, open new project as described in the link below.

AD-FMCDAQ2-EBZ Bare Metal Quick Start Guide [Analog Devices Wiki] 

5. Add no-OS project files as listed in fmcdaq2.mk file.

no-OS/fmcdaq2.mk at 2016_R2 · analogdevicesinc/no-OS · GitHub 

6. Add #define XILINX and #define ZYNQ at the top of platform_drivers.h file.

7. At this point SDK asks platform.h file. And then add platform.h, platform_config.h and platform.c to SDK.

(No error remained here)

8. Program FPGA and Run.

 

At the end of these steps I took this error;

 

11:47:22 ERROR : Unexpected error while launching program.
java.lang.RuntimeException: Failed to download ELF file


Cannot access DDR: the controller is held in reset

at com.xilinx.sdk.targetmanager.internal.TM.downloadELF(TM.java:686)
at com.xilinx.sdk.debug.core.internal.AppRunner.run(AppRunner.java:129)
at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.runApplication(XilinxAppLaunchConfigurationDelegate.java:637)
at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.launch(XilinxAppLaunchConfigurationDelegate.java:309)
at com.xilinx.sdk.debug.ui.XilinxAppLaunchDelegateWrapper.launch(XilinxAppLaunchDelegateWrapper.java:31)

 

So, I don't know where the problem is. I am using hdl_2016_r2 and no-OS 2016_r2 branches with Vivado 2016.2

 

Thanks.

 

Emre.

Outcomes