04-04-2019 06:43 AM - edited 04-04-2019 06:44 AM
I have been trying to execute the 'xrfdc_read_write_example' within the rfdc_v5_0 API for the ZCU111 evaluation board. I am having issues with the 'XRFdc_In16' function defined within the file 'xrfdc_hw.h'. Whenever this function is called, the program execution halts. Diving a bit deeper, it hangs on the 'atomic_load' function called within.
Some implementation notes that may be of use:
ZCU111 with NON-MTSDesign_8x8 Xilinx example design
Baremetal design (Standalone BSP and FreeRTOS BSP tested)
If anyone has insight on this problem it would be greatly appreciated.
04-15-2019 12:56 AM
I will have a try at my side and get back to you later. thanks,
04-15-2019 03:22 AM
I used the existing HDF in pre-build folder built the SDK project to take a quick test. It seems no problem at my side to run "xrfdc_read_write_example"...
Is it possible for you to try the existing HDF as what I did so we could align from here?
04-15-2019 08:35 AM
Thank you for the reply.
I have built the SDK project from the precompiled HDF, and it runs properly.
I confirmed that the SW setup is identical to the Vivado compiled project, so I suspect that there may be a disconnect between the Vivado compiled HW and the example SW. I have attached a text file with the UART readout from the pre-compiled SDK.
For reference, the Vivado HW compiles successfully. It was sourced from the tcl scripts within the 'scripts' folder in the NON-MTS_8x8 design. I will try to see if I can locate the source of the problem within the Vivado design. I have not made any modifications, and was under the impression that the precompiled HDF and the generated hardware files should be identical.
It may be helpful if you have any details of the changelog to see if there are any changes in the Vivado project after the pre-compiled HDF.
Thank you again,
04-15-2019 06:56 PM
Thanks for the update.
Good to hear that you can properly run the code with pre-compiled HDF.
It seems that there is something different between Pre-compiled HDF and Vivado complied HDF which is supposed to be the same.
I will try to figure out at the same time with you and update here later. Thanks,