[USRP-users] troubleshooting pcie link card

2021-04-05 Thread Snehasish Kar
Hello

I need some help in troubleshooting pcie link card. I can see orange LED 
glowing in the card and even on giving the command lspci, I am not able to see 
the card in the list. Please help me with the troubleshooting.

Regards

Snehasish
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] X310

2021-04-05 Thread Muhammed Mustaqim
Hi,

Quick Question,

Can I run USRP X310 with a single UBX 160 MHz daughteboard, or do I have to
have 2 daughterboards in order to run X310.


Regards,
Muhammed Mustaqim
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: troubleshooting pcie link card

2021-04-05 Thread Marcus Müller
Hi Snehasish,


chances are that if the board doesn't show up in lspci, there's not much you 
can debug;
your mainboard doesn't seem to play nice.

Try the following:


* Check dmesg for anything related to PCIe enumeration

* Check in your BIOS/UEFI setup whether it has some dialog to list connected 
PCIe devices

* Check whether using a different PCIe slot helps

* Check whether your mainboard's PCIe lane assignments can be changed. This is 
often the
case for gamer mainboards with 2011 to ca 2019 intel CPUs, but it's also the 
case on some
other platforms.


Best regards,

Marcus

DISCLAIMER: Any attached Code is provided As Is. It has not been tested or 
validated as a product, for use in a deployed application or system, or for use 
in hazardous environments. You assume all risks for use of the Code. Use of the 
Code is subject to terms of the licenses to the UHD or RFNoC code with which 
the Code is used. Standard licenses to UHD and RFNoC can be found at 
https://www.ettus.com/sdr-software/licenses/.

NI will only perform services based on its understanding and condition that the 
goods or services (i) are not for the use in the production or development of 
any item produced, purchased, or ordered by any entity with a footnote 1 
designation in the license requirement column of Supplement No. 4 to Part 744, 
U.S. Export Administration Regulations and (ii) such a company is not a party 
to the transaction.  If our understanding is incorrect, please notify us 
immediately because a specific authorization may be required from the U.S. 
Commerce Department before the transaction may proceed further.

On 05.04.21 14:39, Snehasish Kar wrote:
> Hello
>
> I need some help in troubleshooting pcie link card. I can see orange LED 
> glowing in the
> card and even on giving the command lspci, I am not able to see the card in 
> the list.
> Please help me with the troubleshooting.
>
> Regards
>
> Snehasish
>
> ___
> USRP-users mailing list -- usrp-users@lists.ettus.com
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: X310

2021-04-05 Thread Marcus Müller
Hi Muhammed,

you can use it with just one.

Best regards,

Marcus

DISCLAIMER: Any attached Code is provided As Is. It has not been tested or 
validated as a product, for use in a deployed application or system, or for use 
in hazardous environments. You assume all risks for use of the Code. Use of the 
Code is subject to terms of the licenses to the UHD or RFNoC code with which 
the Code is used. Standard licenses to UHD and RFNoC can be found at 
https://www.ettus.com/sdr-software/licenses/.

NI will only perform services based on its understanding and condition that the 
goods or services (i) are not for the use in the production or development of 
any item produced, purchased, or ordered by any entity with a footnote 1 
designation in the license requirement column of Supplement No. 4 to Part 744, 
U.S. Export Administration Regulations and (ii) such a company is not a party 
to the transaction.  If our understanding is incorrect, please notify us 
immediately because a specific authorization may be required from the U.S. 
Commerce Department before the transaction may proceed further.

On 05.04.21 16:28, Muhammed Mustaqim wrote:
> Hi, 
>
> Quick Question, 
>
> Can I run USRP X310 with a single UBX 160 MHz daughteboard, or do I have to 
> have 2
> daughterboards in order to run X310.
>
>
> Regards, 
> Muhammed Mustaqim
>
> ___
> USRP-users mailing list -- usrp-users@lists.ettus.com
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: Problem with interfacing Raspberry Pi 4 to USRP B210 with Python API

2021-04-05 Thread Clark (US), Kenneth C
Brendan,



I am just using the ‘examples’ C/C++ builds.  I have not used the python 
modules.



I would think editing the CMake file would remove the need for the –D flag.



I have had very good luck running a B205 USB-3 on a RPi-4-8GB.  Only a couple 
of dependencies to install, which were documented on the Ettus UHD website.



I did create a RAM-Drive, since the 8 GByte RAM has room for that.  And I am 
able to reliably record above 20 Msps with the ‘wire format’ at 16-bit complex 
I&Q.  (No real reason to do 32-float, since the native samples are 16-bit I&Q 
in the FPGA on the B205, right?)



I use the ‘host examples’ in the latest 4.x version of UHD.  And they are 
pretty easy to modify.  I have adapted for things like using the 1-PPS, and 
doing times receive and transmit.



Ken



From: Brendan Horsfield [mailto:brendan.horsfi...@vectalabs.com]
Sent: Sunday, April 4, 2021 01:35
To: Clark (US), Kenneth C 
Cc: usrp-users@lists.ettus.com; patchvonbr...@gmail.com
Subject: [EXTERNAL] Re: [USRP-users] Re: Problem with interfacing Raspberry Pi 
4 to USRP B210 with Python API



EXT email: be mindful of links/attachments.




Thanks Ken.  As you suggested, I added -DCMAKE_EXE_LINKER_FLAGS="-latomic" to 
the CMake call.



The good news is that the UHD build & installation process completed 
successfully.



The bad news is that when I try to import the uhd module in Python3, I get the 
following error:



pi@raspberrypi:~ $ python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import uhd
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python3/dist-packages/uhd/__init__.py", line 10, in 

from . import types
  File "/usr/local/lib/python3/dist-packages/uhd/types.py", line 10, in 
