[USRP-users] USB problems

Vsr Ravi vsr_ravi at yahoo.com
Tue Jul 28 19:21:21 EDT 2015


Hi all,My USRP daughterboard model is XCVR2450. When I am running ./benchmark_tx.py -f 5G, it is starting to transmit the packets but a small error occured given below,
linux; GNU C++ version 4.8.4; Boost_105500; UHD_003.009.git-144-g407e3086
Using Volk machine: avx_64_mmx-- Opening a USRP1 device...-- Using FPGA clock rate of 64.000000MHz...
No gain specified.Setting gain to 7.500000 (from [-20.000000, 35.000000])
UHD Warning:    The hardware does not support the requested TX sample rate:    Target sample rate: 0.050000 MSps    Actual sample rate: 0.250000 MSps
Symbol Rate:         25000.000000Requested sps:       2.000000Given sample rate:   250000.000000Actual sps for rate: 10.000000
Requested sample rate: 50000.000000Actual sample rate: 250000.000000..............................................................................................U...............................................................terminate called after throwing an instance of 'uhd::runtime_error'  what():  RuntimeError: usb tx2 transfer status: 1Aborted (core dumped).

But towards the receiver side, I gave the command ./benchmark_rx.py -f 5G, it gave only 13 packets and that too with n_right=0.

linux; GNU C++ version 4.8.4; Boost_105500; UHD_003.009.git-144-g407e3086
Using Volk machine: avx_64_mmx-- Opening a USRP1 device...-- Using FPGA clock rate of 64.000000MHz...
No gain specified.Setting gain to 56.250000 (from [0.000000, 112.500000])
UHD Warning:    The hardware does not support the requested RX sample rate:    Target sample rate: 0.050000 MSps    Actual sample rate: 0.250000 MSps
Symbol Rate:         25000.000000Requested sps:       2.000000Given sample rate:   250000.000000Actual sps for rate: 10.000000
Requested sample rate: 50000.000000Actual sample rate: 250000.000000ok = False  pktno = 53034  n_rcvd =    1  n_right =    0ok = False  pktno =   24  n_rcvd =    2  n_right =    0ok = False  pktno =   35  n_rcvd =    3  n_right =    0ok = False  pktno =   44  n_rcvd =    4  n_right =    0ok = False  pktno =   46  n_rcvd =    5  n_right =    0ok = False  pktno =   46  n_rcvd =    6  n_right =    0ok = False  pktno = 3872  n_rcvd =    7  n_right =    0ok = False  pktno = 12304  n_rcvd =    8  n_right =    0ok = False  pktno =   49  n_rcvd =    9  n_right =    0ok = False  pktno =   50  n_rcvd =   10  n_right =    0ok = False  pktno =   54  n_rcvd =   11  n_right =    0ok = False  pktno =  200  n_rcvd =   12  n_right =    0ok = False  pktno =   63  n_rcvd =   13  n_right =    0 My USRP can access in the range of 2.4GHZ to 5GHZ. Please advice as to what I can do. Thanks
Regards,Ravi 


     On Tuesday, 28 July 2015 5:35 PM, Vsr Ravi <vsr_ravi at yahoo.com> wrote:
   

 That worked. Thanks a lot. When I run the line ./latency_test, it says "USRP1 cannot achieve decimations below 8 when the half-band filter is present.    The usrp1_fpga_4rx.rbf file is a special FPGA image without RX half-band filters.    To load this image, set the device address key/value pair: fpga=usrp1_fpga_4rx.rbf".
I have already loaded the firmware and fpga images but the above line occurs. Please help
Thanks
 


     On Tuesday, 28 July 2015 5:02 PM, Marcus Müller <marcus.mueller at ettus.com> wrote:
   

  You need to uninstall all these three packages.
 
 On 29.07.2015 00:01, Vsr Ravi wrote:
  
  I see that the libuhd, libuhd003 and uhd-host packages have been installed from the software center but the uhd folder has not been installed. So can you please suggest me as to what I can do further. Sorry for this as I am new to using this USRP . 
  Thanks, Ravi 
 
 
       On Tuesday, 28 July 2015 4:48 PM, Marcus Müller <marcus.mueller at ettus.com> wrote:
   
 
    Don't go around deleting arbitrary folders!
 That UHD got there some way -- either from a previous run of building and installing UHD, or via the package manager of your linux.
 If the latter is the case, that's exactly the way it should be removed.
 Please check that no uhd, libuhd, libuhd3 or uhd-host packages are installed.
 
 Best regards,
 Marcus
 
 PS: on unix systems, program/libraries and user data is typically kept isolatedly, so don't worry about losing any work.
  On 28.07.2015 23:43, Vsr Ravi wrote:
  
  Hi Marcus, Thanks for the reply. I guess I need to delete one UHD folder. Is it possible to delete any UHD folder,  or will be the information be lost if I perform this operation on any of the folder of UHD? 
  Regards, Ravi 
 
 
       On Tuesday, 28 July 2015 4:34 PM, Marcus Müller <marcus.mueller at ettus.com> wrote:
   
 
    Hi Ravi,
 
 you seem to have two different, competing UHD installations, one in /usr/local/, and one in /usr/.
 
 Make sure you only have one. Again, it's important that you remove all other UHDs from your system before you install your self-built UHD.
 
 Best regards,
 Marcus
 
  On 28.07.2015 23:31, Vsr Ravi wrote:
  
     Hi, Thanks for the suggestions that you have given. But I have encountered a problem. Whenever  I run the file of Latency_test located in /usr/lib/uhd/examples, I get the error as 
  Error: LookupError: IndexError: multi_usrp::mb_root(140725369489696) - vector::_M_range_check
  
  And when I run "test_messages" command, it shows  
  Segmentation fault (core dumped)
  
  Please suggest as to what I can do to prevent the above errors. Thank you  
  Regards, Ravi 
  
 
 
          On Tuesday, 28 July 2015 4:28 AM, Marcus Müller <marcus.mueller at ettus.com> wrote:
   
 
    Hi Ravi,
 
  On 28.07.2015 00:55, Vsr Ravi wrote:
  
      Hey all, I have tried to run the USRP1 by giving the command "sudo uhd_usrp_probe  and I get the result as below. 
    linux; GNU C++ version 4.8.4; Boost_105500;UHD_003.009.git-144-g407e3086 
  -- Opening a USRP1 device... -- Loading FPGA image: /usr/local/share/uhd/images/usrp1_fpga.rbf... done       
 ...  
                     
  Can anyone please tell what this means and what do I do next as I am new to  gnuradio. Thanks        
 As Martin said: Both your USRP as your UHD installation work pretty  well!
 The only thing is that you need to run it as root (the sudo part), and  that's not a good thing.
 Can you make sure that /etc/udev/rules.d/ contains the uhd.rules  file[1]? If not, copy it over from /usr/local/lib/uhd/utils/uhd-usrp.rules, e.g. like
 sudo cp /usr/local/lib/uhd/utils/uhd-usrp.rules/etc/udev/rules.d/
 
 and then reboot.
 
 The next time you plug in your USRP, it should no longer be only accessible  by root.
 
 Best regards,
 Marcus
 
 [1] You said earlier you did
 cd usr/lib/uhd/utils
sudo cp uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger but that's not the right path, if uhd is installed to /usr/local/...  
 
    
 
      
  
   
 
      
  
   
 
      
 
 

   

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150728/2b0349dc/attachment-0002.html>


More information about the USRP-users mailing list