ZCU102 hardware setup fails

Hi,
I have installed the communications toolbox support package for Xilinx Zynq-based Radio 19.1.2 and I am trying to connect my ZCU102(with AD fmcomms2) developement board with matlab. Everythings seems to work fine also writing the image to the SD-card but when i insert the SD-card in the slot of the evalboard and switch it on the "Done"-Leds stay red. So it never comes up.
If i use the original image from Analog Devices or the built in test from Xilinx everything works fine. So what is the problem, any idea?
many thanks
Matthias

1 Comment

Hi Matthias,
Would it be possible for you to connect to the UART and copy the boot logs here? That may help us diagnose the problem.
I can think of a couple of potential issues here.
  1. Do you have a new ZCU102? Xilinx have recently made a change to the DDR4 memory on recent ZCU102 boards due to a manufacturer end of life notice. See here. We are currently not compatible with ZCU102 boards with serial number higher than 0432055-05. We are working to resolve this.
  2. Sometimes your SD card can be formatted with more than one partition and you may not be writing to the first partition. Analog Devices SD cards ship with two partitions, for example.
Thanks,
Neil

Sign in to comment.

Answers (6)

Neil MacEwen
Neil MacEwen on 14 Aug 2019
Hi Matthias, Kambiz,
We have updated the bootloader to be compatible with the new DDR, you can find it here. We have only performed minimal qualification as we don't actually have a new board locally. I hope this gets you up and running. We will work to update the shipping images as soon as we can.
Please download the new bootloader and copy onto the SD card to replace the existing file. Note that if you ever use the downloadImage methods to update your SD card, you will revert the updated bootloader.
Kind regards,
Neil

6 Comments

Thanks Neil...This seems to have fixed the boot issue. My ZCU102+AD-FMCOMMS4 now seems to boot properly with the Mathworks provided image. So I am on to the next steps...
Hi Neil...
So I just wanted to try and test with the QPSK Tx/Rx example models with my hardware setup. The Tx model seems to initialize and run OK, but when I try to run the Rx model, I get the following message. Any idea what may be the problem? Thanks again!
===============
MATLAB System block 'zynqRadioQPSKRxAD9361AD9364SL/AD936x Receiver' error occurred when invoking 'setupImpl' method of 'comm.SDRRxAD936x'. The error was thrown from '
'.../Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/libiio/base/+matlabshared/+libiio/+internal/isGeneratingHDL.p' at line 0
'...//Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/libiio/base/+matlabshared/+libiio/+internal/isGeneratingHDL.p' at line 0
'.../Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/libiio/base/+matlabshared/+libiio/base.p' at line 0
'.../Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/sdr/sdrplug/sdrplugins/zynqradio/+comm/+zynqradio/rx.p' at line 0'.
Caused by:
block_diagram does not have a parameter named 'HDLCodeGenStatus'
Neil MacEwen
Neil MacEwen on 14 Aug 2019
Edited: Neil MacEwen on 14 Aug 2019
Hi Kambiz, my suspicion is that you don't have HDL Coder installed. This is an issue we have seen once or twice before. I have created a new question to deal with this issue.
Thanks Neil... I have HDL Coder License and I have it installed. But it is a network license and I noticed that it was not available for me at the time I ran the model. I guess I will try your workaround for now. Thanks again!
Hi Neil -- I tried your workaround, and the Rx model now seems functional. But the received QPSK data does not seem to be decoded properly all the time, i.e., the diagnosis window keeps showing a bunch of properly decoded "hello world" messages followed by a bunch of seemingly junk data. Need to debug that now...
If you are running both transmitter and receiver in one MATLAB session, it is possible that either Simulink cannot keep up with the required rates, or packets are being dropped over the Ethernet link. You can try using the Repeated Waveform Transmitter method with the Simulink receiver model, see this example.
For future questions, please could you enter a technical support case to keep this page to one topic.

Sign in to comment.

Matthias Scheide
Matthias Scheide on 21 Jun 2019
Hi Neil,
thanks for your reply.
The serial# of my Board is 0432055-05-1907, so I'm not sure if it is meant to be higher or equal to the number you sent.
The SD-Card I am using is the one that comes with the board from xilinx and I don't see two partitions on it.
What putty hows me is the following
Xilinx Zynq MP First Stage Boot Loader
Release 2017.2 Jan 16 2018 - 11:56:27
NOTICE: ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v1.4(release):mathworks_zynq_iiosdr_R19.1.0
NOTICE: BL31: Built : 22:02:22, Jan 17 2019
then it ends.
When i use the Image from Analog Devices I see the "normal" start up but it seems that it is not able to read the MAC-adress and it's using a "random-MAC".
Best regards
Matthias

1 Comment

Hi Matthias,
From your serial number it looks like you have an updated ZCU102 which we are not yet compatible with. We hope to have a fix for this soon. I'll revisit this page if I have more information. Sorry I can't be more help at this time.
Kind regards,
Neil

Sign in to comment.

Matthias Scheide
Matthias Scheide on 25 Jun 2019
Hi Neil,
would be very nice to her from you...sooner is better :-)
best regards
Matthias
Kambiz Shoarinejad
Kambiz Shoarinejad on 2 Aug 2019
Same exact problem here with our new ZCU102...
So the questions are:
1) When do you expect to have a fix for this?
2) Would it be possible to use the ADI boot image instead and still use the AD936x matlab objects?
Thanks,
-kambiz
Antonio Anastasio
Antonio Anastasio on 5 Jul 2022
Hello same problem with ZCU102 with serila number 0432055-08-....
Could let me know if you have identified a solution
BR
Antonio
mustafa
mustafa on 14 Jun 2023
Hello,
I have a similar issue. I am using 0432055-13-2308
thanks

Products

Release

R2019a

Asked:

on 18 Jun 2019

Answered:

on 14 Jun 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!