Revision 52ea9b8f host/docs/usrp2.rst

b/host/docs/usrp2.rst
11 11
^^^^^^^^^^^^^^^^^^
12 12
FPGA Image
13 13
^^^^^^^^^^^^^^^^^^
14
Xilinx ISE 10.1 is required to build the FPGA image for the USRP2
15
(newer version of ISE are known to build buggy images).
14
Xilinx ISE 10.1 and up is required to build the FPGA image for the USRP2.
16 15
The build requires that you have a unix-like environment with make.
17 16
Make sure that xtclsh from the Xilinx ISE bin directory is in your $PATH.
18 17

  
......
150 149
Use wireshark to monitor packets sent to and received from the USRP2.
151 150

  
152 151
------------------------------------------------------------------------
152
Addressing the device
153
------------------------------------------------------------------------
154

  
155
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
156
Single device configuration
157
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158
A USRP2 can be identified though its IPv4 address or resolvable hostname.
159
The USRP2 device is referenced through the "addr" key in the device address.
160
Use this addressing scheme with the *simple_usrp* interface.
161

  
162
The device address string representation for a USRP2 with IPv4 address 192.168.10.2
163

  
164
::
165

  
166
    addr=192.168.10.2
167

  
168
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
169
Soft-MIMO configuration
170
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
171
In a soft-mimo configuration, each USRP2 must have a unique IPv4 address (per computer)
172
and be attached to its own dedicated network port.
173
The value for the addr key is a white-space separated list
174
of IPv4 addresses or resolvable hostnames.
175
The first address in the list will represent channel 0,
176
the second channel 1, and so on...
177
Use this addressing scheme with the *mimo_usrp* interface.
178

  
179
The device address string representation for 2 USRP2s with IPv4 addresses 192.168.10.2 and 192.168.20.2
180
::
181

  
182
    addr=192.168.10.2 192.168.20.2
183

  
184

  
185
------------------------------------------------------------------------
153 186
Resize the send and receive buffers
154 187
------------------------------------------------------------------------
155 188
It may be useful increase the size of the socket buffers to
......
173 206
    sudo sysctl -w net.core.rmem_max=<new value>
174 207
    sudo sysctl -w net.core.wmem_max=<new value>
175 208

  
209
Set the values permanently by editing */etc/sysctl.conf*
210

  
176 211
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
177 212
Device address params
178 213
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Also available in: Unified diff