from . import libpyuhd as lib
ImportError: /usr/local/lib/libuhd.so.4.0.0: undefined symbol: 
__atomic_fetch_add_8
>>>



Did you encounter this problem too?



I guess the next step is to hack the "CMakeLists.txt" files as per the link you 
sent me.  Just to clarify one point first:  If I modify the CMakeLists.txt 
files, do I still need to include -DCMAKE_EXE_LINKER_FLAGS="-latomic" in the 
CMake call?



Thanks,

Brendan.







On Sat, Apr 3, 2021 at 10:29 PM Clark (US), Kenneth C 
mailto:kenneth.c.cla...@boeing.com>> wrote:


   I had the same problem build UHD on RPi4

   Answer here:
   https://gitlab.kitware.com/cmake/cmake/-/issues/21174

   Add to CMake call:
   -DCMAKE_EXE_LINKER_FLAGS="-latomic"

   Regards,

   Ken


   -Original Message-
   From: 
usrp-users-requ...@lists.ettus.com 
[mailto:usrp-users-requ...@lists.ettus.com]
   Sent: Saturday, April 3, 2021 11:13
   To: usrp-users@lists.ettus.com
   Subject: [EXTERNAL] USRP-users Digest, Vol 128, Issue 7

   EXT email: be mindful of links/attachments.



   Send USRP-users mailing list submissions to
   usrp-users@lists.ettus.com

   To subscribe or unsubscribe via email, send a message with subject or body 
'help' to
   
usrp-users-requ...@lists.ettus.com

   You can reach the person managing the list at
   
usrp-users-ow...@lists.ettus.com

   When replying, please edit your Subject line so it is more specific than 
"Re: Contents of USRP-users digest..."

   Today's Topics:

  1. Re: Problem with interfacing Raspberry Pi 4 to USRP B210 with Python 
API
 (Brendan Horsfield)
  2. Re: Intermittent problem with GPS synchronization for multiple E310 
units
 (Ofer Saferman)


   --

   Message: 1
   Date: Sat, 3 Apr 2021 21:07:59 +1000
   From: Brendan Horsfield 
mailto:brendan.horsfi...@vectalabs.com>>
   Subject: [USRP-users] Re: Problem with interfacing Raspberry Pi 4 to
   USRP B210 with Python API
   To: Marcus D Leech mailto:patchvonbr...@gmail.com>>
   Cc: USRP-users@lists.ettus.com
   Message-ID:
   
mailto:calnmz8wg3gqnkaomrhhcbpagttfubm3fkmzjhcwhuaghrlu...@mail.gmail.com>>
   Content-Type: multipart/alternative;
   boundary="dc3aeb05bf0f7ace"

   Hi Marcus,

   I have tried your suggestion, but unfortunately without success:

   Per your advice, I have edited the file "cmake.lwt" in the folder 
/usr/local/lib/python3.7/dist-packages/pybombs/templates to include the option 
"-DENABLE_PYTHON_API=ON" in the calls to cmake.  The modified commands are as 
follows:

   configure: cmake .. -DENABLE_PYTHON_API=ON 
-DCMAKE_BUILD_TYPE=$cmakebuildtype -DCMAKE_INSTALL_PREFIX=$prefix $config_opt 
-Wno-dev
   configure_static: cmake .. -DENABLE_PYTHON_API=ON 
-DCMAKE_BUILD_TYPE=$cmakebuildtype -DCMAKE_

[USRP-users] Re: troubleshooting pcie link card

2021-04-05 Thread Snehasish Kar
Thanks for your prompt response. I will check it tomorrow and get back to you.

Regards
Snehasish

Get Outlook for iOS

From: Marcus Müller 
Sent: Monday, April 5, 2021 8:03:32 PM
To: usrp-users@lists.ettus.com 
Subject: [USRP-users] Re: troubleshooting pcie link card

Hi Snehasish,


chances are that if the board doesn't show up in lspci, there's not much you 
can debug;
your mainboard doesn't seem to play nice.

Try the following:


* Check dmesg for anything related to PCIe enumeration

* Check in your BIOS/UEFI setup whether it has some dialog to list connected 
PCIe devices

* Check whether using a different PCIe slot helps

* Check whether your mainboard's PCIe lane assignments can be changed. This is 
often the
case for gamer mainboards with 2011 to ca 2019 intel CPUs, but it's also the 
case on some
other platforms.


Best regards,

Marcus

DISCLAIMER: Any attached Code is provided As Is. It has not been tested or 
validated as a product, for use in a deployed application or system, or for use 
in hazardous environments. You assume all risks for use of the Code. Use of the 
Code is subject to terms of the licenses to the UHD or RFNoC code with which 
the Code is used. Standard licenses to UHD and RFNoC can be found at 
https://www.ettus.com/sdr-software/licenses/.

NI will only perform services based on its understanding and condition that the 
goods or services (i) are not for the use in the production or development of 
any item produced, purchased, or ordered by any entity with a footnote 1 
designation in the license requirement column of Supplement No. 4 to Part 744, 
U.S. Export Administration Regulations and (ii) such a company is not a party 
to the transaction.  If our understanding is incorrect, please notify us 
immediately because a specific authorization may be required from the U.S. 
Commerce Department before the transaction may proceed further.

On 05.04.21 14:39, Snehasish Kar wrote:
> Hello
>
> I need some help in troubleshooting pcie link card. I can see orange LED 
> glowing in the
> card and even on giving the command lspci, I am not able to see the card in 
> the list.
> Please help me with the troubleshooting.
>
> Regards
>
> Snehasish
>
> ___
> USRP-users mailing list -- usrp-users@lists.ettus.com
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com