MATLAB Answers

0

Why do I encounter "something Unexpected Occurred" after installing the "Xilinx Zynq-Based Radio, or USRP Embedded Series Radio" support packages?

Asked by MathWorks Support Team on 8 Nov 2019
Latest activity Answered by jarul
on 6 Dec 2019 at 10:09
Why do I encounter "something Unexpected Occurred" when installing a support package after having installed the "Xilinx Zynq-Based Radio, or USRP Embedded Series Radio" support packages?

Tags

No tags entered yet.

4 Answers

Answer by MathWorks Support Team on 12 Nov 2019 at 5:00
Edited by MathWorks Support Team on 12 Nov 2019 at 4:47
 Accepted Answer

Currently Communications Toolbox Support Package for Xilinx Zynq-Based Radio Version 19.2.1, and USRP Embedded Series Radio version 19.2.1 cannot be installed alongside some other support packages.
Currently there is no workaround, and you will want to either install just one of the name support packages in isolation or neither of those support packages for the moment.
If you do not have either of those support packages installed you can use the following article to troubleshoot this issue.
Why do I see the error "Something Unexpected Occurred" when installing a Support Package?

  1 Comment

I hope that when the Mathworks group fixes the above problem, I can start using the "Communications Toolbox Support Package for Xilinx Zynq-Based Radio version 192.168.3.2". My work has been stalled due the above mentioned problem. I have noticed the above problem with the Zynq radio and the library that involves Transfer and receive library. Now that Mathworks group is trying replace the "receiver()" with the "capture" function, hope that they can fix it quite well. Thanks and await your quick response.

Sign in to comment.


Answer by Andrew Wang on 1 Dec 2019 at 2:57
Edited by Andrew Wang on 2 Dec 2019 at 8:27

For "either install just one of the name support packages in isolation or neither of those support packages for the moment",
how to install name support packages? which packages is to install? or How to check my matlab whith neither package?

  0 Comments

Sign in to comment.


Answer by jarul
on 2 Dec 2019 at 5:41

I have installed just one communication toolbox as shown below:
"Communications Toolbox Support Package for Xilinx Zynq-Based Radio"
Now my radio is setup in the ip address as mentioned in the document.
192.168.3.2
My host machine is installed on the ip address as follows:
192.168.3.6
I run the following three lines of Matlab code:
dev = sdrdev('AD936x');
dev
testConnection(dev)
I get the following error code:
dev =
SDRDevAD936x with properties:
IPAddress: '192.168.3.2'
DeviceName: 'AD936x'
## Pinging radio IP address
## Checking compatibility of software with hardware
Error using comm.zynqradioshared.dev.Base/testConnection
Error attempting to connect to address '192.168.3.2'.
Error connecting to SSH server at 192.168.3.2
This could be due to:
- an improperly specified device IP address
- an unsuccessful boot from SD card image
- an improperly configured network card on the host
- an incompatible network card on the host
- host port blocking or anti-virus software
See the documentation to configure the host and SDR device for proper communication.
Error in comm.zynqradio.dev.Base/testConnection (line 64)
status = testConnection@comm.zynqradioshared.dev.Base(obj,varargin{:});
Error in testad9361 (line 4)
testConnection(dev)
What is the problem?
Another way of testing was done with two lines of Matlab code as follows:
dev = sdrdev('AD936x');
testConnection(dev,'192.168.3.1');
Still get the following errors:
## Pinging host IP address
## Pinging radio IP address
## Checking compatibility of software with hardware
Error using comm.zynqradioshared.dev.Base/testConnection
Error attempting to connect to address '192.168.3.2'.
Error connecting to SSH server at 192.168.3.2
This could be due to:
- an improperly specified device IP address
- an unsuccessful boot from SD card image
- an improperly configured network card on the host
- an incompatible network card on the host
- host port blocking or anti-virus software
See the documentation to configure the host and SDR device for proper communication.
Error in comm.zynqradio.dev.Base/testConnection (line 64)
status = testConnection@comm.zynqradioshared.dev.Base(obj,varargin{:});
Error in testad9361 (line 5)
I have the SD card image from the following website:
https://wiki.analog.com/resources/tools-software/linux-software/zynq_images
Using the following latest image file.
23 May 2019 release (2018_R2)
still the zynq radio is not working.
Can you suggest some ways to correct the error?
Do you think that I need to use the older SD card image?
Thanks for your help.

  1 Comment

Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Colin Fraser

Sign in to comment.


Answer by jarul
on 6 Dec 2019 at 10:09

Hai Colin,
Thanks for your response. I was able to setup the AD9361 SDR successfully.
The method mentioned in the mathworks website is different from what I achieved.
Here is the way I set up the radios:
  1. The communication toolbox for Xilinx zynq radio library alone was installed on R2019b.
  2. Then Embedded Coder Support Package for Xilinx Zynq Platform library was installed.
Created the SD card image in two steps.
  1. Downloade the SD card image from the following website
  2. https://wiki.analog.com/resources/tools-software/linux-software/zynq_images#staying_up_to_date
  3. 23 May 2019 release (2018_R2) It was created on one SD card. SD card 1
  4. Then used the embedded Coder support package library which create a Hardware setup on an SD card 2.
  5. Finally copied the SD card 2 files on the SD card 1 file's BOOT directory.
Finally, combining both the SD card together the radio was setup successfully. After testing both the radios individually, it successfully transmits and receives an image over the air.
  1. However, when the radios are put to work together, it is not successful.
  2. Transmit a picture through Radio 1 and try to receive in the air by Radio 2, is not successful.
The decode is not successful. The cell identity is never correct. No Transport block is found, hence the decode is not successful. If you can suggest some ways to solve this problem, I would appreciate a lot.

  0 Comments

Sign in to comment.