Changes between Version 9 and Version 10 of Tutorials/Wireless/Basic Usage


Ignore:
Timestamp:
Sep 30, 2019, 4:53:11 PM (5 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/Basic Usage

    v9 v10  
    1414
    1515=== Configure and detect the radio ===
    16  * Once your node is ready and turned on, ssh into the Krypton's host
     16* Once your node is ready and turned on, ssh into the Krypton's host
    1717{{{
    1818console:~$ ssh root@sdr2-lg1.sb1.cosmos-lab.org
    1919}}}
    2020
    21 * The USRP 2974 requires a PCIe driver to control the FPGA with the embedded PC. In the provided images, this will load automatically on boot. If it has issues, you can run it manually via {{{ systemctl restart niusrprio.service}}}  Detailed steps for driver installation and radio detection are on the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page].
    22 
    23  Run ''uhd_find_devices' and check if the X310 is detected
    24 
    25 {{{uhd_find_devices --args="type=x300"}}}
    26 
    27 {{{
     21* The USRP 2974 requires a PCIe driver to control the FPGA with the embedded PC. In the provided images, this will load automatically on boot. If it has issues, you can run it manually via {{{ systemctl restart niusrprio.service}}}.
     22
     23 Detailed steps for driver installation and radio detection are on the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page]. There is also a trouble shooting section at the bottom on that page to update the Krypton's internal firmware if necesary.
     24
     25* Run ''uhd_find_devices' and check if the X310 is detected
     26{{{
     27root@sdr-console> uhd_find_devices --args="type=x300"
     28
    2829[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.0.HEAD-0-g6875d061
    2930--------------------------------------------------
     
    4041}}}
    4142
    42  The above output enumerates all the SDRs that were detected. Krypton has only one PCIe radio device of type=x300.
    43 
    44  Use the ''uhd_usrp_probe'' command to get more details on the x300. Specifying ''resource=rio0'' ensures only the directly connected radio is probed, instead of one on the network.
    45 
    46 If it complains about not having a suitable image, run {{{uhd_images_downloader -t x3xx}}}
    47 
    48 {{{ uhd_usrp_probe --args="resource=rio0,type=x300" }}}
    49 {{{
     43 The output enumerates all the SDRs that were detected. Krypton has only one PCIe radio device of type=x300.
     44
     45* Use the ''uhd_usrp_probe'' command to get more details on the x300. Specifying ''resource=rio0'' ensures only the directly connected radio is probed, instead of the radios on the network.
     46{{{
     47root@sdr-console> uhd_usrp_probe --args="resource=rio0,type=x300"
     48
    5049[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.0.HEAD-0-g6875d061
    5150[INFO] [X300] X300 initialization sequence...
     
    188187|   |   |   * DUC_1
    189188
    190 
    191 
    192189}}}
    193190
    194191=== Run the application ===
    195 From root/SPECTRUM_VIEW directory run the pre-compiled application that can read samples from the Krypton's radio. There are two channels inside the radio which are being read out but only the first channel is displayed.
    196 {{{
    197 root@sdr2-lg1:~/SPECVIEW_VIEW# cd SPECTRUM_VIEW/
    198 root@sdr2-lg1:~/SPECVIEW_VIEW# ./app_read_sdr_samples
     192Download and SPECTRUM_VIEW application from the attachment section below. From within the ''SPECTRUM_VIEW'' directory make and run the application to read samples from the Krypton's radio. There are two channels inside the radio which are being read out but only the first channel is displayed.
     193{{{
     194root@sdr-console> cd SPECTRUM_VIEW/
     195root@sdr-console> ./app_read_sdr_samples
    199196 INFO  11:51:08.262 (main.cpp:623) - Starting command server at 5180
    200197 INFO  11:51:08.262 (main.cpp:175) - Starting websock server at 9002
     
    217214
    218215=== Troubleshooting ===
    219 
     216Check the troubleshooting section in the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page] for common errors.