AnsweredAssumed Answered

NO-OS demo fails with ZC702/fcomm1

Question asked by kke on Oct 9, 2013
Latest reply on Dec 14, 2016 by DragosB

The problem is that no-os reference design stalls during startup, on initialization of XCOMM components. (see below terminal capture)

 

Running XCOMM Test Program

 

Initializing XCOMM I2C...

XCOMM Init I2C OK!

 

Getting XCOMM Revision...

Board Version: Analog Devices, FMC Comms 1, D501384, AD-FMCOMMS1-EBZ, BOM Rev.1

 

Initializing XCOMM Components...

 

 

Step by step execution with gdb indicates that it never leaves the while loop in AD9548.c, Line 365:

 

while((ad9548_read(AD9548_REG_SYSTEM_CLOCK) & 0x01) == 0);

 

Do you have any idea what might be the problem?

 

Thanks,

Kris

 

 

 

My setup:

 

Zynq ZC702 + FMCOMMS1 EBZ (rev B)

Zynq bitstream taken directly from fpgahdl_xilinx-ad_fmcomms1_ebz_edk_14_4_2013_08_23/cf_xcomm_zc702/SDK/SDK_Workspace/hw/system.bit

 

SW stack:

fpgahdl_xilinx-ad_fmcomms1_ebz_edk_14_4_2013_08_23/cf_xcomm_zc702/SDK/SDK_Workspace    +   files from no-OS-master/fmcomms1

 

Also, in order to compile I had  to add the following declarations in adc_core.h, dac_core.h and test.h:

 

#define XPAR_AXI_AD9643_0_BASEADDR XPAR_AXI_ADC_2C_0_BASEADDR

#define XPAR_AXI_AD9122_0_BASEADDR XPAR_AXI_DAC_4D_2C_0_BASEADDR

Outcomes