Changes between Version 16 and Version 17 of Tutorials/k0SDR/Tutorial19


Ignore:
Timestamp:
Feb 24, 2017, 7:13:36 PM (6 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial19

    v16 v17  
    125125}}}
    126126{{{#!comment
    127  
    128 * Run uhd_usrp_probe. This might throw an error as shown below, as the X310 might contain a firmware build that is not compatible with the RFNoC UHD installation.
     127=== Programming the FPGA ===
     128* To download the current default and RFNoC images, run uhd_images_downloader
    129129{{{
    130 root@node18-20:~# uhd_usrp_probe --args="addr=192.168.10.2"
    131 linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.010.rfnoc-285-gb9765c42
     130root@node18-1:~# uhd_images_downloader
     131Images destination:      /usr/local/share/uhd/images
     132Downloading images from: http://files.ettus.com/binaries/images/uhd-images_4.0.0.rfnoc-devel-209-gddd6608a.zip
     133Downloading images to:   /tmp/tmp9kHlI7/uhd-images_4.0.0.rfnoc-devel-209-gddd6608a.zip
     13477724 kB / 77724 kB (100%)
    132135
    133 -- X300 initialization sequence...
    134 -- Determining maximum frame size... 8000 bytes.
    135 -- Setup basic communication...
    136 =========================================================
    137 Warning:
    138 Expected FPGA compatibility number 1000, but got 9:
    139 The FPGA image on your device is not compatible with this host code build.
    140 Download the appropriate FPGA images for this version of UHD.
    141 Please run:
    142 
    143  "/usr/local/lib/uhd/utils/uhd_images_downloader.py"
    144 
    145 Then burn a new image to the on-board flash storage of your
    146 USRP X3xx device using the image loader utility. Use this command:
    147 
    148 "/usr/local/bin/uhd_image_loader" --args="type=x300,addr=192.168.10.2"
    149 
    150 For more information, refer to the UHD manual:
    151 
    152  http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_flash=========================================================
    153 Error: RuntimeError: Expected firmware compatibility number 4.0, but got 3.0:
    154 The firmware build is not compatible with the host code build.
    155 Please run:
    156 
    157  "/usr/local/lib/uhd/utils/uhd_images_downloader.py"
    158 }}}
     136Images successfully installed to: /usr/local/share/uhd/images
     137}}}
     138  usrp_x310_fpga_RFNOC_HG.bit is the pre-built FPGA image with a subset of existing RFNoC blocks. https://kb.ettus.com/Getting_Started_with_RFNoC_Development#Testing_the_default_FPGA_image_and_building_from_existing_blocks has more information about the different images that are stored.
    159139
    160140* In case of the above error, you can burn the appropriate FPGA image using uhd_image_loader as shown above, or using usrp_x3xx_fpga_jtag_programmer.sh found in uhd/tools.When the jtag programmer is used, the FPGA image is lost on power cycling.
    161141{{{
    162 root@node18-20:~/uhd/tools# ./usrp_x3xx_fpga_jtag_programmer.sh --fpga-path="/usr/local/share/uhd/images/usrp_x310_fpga_HGS.bit"
    163 =======================================
    164  Copyright 2014 Ettus Research LLC
    165142
    166  JTAG Programming Tool
    167 =======================================
    168 
    169 ==== Generating impact batch file 1eRfmtCb.impact.cmd...
    170 ==== Running impact -- loading /usr/local/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA...
    171143}}}
    172144