Those Rev numbers are hardware revs, but it may well also indicate that its on-board FPGA image is quite old--old enough that   modern image-loader tooling cannot cope, which is why a "hill-climbing" approach may be necessary.

I'll note that Ubuntu packaged UHD 3.15 for 20.04 (Focal):

https://packages.ubuntu.com/search?suite=focal&keywords=uhd

So, if you can extricate yourself (temporarily) from the UHD 4.5 that you likely installed through a PPA, the default
  UHD package for Ubuntu 20.04 is what you want.




-------- Forwarded Message --------
Subject: Re: [USRP-users] The firmware build is not compatible with the host code build
Date:   Thu, 9 Nov 2023 20:11:41 -0500
From:   German Farinas <german.fari...@gmail.com>
To:     Marcus D. Leech <patchvonbr...@gmail.com>


speed
I have two N210s. One of the USRPs N210 is working fine with UHD 4.5, I suppose that one is rev4 although it doesn't say it explicitly at the back of the case. However, the other USRP N210 says explicitly rev2 at the back. This one is giving me the error.


About the motivation for having UHD 4.5 none in specific. I am just new to UHD and I installed it via command line in Ubuntu 20. It was just easier. But in the future I may work with X300.


On Thu, Nov 9, 2023, 7:59 PM Marcus D. Leech <patchvonbr...@gmail.com> wrote:

   On 09/11/2023 19:24, German Farinas wrote:
    I am using UHD 4.5, I may try 3.15 as you suggested. But I don't
    know how to install both together. My system is Ubuntu 20.04 LTS.

   There haven't been any (documented) changes for N210 since UHD 3.13.

   You may need to build 3.15 from source.    I haven't ever really
   managed two UHD on the same system at the same time.
      Some folks like to use a different install prefix when building,
   and then set LD_LIBRARY_PATH and friends at runtime.
      Some folks use docker containers.

   What is the motivation for using UHD 4.5?  Unless you have hardware
   on the same system that is much newer, of course.




    On Thu, Nov 9, 2023, 7:08 PM Marcus D Leech
    <patchvonbr...@gmail.com> wrote:

        You may need to stage this from a much earlier rev of UHD. I
        don’t think there have been any updates to N210 firmware in a
        long time. So if you can tolerate UHD 3.15 that might be
        better for you.

        Sent from my iPhone

        On Nov 9, 2023, at 7:05 PM, German Farinas
        <german.fari...@gmail.com> wrote:

        
        I am trying to upload the image to an usrp N210 rev2.0 but I
        got the following error message. Have anyone had the same
        error before? I need some help with this issue. See the
        output of the uhd_image_loader below.

        Best,
        German

        uhd_image_loader --args="type=usrp2,addr=192.168.10.2"

        [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100;
        UHD_4.5.0.0-0ubuntu1~focal1
        [ERROR] [UHD] Exception caught in safe-call.
          in ~usrp2_iface_impl
          at
        /build/uhd-UJYBdq/uhd-4.5.0.0/host/lib/usrp/usrp2/usrp2_iface.cpp:82
        this->lock_device(false); -> RuntimeError:
        Please update the firmware and FPGA images for your device.
        See the application notes for USRP2/N-Series for instructions.
        Expected protocol compatibility number [10 to 12], but got 9:
        The firmware build is not compatible with the host code build.
        Please run:

         "/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
         "/lib/bin/uhd_image_loader" \
        --args="type=usrp2,addr=192.168.10.2"

        Error: RuntimeError: Received invalid reply 32 from device.
        _______________________________________________
        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

Reply via email to