Changes between Version 6 and Version 7 of Software/hDrivers


Ignore:
Timestamp:
Oct 27, 2014, 3:48:16 PM (10 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/hDrivers

    v6 v7  
    149149== USRP Universal Hardware Driver ==
    150150
    151 TBD.
     151Prior to installing ensure the host platform is running Ubuntu 12.04 and a USRP connected on eth2 interface.
     152
     153UHD binary installation instructions referenced from [http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Linux].
     154
     155Install the UHD binary from the repository:
     156{{{
     157bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/uhd/ubuntu/`lsb_release -cs` `lsb_release -cs` main" > /etc/apt/sources.list.d/ettus.list'
     158apt-get update
     159apt-get install -t `lsb_release -cs` uhd
     160}}}
     161
     162
     163Configure eth2 network interface.
     164 1) For USRP X310 the device is on the 192.168.40.x subnet.
     165  a)  Load driver for 10G Ethernet interface:
     166{{{
     167modprobe mlx4_en
     168}}}
     169  b) Configure eth2 interface
     170{{{
     171ifconfig eth2 192.168.40.1 netmask 255.255.255.0 mtu 9000 up
     172}}}
     173
     174 2) For USRP N210 the device is on the 192.168.10.x subnet.
     175  a) Use the stock driver for 1G Ethernet interface which is already loaded.
     176
     177  b) Configure eth2 interface and resize socket buffers
     178{{{
     179ifconfig eth2 192.168.10.1 netmask 255.255.255.0 up
     180sudo sysctl -w net.core.rmem_max=50000000
     181sudo sysctl -w net.core.wmem_max=1048576
     182}}}
     183
     184
     185Test UHD installation using the USRP Hardware Driver Discovery Utility
     186{{{
     187uhd_find_devices
     188}}}
     189
     190Output should look similar to the following
     191{{{
     192linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.007.002-release
     193
     194--------------------------------------------------
     195-- UHD Device 0
     196--------------------------------------------------
     197Device Address:
     198    type: usrp2
     199    addr: 192.168.10.2
     200    name:
     201    serial: F297A3
     202}}}
     203
     204USRP peripheral details can be obtained using the USRP Hardware Driver Peripheral Report Utility
     205{{{
     206uhd_usrp_probe
     207}}}
     208
     209Output should look similar to the following
     210{{{
     211linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.007.002-release
     212
     213-- Opening a USRP2/N-Series device...
     214-- Current recv frame size: 1472 bytes
     215-- Current send frame size: 1472 bytes
     216  _____________________________________________________
     217 /
     218|       Device: USRP2 / N-Series Device
     219|     _____________________________________________________
     220|    /
     221|   |       Mboard: N210r4
     222|   |   hardware: 2577
     223|   |   mac-addr: 00:80:2f:0a:cc:c8
     224|   |   ip-addr: 255.255.255.255
     225|   |   subnet: 255.255.255.255
     226|   |   gateway: 255.255.255.255
     227|   |   gpsdo: none
     228|   |   serial: F297A3
     229|   |   FW Version: 12.3
     230|   |   FPGA Version: 10.0
     231|   |
     232|   |   Time sources: none, external, _external_, mimo
     233|   |   Clock sources: internal, external, mimo
     234|   |   Sensors: mimo_locked, ref_locked
     235|   |     _____________________________________________________
     236|   |    /
     237|   |   |       RX DSP: 0
     238|   |   |   Freq range: -50.000 to 50.000 Mhz
     239|   |     _____________________________________________________
     240|   |    /
     241|   |   |       RX DSP: 1
     242|   |   |   Freq range: -50.000 to 50.000 Mhz
     243|   |     _____________________________________________________
     244|   |    /
     245|   |   |       RX Dboard: A
     246|   |   |   ID: SBX (0x0054)
     247|   |   |   Serial: E4R1CSDXS
     248|   |   |     _____________________________________________________
     249|   |   |    /
     250|   |   |   |       RX Frontend: 0
     251|   |   |   |   Name: SBXv3 RX
     252|   |   |   |   Antennas: TX/RX, RX2, CAL
     253|   |   |   |   Sensors: lo_locked
     254|   |   |   |   Freq range: 400.000 to 4400.000 Mhz
     255|   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
     256|   |   |   |   Connection Type: IQ
     257|   |   |   |   Uses LO offset: No
     258|   |   |     _____________________________________________________
     259|   |   |    /
     260|   |   |   |       RX Codec: A
     261|   |   |   |   Name: ads62p44
     262|   |   |   |   Gain range digital: 0.0 to 6.0 step 0.5 dB
     263|   |   |   |   Gain range fine: 0.0 to 0.5 step 0.1 dB
     264|   |     _____________________________________________________
     265|   |    /
     266|   |   |       TX DSP: 0
     267|   |   |   Freq range: -250.000 to 250.000 Mhz
     268|   |     _____________________________________________________
     269|   |    /
     270|   |   |       TX Dboard: A
     271|   |   |   ID: SBX (0x0055)
     272|   |   |   Serial: E4R1CSDXS
     273|   |   |     _____________________________________________________
     274|   |   |    /
     275|   |   |   |       TX Frontend: 0
     276|   |   |   |   Name: SBXv3 TX
     277|   |   |   |   Antennas: TX/RX, CAL
     278|   |   |   |   Sensors: lo_locked
     279|   |   |   |   Freq range: 400.000 to 4400.000 Mhz
     280|   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
     281|   |   |   |   Connection Type: QI
     282|   |   |   |   Uses LO offset: No
     283|   |   |     _____________________________________________________
     284|   |   |    /
     285|   |   |   |       TX Codec: A
     286|   |   |   |   Name: ad9777
     287|   |   |   |   Gain Elements: None
     288}}}
    152289
    153290== ATH 5k ==