diff options
| -rw-r--r-- | host/docs/build.rst | 52 | ||||
| -rw-r--r-- | host/docs/general.rst | 4 | ||||
| -rw-r--r-- | host/docs/identification.rst | 4 | ||||
| -rw-r--r-- | host/docs/images.rst | 6 | ||||
| -rw-r--r-- | host/docs/index.rst | 10 | ||||
| -rw-r--r-- | host/docs/usrp1.rst | 2 | ||||
| -rw-r--r-- | host/docs/usrp2.rst | 86 | 
7 files changed, 83 insertions, 81 deletions
diff --git a/host/docs/build.rst b/host/docs/build.rst index ee522780a..8a6841af6 100644 --- a/host/docs/build.rst +++ b/host/docs/build.rst @@ -20,16 +20,16 @@ Other dependencies can be downloaded as dmg installers from the web.  **Windows Notes:**  The dependencies can be acquired through installable exe files. -Usually, the windows installer can be found on the project's website. -Some projects do not host windows installers, and if this is the case, -follow the auxiliary download url for the windows installer (below). +Usually, the Windows installer can be found on the project's website. +Some projects do not host Windows installers, and if this is the case, +follow the auxiliary download URL for the Windows installer (below).  ^^^^^^^^^^^^^^^^  Git  ^^^^^^^^^^^^^^^^  Required to check out the repository. -On windows, install cygwin with git support to checkout the repository, -or install msysgit from http://code.google.com/p/msysgit/downloads/list +On Windows, install Cygwin with Git support to checkout the repository, +or install msysGit from http://code.google.com/p/msysgit/downloads/list  ^^^^^^^^^^^^^^^^  C++ compiler @@ -52,10 +52,10 @@ CMake  Boost  ^^^^^^^^^^^^^^^^  * **Purpose:** C++ library -* **Version:** at least 1.36 unix, at least 1.40 windows +* **Version:** at least 1.36 (UNIX), at least 1.40 (Windows)  * **Usage:** build time + run time (required)  * **Download URL:** http://www.boost.org/users/download/ -* **Download URL (windows installer):** http://www.boostpro.com/download +* **Download URL (Windows installer):** http://www.boostpro.com/download  ^^^^^^^^^^^^^^^^  LibUSB @@ -64,7 +64,7 @@ LibUSB  * **Version:** at least 1.0  * **Usage:** build time + run time (optional)  * **Download URL:** http://sourceforge.net/projects/libusb/files/libusb-1.0/ -* **Download URL (windows binaries):** http://www.libusb.org/wiki/windows_backend#LatestBinarySnapshots +* **Download URL (Windows binaries):** http://www.libusb.org/wiki/windows_backend#LatestBinarySnapshots  ^^^^^^^^^^^^^^^^  Python @@ -81,7 +81,7 @@ Cheetah  * **Version:** at least 2.0  * **Usage:** build time (required)  * **Download URL:** http://www.cheetahtemplate.org/download.html -* **Download URL (windows installer):** http://feisley.com/python/cheetah/ +* **Download URL (Windows installer):** http://feisley.com/python/cheetah/  **Alternative method:**  Install setuptools, and use the easy_install command to install Cheetah. @@ -90,14 +90,14 @@ http://pypi.python.org/pypi/setuptools  ^^^^^^^^^^^^^^^^  Doxygen  ^^^^^^^^^^^^^^^^ -* **Purpose:** generates html api documentation +* **Purpose:** generates HTML api documentation  * **Usage:** build time (optional)  * **Download URL:** http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc  ^^^^^^^^^^^^^^^^  Docutils  ^^^^^^^^^^^^^^^^ -* **Purpose:** generates html user manual +* **Purpose:** generates HTML user manual  * **Usage:** build time (optional)  * **Download URL:** http://docutils.sourceforge.net/ @@ -110,7 +110,7 @@ Build Instructions (Unix)  ------------------------------------------------------------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Generate Makefiles with cmake +Generate Makefiles with CMake  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  :: @@ -119,7 +119,7 @@ Generate Makefiles with cmake      cd build      cmake ../ -Additionally, configuration variables can be passed into cmake via the command line. +Additionally, configuration variables can be passed into CMake via the command line.  The following common-use configuration variables are listed below:  * For a custom install prefix: -DCMAKE_INSTALL_PREFIX=<install-path> @@ -151,36 +151,36 @@ or add it to /etc/ld.so.conf and make sure to run:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Setup the library path (Mac OS X)  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Make sure that libuhd.dylib is in your DYLD_LIBRARY_PATH +Make sure that libuhd.dylib is in your DYLD_LIBRARY_PATH.  ------------------------------------------------------------------------  Build Instructions (Windows)  ------------------------------------------------------------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Generate the project with cmake +Generate the project with CMake  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -* Open the cmake gui program. +* Open the cmake-gui program.  * Set the path to the source code: <uhd-repo-path>/host  * Set the path to the build directory: <uhd-repo-path>/host/build  * Make sure that the paths do not contain spaces. -* Click configure and select the MSVC compiler. -* Set the build variables and click configure again. -* Click generate and a project file will be created in the build directory. +* Click "Configure" and select "Microsoft Visual Studio 10". +* Set the build variables and click "Configure" again. +* Click "Generate", and a project file will be created in the build directory.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -LibUSB cmake notes +LibUSB CMake notes  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -On Windows, cmake does not have the advantage of pkg-config, -so we must manually tell cmake how to locate the LibUSB header and lib. +On Windows, CMake does not have the advantage of pkg-config, +so we must manually tell CMake how to locate the LibUSB header and lib. -* From the cmake gui, select "Advanded View" +* From the CMake GUI, select "Advanced View".  * Set LIBUSB_INCLUDE_DIRS to the directory with "libusb.h".  * Set LIBUSB_LIBRARIES to the full path for "libusb-1.0.lib".    * Recommend the static libusb-1.0.lib to simplify runtime dependencies. -* Check the box to enable USB support, click configure and generate. +* Check the box to enable USB support, click "Configure" and "Generate".  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Build the project in MSVC @@ -206,11 +206,11 @@ Open the Visual Studio Command Prompt Shorcut:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Setup the PATH environment variable  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -* Add the uhd bin path to %PATH% (usually c:\\program files\\uhd\\bin) +* Add the UHD bin path to %PATH% (usually c:\\program files\\uhd\\bin)  **Note:**  The interface for editing environment variable paths in Windows is very poor. -I recommend using "Rapid Environment Editor" (http://www.rapidee.com) over the default editor. +We recommend using "Rapid Environment Editor" (http://www.rapidee.com) over the default editor.  ------------------------------------------------------------------------  Post-Install Tasks diff --git a/host/docs/general.rst b/host/docs/general.rst index 5df89fc19..02ab26f46 100644 --- a/host/docs/general.rst +++ b/host/docs/general.rst @@ -190,7 +190,7 @@ Add the following line to */etc/security/limits.conf*:      @<my_group>    -    rtprio    99  Replace <my_group> with a group to which your user belongs. -Settings will not take effect until the user has logged in and out. +Settings will not take effect until the user is in a different login session.  ------------------------------------------------------------------------  Misc notes @@ -203,7 +203,7 @@ For a module to be loaded at runtime, it must be:  * found in the UHD_MODULE_PATH environment variable,  * installed into the <install-path>/share/uhd/modules directory, -* or installed into /usr/share/uhd/modules directory (unix only). +* or installed into /usr/share/uhd/modules directory (UNIX only).  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Disabling or redirecting prints to stdout diff --git a/host/docs/identification.rst b/host/docs/identification.rst index deda61531..9fc53412b 100644 --- a/host/docs/identification.rst +++ b/host/docs/identification.rst @@ -9,8 +9,8 @@ Identifying USRPs  ------------------------------------------------------------------------  Devices are addressed through key/value string pairs.  These string pairs can be used to narrow down the search for a specific device or group of devices. -Most UHD utility applications and examples have a --args parameter that takes a device address; -where the device address is expressed as a delimited string. +Most UHD utility applications and examples have a --args parameter that takes a device address, which is expressed as a delimited string. +  See the documentation in types/device_addr.hpp for reference.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/host/docs/images.rst b/host/docs/images.rst index a25268990..78280bac0 100644 --- a/host/docs/images.rst +++ b/host/docs/images.rst @@ -8,7 +8,7 @@ UHD - Firmware and FPGA Image Application Notes  Images Overview  ------------------------------------------------------------------------  Every USRP device must be loaded with special firmware and FPGA images. -The methods of loading images into the device varies among devices: +The methods of loading images into the device vary among devices:  * **USRP1:** The host code will automatically load the firmware and FPGA at runtime.  * **USRP2:** The user must manually write the images onto the USRP2 SD card. @@ -32,7 +32,7 @@ The pre-built images come in two forms:  Platform installers  ^^^^^^^^^^^^^^^^^^^^^^  The UNIX-based installers will install the images into /usr/share/uhd/images. -On windows, the images will be installed to <install-path>/share/uhd/images. +On Windows, the images will be installed to <install-path>/share/uhd/images.  ^^^^^^^^^^^^^^^^^^^^^^  Archive install @@ -62,7 +62,7 @@ The build commands for a particular image can be found in <uhd-repo-path>/images  Xilinx FPGA builds  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Xilinx ISE 12.x and up is required to build the Xilinx FPGA images. -The build requires that you have a unix-like environment with make. +The build requires that you have a UNIX-like environment with make.  Make sure that xtclsh from the Xilinx ISE bin directory is in your $PATH.  See <uhd-repo-path>/fpga/usrp2/top/* diff --git a/host/docs/index.rst b/host/docs/index.rst index f881e8585..9f8bd9cb1 100644 --- a/host/docs/index.rst +++ b/host/docs/index.rst @@ -10,10 +10,12 @@ Users will be able to use the UHD driver standalone or with 3rd party applicatio  Contents  ------------------------------------------------------------------------ -^^^^^^^^^^^^^^^^^^^^^ -Building the UHD -^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Building and Installing the UHD +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  * `Build Guide <./build.html>`_ +* `Installation Guide (Linux) <http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Linux>`_ +* `Installation Guide (Windows) <http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Windows>`_  ^^^^^^^^^^^^^^^^^^^^^  Application Notes @@ -37,5 +39,5 @@ API Documentation  ^^^^^^^^^^^^^^^^^^^^^  * `Doxygen <./../../doxygen/html/index.html>`_  * `Using the API <./coding.html>`_ -* `Device streaming <./stream.html>`_ +* `Device Streaming <./stream.html>`_ diff --git a/host/docs/usrp1.rst b/host/docs/usrp1.rst index 597b5b17f..b698da96e 100644 --- a/host/docs/usrp1.rst +++ b/host/docs/usrp1.rst @@ -53,7 +53,7 @@ List of emulated features  * Notification on broken chain error  **Note:** -These emulated features rely on the host system's clock for timed operations, +These emulated features rely on the host system's clock for timed operations  and therefore may not have sufficient precision for the application.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/host/docs/usrp2.rst b/host/docs/usrp2.rst index d81440b07..452d4f9af 100644 --- a/host/docs/usrp2.rst +++ b/host/docs/usrp2.rst @@ -21,7 +21,7 @@ However, certain types of SD cards will not interface with the CPLD:  For these reasons, we recommend that you use the SD card that was supplied with the USRP2.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Use the card burner tool (unix) +Use the card burner tool (UNIX)  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  :: @@ -38,7 +38,7 @@ The list result will filter out disk partitions and devices too large to be the  The list option has been implemented on Linux, Mac OS X, and Windows.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Use the card burner tool (windows) +Use the card burner tool (Windows)  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  :: @@ -58,7 +58,7 @@ Determine the revision number from the sticker on the rear of the chassis.  Use this number to select the correct FPGA image for your device.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Use the net burner tool (unix) +Use the net burner tool (UNIX)  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  :: @@ -88,22 +88,22 @@ The safe-mode button is a pushbutton switch (S2) located inside the enclosure.  To boot into the safe image, hold-down the safe-mode button while power-cycling the device.  Continue to hold-down the button until the front-panel LEDs blink and remain solid. -When in safe-mode, the USRP-N device will always have the IP address 192.168.10.2 +When in safe-mode, the USRP-N device will always have the IP address **192.168.10.2**.  ------------------------------------------------------------------------  Setup networking  ------------------------------------------------------------------------ -The USRP2 only supports gigabit ethernet, +The USRP2 only supports Gigabit Ethernet  and will not work with a 10/100 Mbps interface.  However, a 10/100 Mbps interface can be connected indirectly -to a USRP2 through a gigabit ethernet switch. +to a USRP2 through a Gigabit Ethernet switch.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Setup the host interface  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  The USRP2 communicates at the IP/UDP layer over the gigabit ethernet.  The default IP address of the USRP2 is **192.168.10.2** -You will need to configure the host's ethernet interface with a static IP +You will need to configure the host's Ethernet interface with a static IP  address to enable communication.  An address of **192.168.10.1** and a subnet  mask of **255.255.255.0** is recommended. @@ -129,23 +129,23 @@ It is recommended that you change or disable your firewall settings.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Multiple devices per host  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -For maximum throughput, one ethernet interface per USRP2 is recommended, -although multiple devices may be connected via a gigabit ethernet switch. -In any case, each ethernet interface should have its own subnet, +For maximum throughput, one Ethernet interface per USRP2 is recommended, +although multiple devices may be connected via a Gigabit Ethernet switch. +In any case, each Ethernet interface should have its own subnet,  and the corresponding USRP2 device should be assigned an address in that subnet.  Example:  **Configuration for USRP2 device 0:** -* Ethernet interface IPv4 address: 192.168.10.1 -* Ethernet interface subnet mask: 255.255.255.0 -* USRP2 device IPv4 address: 192.168.10.2 +* Ethernet interface IPv4 address: **192.168.10.1** +* Ethernet interface subnet mask: **255.255.255.0** +* USRP2 device IPv4 address: **192.168.10.2**  **Configuration for USRP2 device 1:** -* Ethernet interface IPv4 address: 192.168.20.1 -* Ethernet interface subnet mask: 255.255.255.0 -* USRP2 device IPv4 address: 192.168.20.2 +* Ethernet interface IPv4 address: **192.168.20.1** +* Ethernet interface subnet mask: **255.255.255.0** +* USRP2 device IPv4 address: **192.168.20.2**  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Change the USRP2's IP address @@ -157,7 +157,7 @@ You may need to change the USRP2's IP address for several reasons:  * to set a known IP address into USRP2 (in case you forgot)  **Method 1:** -To change the USRP2's IP address +To change the USRP2's IP address,  you must know the current address of the USRP2,  and the network must be setup properly as described above.  Run the following commands: @@ -180,7 +180,7 @@ Communication problems  ------------------------------------------------------------------------  When setting up a development machine for the first time,  you may have various difficulties communicating with the USRP device. -The following tips are designed to help narrow-down and diagnose the problem. +The following tips are designed to help narrow down and diagnose the problem.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  RuntimeError: no control response @@ -188,11 +188,11 @@ RuntimeError: no control response  This is a common error that occurs when you have set the subnet of your network  interface to a different subnet than the network interface of the USRP.  For  example, if your network interface is set to 192.168.20.1, and the USRP is -192.168.10.2 (note the difference in the third numbers of the IP addresses), you +**192.168.10.2** (note the difference in the third numbers of the IP addresses), you  will likely see a 'no control response' error message.  Fixing this is simple - just set the your host PC's IP address to the same -subnet as your USRP. Instructions for setting your IP address are in the +subnet as that of your USRP. Instructions for setting your IP address are in the  previous section of this documentation. @@ -200,19 +200,19 @@ previous section of this documentation.  Firewall issues  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  When the IP address is not specified, -the device discovery sends broadcast UDP packets from each ethernet interface. +the device discovery broadcasts UDP packets from each ethernet interface.  Many firewalls will block the replies to these broadcast packets. -If disabling your system's firewall, -or specifying the IP address yeilds a discovered device, +If disabling your system's firewall +or specifying the IP address yields a discovered device,  then your firewall may be blocking replies to UDP broadcast packets. -If this is the case, we recommend that you disable the firewall, +If this is the case, we recommend that you disable the firewall  or create a rule to allow all incoming packets with UDP source port 49152.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Ping the device  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The USRP will reply to icmp echo requests. -A successful ping response means that the device has booted properly, +The USRP will reply to ICMP echo requests. +A successful ping response means that the device has booted properly  and that it is using the expected IP address.  :: @@ -222,7 +222,7 @@ and that it is using the expected IP address.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Monitor the serial output  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Read the serial port to get debug verbose from the embedded microcontroller. +Read the serial port to get debug verbose output from the embedded microcontroller.  The microcontroller prints useful information about IP addresses,  MAC addresses, control packets, fast-path settings, and bootloading.  Use a standard USB to 3.3v-level serial converter at 230400 baud. @@ -235,7 +235,7 @@ The RXD pin can be left unconnected as this is only a one-way communication.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Monitor the host network traffic  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Use wireshark to monitor packets sent to and received from the device. +Use Wireshark to monitor packets sent to and received from the device.  ------------------------------------------------------------------------  Addressing the device @@ -250,7 +250,7 @@ The USRP can be identified through its IPv4 address, resolvable hostname, or by  See the application notes on `device identification <./identification.html>`_.  Use this addressing scheme with the *single_usrp* interface. -Example device address string representation for a USRP2 with IPv4 address 192.168.10.2 +Example device address string representation for a USRP2 with IPv4 address **192.168.10.2**:  :: @@ -268,7 +268,7 @@ Use this addressing scheme with the *multi_usrp* interface.  * The order in which devices are indexed corresponds to the indexing of the transmit and receive channels.  * The key indexing provides the same granularity of device identification as in the single device case. -Example device address string representation for 2 USRP2s with IPv4 addresses 192.168.10.2 and 192.168.20.2 +Example device address string representation for 2 USRP2s with IPv4 addresses **192.168.10.2** and **192.168.20.2**:  ::      addr0=192.168.10.2, addr1=192.168.20.2 @@ -277,31 +277,31 @@ Example device address string representation for 2 USRP2s with IPv4 addresses 19  Using the MIMO Cable  ------------------------------------------------------------------------  The MIMO cable allows two USRP devices to share reference clocks, -time synchronization, and the ethernet interface. -One of the devices will sink its clock and time references to the MIMO cable. +time synchronization, and the Ethernet interface. +One of the devices will sync its clock and time references to the MIMO cable.  This device will be referred to as the slave, and the other device, the master.  * The slave device acquires the clock and time references from the master device.  * The master and slave may be used individually or in a multi-device configuration. -* External clocking is optional, and should only be supplied to the master device. +* External clocking is optional and should only be supplied to the master device.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Shared ethernet mode  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -In shared ethernet mode, -only one device in the configuration can be attached to the ethernet. +In shared Ethernet mode, +only one device in the configuration can be attached to the Tthernet.  * Clock reference, time reference, and data are communicated over the MIMO cable. -* Both master and slave must have different IPv4 addresses in the same subnet. +* Master and slave must have different IPv4 addresses in the same subnet.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Dual ethernet mode  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -In dual ethernet mode, -both devices in the configuration must be attached to the ethernet. +In dual Ethernet mode, +both devices in the configuration must be attached to the Ethernet.  * Only clock reference and time reference are communicated over the MIMO cable. -* Both master and slave must have different IPv4 addresses in different subnets. +* The master and slave must have different IPv4 addresses in different subnets.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Configuring the slave @@ -336,8 +336,8 @@ The LEDs reveal the following about the state of the device:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Ref Clock - 10MHz  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Using an external 10MHz reference clock, square wave will offer the best phase -noise performance, but sinusoid is acceptable.  The reference clock requires the following power level: +Using an external 10MHz reference clock, a square wave will offer the best phase +noise performance, but a sinusoid is acceptable.  The reference clock requires the following power level:  * **USRP2** 5 to 15dBm  * **N2XX** 0 to 15dBm @@ -376,8 +376,8 @@ Available Sensors  The following sensors are available for the USRP2/N-Series motherboards;  they can be queried through the API. -* mimo_locked - clock reference locked over the MIMO cable -* ref_locked - clock reference locked (internal/external) +* **mimo_locked** - clock reference locked over the MIMO cable +* **ref_locked** - clock reference locked (internal/external)  * other sensors are added when the GPSDO is enabled  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  | 
