Changes between Version 1 and Version 2 of Old/CommonUSRPProblems


Ignore:
Timestamp:
Feb 11, 2013, 6:58:39 PM (12 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/CommonUSRPProblems

    v1 v2  
    1 == ==
     1= USRP Troubleshooting =
     2
     31. Once you're inside a node, use the ''uhd_find_devices'' or ''uhd_usrp_probe '' to discover or probe the device, respectively.
     4{{{
     5root@node1-1:~# uhd_find_devices
     6:
     7:
     8:
     9root@node1-1:~# uhd_usrp_probe
     10}}}
     11
     122. if ''uhd_find_devices'' & ''uhd_usrp_probe '' return '''No UHD Devices Found'''
     13
     14  If problems arise when trying find and probe the device, it's most likely the case that interface between the node and USRP2 needs to be reconfigured. In most scenarios, if finding the USRP2s fails it should return the following for ''uhd_find_devices''
     15{{{
     16root@node1-1:~# uhd_find_devices
     17linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.003-0-unknown
     18
     19No UHD Devices Found
     20}}}
     21
     22  The USRP2 has an ethernet interface (ip address: 192.168.10.2) to the node's eth2 interface (ip address: 192.168.10.1). To verify the nodes interface configuration:
     23{{{
     24root@node1-1:~# ifconfig eth2
     25eth2      Link encap:Ethernet  HWaddr 00:03:1d:07:49:5c
     26          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
     27          inet6 addr: fe80::203:1dff:fe07:495c/64 Scope:Link
     28          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     29          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
     30          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
     31          collisions:0 txqueuelen:1000
     32          RX bytes:370 (370.0 B)  TX bytes:862 (862.0 B)
     33          Interrupt:17 Memory:fdce0000-fdd00000
     34}}}
     35
     36  If the interface is not configured, then do then following:
     37{{{
     38root@node1-1:~# ifconfig eth2 192.168.10.1 netmask 255.255.255.0 up
     39}}}
     40
     41  The USRP2 ip-address is 192.168.10.2. Now try pinging the USRP2.
     42{{{
     43root@node1-1:~# ping 192.168.10.2
     44PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.
     4564 bytes from 192.168.10.2: icmp_req=1 ttl=32 time=1.04 ms
     4664 bytes from 192.168.10.2: icmp_req=2 ttl=32 time=1.00 ms
     4764 bytes from 192.168.10.2: icmp_req=3 ttl=32 time=1.04 ms
     4864 bytes from 192.168.10.2: icmp_req=4 ttl=32 time=1.05 ms
     4964 bytes from 192.168.10.2: icmp_req=5 ttl=32 time=1.04 ms
     50}}}
     51
     52  At this point the node and USRP2 are able to see each other. Now retry finding and probing the USRPs.
     53  A successful response to ''uhd_find_devices'' should look like the following:
     54{{{
     55root@node1-1:~# uhd_find_devices
     56linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.000-0-unknown
     57
     58--------------------------------------------------
     59-- UHD Device 0
     60--------------------------------------------------
     61Device Address:
     62    type: usrp2
     63    addr: 192.168.10.2
     64    name:
     65    serial: 317
     66}}}
     67  A successful response to uhd_usrp_probe should look like the following:
     68{{{
     69root@node1-1:~# uhd_usrp_probe
     70linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.000-0-unknown
     71
     72-- Opening a USRP2/N-Series device...
     73-- Current recv frame size: 1472 bytes
     74-- Current send frame size: 1472 bytes
     75  _____________________________________________________
     76 /
     77|       Device: USRP2 / N-Series Device
     78|     _____________________________________________________
     79|    /
     80|   |       Mboard: USRP2 r3
     81|   |   hardware: 769
     82|   |   mac-addr: 00:50:c2:85:31:3d
     83|   |   ip-addr: 192.168.10.2
     84|   |   subnet: 255.255.255.255
     85|   |   gateway: 255.255.255.255
     86|   |   gpsdo: none
     87|   |   serial: 317
     88|   |   FW Version: 12.3
     89|   |   FPGA Version: 10.0
     90|   |
     91|   |   Time sources: none, external, _external_, mimo
     92|   |   Clock sources: internal, external, mimo
     93|   |   Sensors: mimo_locked, ref_locked
     94|   |     _____________________________________________________
     95|   |    /
     96|   |   |       RX DSP: 0
     97|   |   |   Freq range: -50.000 to 50.000 Mhz
     98|   |     _____________________________________________________
     99|   |    /
     100|   |   |       RX DSP: 1
     101|   |   |   Freq range: -50.000 to 50.000 Mhz
     102|   |     _____________________________________________________
     103|   |    /
     104|   |   |       RX Dboard: A
     105|   |   |   ID: XCVR2450 (0x0061)
     106|   |   |     _____________________________________________________
     107|   |   |    /
     108|   |   |   |       RX Frontend: 0
     109|   |   |   |   Name: XCVR2450 RX
     110|   |   |   |   Antennas: J1, J2
     111|   |   |   |   Sensors: lo_locked, rssi
     112|   |   |   |   Freq range: 2400.000 to 6000.000 Mhz
     113|   |   |   |   Gain range LNA: 0.0 to 30.5 step 15.0 dB
     114|   |   |   |   Gain range VGA: 0.0 to 62.0 step 2.0 dB
     115|   |   |   |   Connection Type: IQ
     116|   |   |   |   Uses LO offset: No
     117|   |   |     _____________________________________________________
     118|   |   |    /
     119|   |   |   |       RX Codec: A
     120|   |   |   |   Name: ltc2284
     121|   |   |   |   Gain Elements: None
     122|   |     _____________________________________________________
     123|   |    /
     124|   |   |       TX DSP: 0
     125|   |   |   Freq range: -250.000 to 250.000 Mhz
     126|   |     _____________________________________________________
     127|   |    /
     128|   |   |       TX Dboard: A
     129|   |   |   ID: XCVR2450 (0x0060)
     130|   |   |     _____________________________________________________
     131|   |   |    /
     132|   |   |   |       TX Frontend: 0
     133|   |   |   |   Name: XCVR2450 TX
     134|   |   |   |   Antennas: J1, J2
     135|   |   |   |   Sensors: lo_locked
     136|   |   |   |   Freq range: 2400.000 to 6000.000 Mhz
     137|   |   |   |   Gain range VGA: 0.0 to 30.0 step 0.5 dB
     138|   |   |   |   Gain range BB: 0.0 to 5.0 step 1.5 dB
     139|   |   |   |   Connection Type: QI
     140|   |   |   |   Uses LO offset: No
     141|   |   |     _____________________________________________________
     142|   |   |    /
     143|   |   |   |       TX Codec: A
     144|   |   |   |   Name: ad9777
     145|   |   |   |   Gain Elements: None
     146}}}