[srsran-users] Request for a help
Eddy Higgins
eddy.higgins at gmail.com
Thu Feb 10 09:10:01 UTC 2022
To add to Justin's reply...
Note that depending on the OS and UHD version you are using, sometimes that
script is installed in a different location...
For me (Ubuntu 20.04 LTS server) it's installed under (*/usr/lib/uhd*):
usrp:~$ find /usr -type f -iname uhd_images_downloader.py
/usr/lib/uhd/utils/uhd_images_downloader.py
If you have already run this and are still having problems ...
You can check where it is looking for the images with: *uhd_config_info
--images-dir*:
usrp:~$ uhd_config_info --images-dir
Images directory:
If that is empty you may have to set the *UHD_IMAGES_DIR* environment
variable to the location of the images
usrp:~$ export UHD_IMAGES_DIR=/usr/share/uhd/images/
usrp:~$ uhd_config_info --images-dir
Images directory: /usr/share/uhd/images/
Now you should be able to see the uhd device...
usrp:~$ uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.1.0.4-release
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial: 31234567
name: B200mini
product: B200mini
type: b200
I would typically set the environment variable in my .bashrc or in the
calling script I might use
Alternatively you can also specify the environment variable on the fly when
you run. e.g:
usrp:~$ UHD_IMAGES_DIR=/usr/share/uhd/images/ uhd_find_devices
or
usrp:~$ sudo UHD_IMAGES_DIR=/usr/share/uhd/images/ uhd_find_devices
I hope this is helpful,
Regards,
Eddy.
On Wed, 9 Feb 2022 at 18:42, Justin Tallon <justin.tallon at srs.io> wrote:
> Hi,
>
> If you execute the provided command it should download the required
> firmware and made your USRP operational.
>
>
> "Please run:
> "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
>
>
> Regards,
> Justin
>
> On Wed, 9 Feb 2022, 16:40 Muthu Subramanian V, <muthuramanan2000 at gmail.com>
> wrote:
>
>> Dear Team: Good day and greetings.
>>
>> We, in our office, are trying to install srsRAN and as part of it,
>> completed all the required installation.
>>
>> When we connected the external RF generator, we get the following
>> error message. What could be the issue? Kindly help us. Thanks.
>>
>> Best regards,
>> Muthu Subramanian V.
>>
>> The external RF generator details:
>>
>> Make: ETTUS
>> Model: USRP B210 (70 Mhz to 6 Ghz)
>>
>> ----------------------------------------------------------------------------------------------------------------------------------------
>>
>> UHD Warning:
>> EnvironmentError: IOError: Could not find path for image:
>> usrp_b200_fw.hex
>> Using images directory: <no images directory located>
>> Set the environment variable 'UHD_IMAGES_DIR' appropriately or follow
>> the below instructions to download the images package.
>> Please run:
>> "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
>> Opening USRP channels=1, args:
>>
>> UHD Warning:
>> EnvironmentError: IOError: Could not find path for image:
>> usrp_b200_fw.hex
>> Using images directory: <no images directory located>
>> Set the environment variable 'UHD_IMAGES_DIR' appropriately or follow
>> the below instructions to download the images package.
>> Please run:
>> "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
>> _______________________________________________
>> srsran-users mailing list
>> srsran-users at lists.srsran.com
>> https://lists.srsran.com/mailman/listinfo/srsran-users
>>
> _______________________________________________
> srsran-users mailing list
> srsran-users at lists.srsran.com
> https://lists.srsran.com/mailman/listinfo/srsran-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220210/edba78ce/attachment.htm>
More information about the srsran-users
mailing list