Failed to find device: cf-ad9361-lpc.

29 vues (au cours des 30 derniers jours)
Xiaoxiao Liu
Xiaoxiao Liu le 2 Oct 2020
Commenté : Xiaoxiao Liu le 6 Oct 2020
Hi, I was following the tutorial https://ww2.mathworks.cn/help/supportpkg/xilinxzynqbasedradio/examples/hw-sw-co-design-qpsk-transmit-and-receive-using-analog-devices-ad9361-ad9364.html HW/SW Co-Design QPSK Transmit and Receive Using Analog Devices AD9361/AD9364.
When I run the software interface model in "normal" mode, I got the error as follows:
Environment:
ZC706 and FMCOMMS5, windows10, Matlab R2019a, vivado 2018.2.
Add-ons:
  • Communication Toolbox Support Package for Xilinx Zynq-Based Radio
  • Embedded Coder Support Package for Xilinx Zynq Platform
  • HDL Coder Support Package For Xilinx Zynq Platform
  • Embedded Coder Support Package for Arm Cortex-A Processors
  • Analog Devices Board Support Packages
  • Embedded Coder Interface to QEMU Emulator
I have also finished "Harware Setup" step, but the error still exists.
I'm a beginner to this kind of platform. Looking forward to your reply! Thanks a lot!

Réponse acceptée

Martin Enderwitz
Martin Enderwitz le 2 Oct 2020
Hi,
There are a few things to consider to resolve the issues you are seeing:
  1. The example you are working with demonstrates HW/SW Co-Design, where the model zynqRadioHWSWQPSKAD9361AD964SL_UDP_interface is used to generated C code that executes on the ARM processing system of the Zynq SoC. Therefore, it cannot be run in "Normal" mode, and instead must either be fully deployed or run using "Monitor and Tune". Please ensure you follow the example instructions exactly, and in particular the sections Setting up the software model to run on the ARM processor and Running the Software and Hardware on the Zynq board
  2. Since you are working with the FMCOMMS5, you need to replace the AD946x Transmitter and AD936x Receiver blocks in the model with their FMCOMMS5 counterparts, FMCOMMS5 Transmitter and FMCOMMS5 Receiver. The "Failed to find device: cf-ad9361-lpc" error you are seeing is because the FMCOMMS5 does not contain this device; that exists on the FMCOMMS2/3/4 only.
If you follow the example steps precisely, and replace the receiver/transmitter blocks, you should be able to run the example without issue.
Regards,
Martin
  8 commentaires
Martin Enderwitz
Martin Enderwitz le 6 Oct 2020
Modifié(e) : Martin Enderwitz le 6 Oct 2020
To confirm, I have been able to reproduce the issue you have observed, where the switch does not toggle when you double-click on it. This is a previously reported issue in R2019a, that has been resolved in R2019b.
In the meantime, you can resolve this issue by running the following command:
set_param('zynqRadioHWSWQPSKAD9361AD9364SL_interface','DefaultParameterBehavior','Tunable')
That should re-enable the ability to toggle the switch value when running in External mode.
Regards,
Martin
Xiaoxiao Liu
Xiaoxiao Liu le 6 Oct 2020
It works well now! Thank you very much!
Best regards!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by