Has this issue been resolved? If I export the UHD_MODULE_PATH = the .so file it will find the gain block, but it prints a bunch of error strings trying to open every file in the directory. If I do not set the UHD_MODULE_PATH, I cannot find the block. How can I get around this? I’m trying to write C code to test the RFNOC block and am not interested in only gnuradio usage.
Also setting -Wl,--no-as-needed in the target_link_libraries of CMakeLists.txt did not resolve the issue either. Jeff From: Jeffrey P Long <[email protected]> Sent: Friday, May 14, 2021 5:30 PM To: Brian Padalino <[email protected]> Cc: [email protected] Subject: [USRP-users] Re: [EXT] Re: RFNOC block name? Ok I had it up in /usr/lib but I moved it down to the root folder and it basically gave the same thing with additional errors: Kind of look like it is still not finding it. Did I set it wrong? root@ni-e320-31DCD15:/usr/lib# export UHD_MODULE_PATH=~/ root@ni-e320-31DCD15:/usr/lib# uhd_find_devices Error: EnvironmentError: OSError: dlopen failed to load "/home/root/.viminfo" Error: EnvironmentError: OSError: dlopen failed to load "/home/root/e320.bit" Error: EnvironmentError: OSError: dlopen failed to load "/home/root/librfnoc-txcore.so" Error: EnvironmentError: OSError: dlopen failed to load "/home/root/.bash_history" [INFO] [UHD] linux; GNU C++ version 9.2.0; Boost_107100; UHD_4.0.0.0-0-g90ce6062 -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: serial: 31DCD15 claimed: False mgmt_addr: 127.0.0.1 product: e320 type: e3xx root@ni-e320-31DCD15:/usr/lib# uhd_usrp_probe Error: EnvironmentError: OSError: dlopen failed to load "/home/root/.viminfo" Error: EnvironmentError: OSError: dlopen failed to load "/home/root/e320.bit" Error: EnvironmentError: OSError: dlopen failed to load "/home/root/librfnoc-txcore.so" Error: EnvironmentError: OSError: dlopen failed to load "/home/root/.bash_history" [INFO] [UHD] linux; GNU C++ version 9.2.0; Boost_107100; UHD_4.0.0.0-0-g90ce6062 [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=127.0.0.1,type=e3xx,product=e320,serial=31DCD15,claimed=False [INFO] [MPM.PeriphManager] init() called with device args `mgmt_addr=127.0.0.1,product=e320'. [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... [INFO] [0/Radio#0] CODEC loopback test passed [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... [INFO] [0/Radio#0] CODEC loopback test passed [INFO] [0/DmaFIFO#0] BIST passed (Estimated Minimum Throughput: 1361 MB/s) [INFO] [0/DmaFIFO#0] BIST passed (Estimated Minimum Throughput: 1361 MB/s) [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xde30, 0xffff _____________________________________________________ / | Device: E300-Series Device | _____________________________________________________ | / | | Mboard: ni-e320-31DCD15 | | eeprom_version: 3 | | fs_version: 20200914014807 | | mender_artifact: v4.0.0.0_e320 | | mpm_sw_version: 4.0.0.0-g90ce6062 | | pid: 58144 | | product: e320 | | rev: 5 | | rpc_connection: local | | serial: 31DCD15 | | type: e3xx | | MPM Version: 3.0 | | FPGA Version: 6.0 | | FPGA git hash: 75f2ba9.clean | | | | Time sources: internal, external, gpsdo | | Clock sources: external, internal, gpsdo | | Sensors: ref_locked, gps_locked, fan, temp_fpga, temp_internal, temp_rf_channelA, temp_rf_channelB, temp_main_power, gps_gpgga, gps_sky, gps_time, gps_tpv | _____________________________________________________ | / | | RFNoC blocks on this device: | | | | * 0/Block#0 | | * 0/DDC#0 | | * 0/DUC#0 | | * 0/DmaFIFO#0 | | * 0/Radio#0 | _____________________________________________________ | / | | Static connections on this device: | | | | * 0/SEP#0:0==>0/DUC#0:0 | | * 0/DUC#0:0==>0/Radio#0:0 | | * 0/Radio#0:0==>0/DDC#0:0 | | * 0/DDC#0:0==>0/SEP#0:0 | | * 0/SEP#1:0==>0/DUC#0:1 | | * 0/DUC#0:1==>0/Radio#0:1 | | * 0/Radio#0:1==>0/DDC#0:1 | | * 0/DDC#0:1==>0/SEP#1:0 | | * 0/SEP#2:0==>0/DmaFIFO#0:0 | | * 0/DmaFIFO#0:0==>0/SEP#2:0 | | * 0/SEP#3:0==>0/DmaFIFO#0:1 | | * 0/DmaFIFO#0:1==>0/SEP#3:0 | | * 0/SEP#4:0==>0/Block#0:0 | | * 0/Block#0:0==>0/SEP#4:0 | _____________________________________________________ | / | | TX Dboard: dboard | | _____________________________________________________ | | / | | | TX Frontend: 0 | | | Name: E3xx | | | Antennas: TX/RX | | | Freq range: 47.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 89.8 step 0.2 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | | _____________________________________________________ | | / | | | TX Frontend: 1 | | | Name: E3xx | | | Antennas: TX/RX | | | Freq range: 47.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 89.8 step 0.2 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | _____________________________________________________ | / | | RX Dboard: dboard | | _____________________________________________________ | | / | | | RX Frontend: 0 | | | Name: E3xx | | | Antennas: RX2, TX/RX | | | Freq range: 70.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 76.0 step 1.0 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | | _____________________________________________________ | | / | | | RX Frontend: 1 | | | Name: E3xx | | | Antennas: RX2, TX/RX | | | Freq range: 70.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 76.0 step 1.0 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No From: Brian Padalino <[email protected]<mailto:[email protected]>> Sent: Friday, May 14, 2021 4:29 PM To: Jeffrey P Long <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]> Subject: [EXT] Re: [USRP-users] RFNOC block name? On Fri, May 14, 2021 at 4:22 PM Jeffrey P Long <[email protected]<mailto:[email protected]>> wrote: I am going through the examples in Getting Started with RFNoC in UHD 4.0 - Ettus Knowledge Base<https://kb.ettus.com/Getting_Started_with_RFNoC_in_UHD_4.0> And I thought maybe I had messed something up but I noticed in the example the real block name is not there either | _____________________________________________________ | / | | RFNoC blocks on this device: ... | | * 0/Block#0 ... | _____________________________________________________ | / | | Static connections on this device: ... | | * 0/SEP#4:0==>0/Block#0:0 | | * 0/Block#0:0==>0/SEP#4:0 ... Is there a reason why this does not get reflected in the usrp probe? I am running it on a E320. I built my bit image using the OOT approach. Moved it over and the .so created for my block. Do I need to bring over the block yml file or something? Try setting the UHD_MODULE_PATH environment variable to the location of your .so file for your block and re-run the probe. Brian
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
