> Arg, I forgot you are using rfnoc :) Sorry. > The latest e310 files with rfnoc are here: > http://files.ettus.com/e3xx_images/alpha/fido-rfnoc-test/ > You could also update the release-3 image to have rfnoc also.
Philip, no worries, RFNoC always seems to add extra wrinkles. So that is the original link of files I was working off of and having issues. I am not sure if something has changed in the process from when I originally got this working, or if the fact that I am using pybombs added an extra layer (or two) that I am not compensating for, but i DID have this working fine a few months back.... Here are the steps I am taking as of today (let's ignoring cross-compiling and just load the latest image onto an SD card): *First off, pybombs is setup in ~pybombs *from ~/Downloads, I run: git clone git://git.infradead.org/users/dedekind/bmap-tools.git *cd bmap-tools && sudo python setup.py install *cd ~/Downloads && wget http://files.ettus.com/e3xx_images/alpha/fido-rfnoc-test/sdimage-gnuradio-dev.direct.xz *plug an 8GB microSD card into my Ubuntu 14.04 box, it has two partitions, so I: umount /media/jason/boot && umount /media/jason/51ecbd25-d149-4a47-bb2e-69e9203595f2 *Since my SD card mounts to sdb, I run: sudo bmaptool copy sdimage-gnuradio-dev.direct.xz /dev/sdb --nobmap *10 minutes later it is done. I pop it into my e310 and let it boot up. *on the E310 I run: /usr/lib/uhd/utils/uhd_images_downloader.py *Then, I SCP a python file over for a very simple RFNOC block I just created and run: python RFNOCtest2.py The following is the output I get: linux; GNU C++ version 4.9.2; Boost_105700; UHD_003.010.rfnoc-0-unknown -- Loading FPGA image: /usr/share/uhd/images/usrp_e310_fpga.bit... done -- Detecting internal GPSDO .... found -- Initializing core control... -- Performing register loopback test... pass -- Setting up dest map for ep 0 to be stream 1 -- Performing register loopback test... pass -- [RFNOC] ------- Radio Setup ----------- -- [RFNoC Factory] block_ctrl_base::make() -- [RFNoC Factory] Using controller key 'Radio' and block name 'Radio' -- block_ctrl_base() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/nullblock.xml -- Found valid blockdef -- NOC ID: 0x0000000000000000 Block ID: 0/Radio_0 -- [0/Radio_0] Adding port definition at xbar/Radio_0/ports/in/0: type = '' pkt_size = '0' vlen = '0' -- [0/Radio_0] Adding port definition at xbar/Radio_0/ports/out/0: type = '' pkt_size = '0' vlen = '0' -- radio_ctrl::radio_ctrl() _rx_spp==364 -- setting xbar/Radio_0/ports/out/0 -- [0/Radio_0] radio_ctrl::_update_spp(): Requested spp: 364 -- [0/Radio_0] radio_ctrl::_update_spp(): Setting spp to: 364 -- [0/Radio_0] radio_ctrl::_update_rx_args() -- Setting VITA core -- Setting DSP core -- Updating muxes -- [0/Radio_0] radio_ctrl::update_muxes() -- [0/Radio_0] radio_ctrl::_update_tx_args() -- Setting VITA core -- Setting DSP core -- Updating muxes -- [0/Radio_0] radio_ctrl::update_muxes() -- [0/Radio_0] radio_ctrl::update_muxes() -- dboards/A/tx_frontends/A/connection == IQ -- [0/Radio_0] radio_ctrl::update_muxes() -- dboards/A/rx_frontends/A/connection == IQ -- Setting up dest map for ep 1 to be stream 4 -- Performing register loopback test... pass -- [RFNOC] ------- Radio Setup ----------- -- [RFNoC Factory] block_ctrl_base::make() -- [RFNoC Factory] Using controller key 'Radio' and block name 'Radio' -- block_ctrl_base() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/nullblock.xml -- Found valid blockdef -- NOC ID: 0x0000000000000000 Block ID: 0/Radio_1 -- [0/Radio_1] Adding port definition at xbar/Radio_1/ports/in/0: type = '' pkt_size = '0' vlen = '0' -- [0/Radio_1] Adding port definition at xbar/Radio_1/ports/out/0: type = '' pkt_size = '0' vlen = '0' -- radio_ctrl::radio_ctrl() _rx_spp==364 -- setting xbar/Radio_1/ports/out/0 -- [0/Radio_1] radio_ctrl::_update_spp(): Requested spp: 364 -- [0/Radio_1] radio_ctrl::_update_spp(): Setting spp to: 364 -- [0/Radio_1] radio_ctrl::_update_rx_args() -- Setting VITA core -- Setting DSP core -- Updating muxes -- [0/Radio_1] radio_ctrl::update_muxes() -- [0/Radio_1] radio_ctrl::_update_tx_args() -- Setting VITA core -- Setting DSP core -- Updating muxes -- [0/Radio_1] radio_ctrl::update_muxes() -- [0/Radio_1] radio_ctrl::update_muxes() -- dboards/A/tx_frontends/B/connection == IQ -- [0/Radio_1] radio_ctrl::update_muxes() -- dboards/A/rx_frontends/B/connection == IQ -- Performing CODEC loopback test... pass -- Performing CODEC loopback test... pass -- Setting time source to internal -- Asking for clock rate 16 MHz -- Actually got clock rate 16 MHz -- Performing timer loopback test... pass -- Performing timer loopback test... pass -- [RFNOC] ------- Block Setup ----------- -- Setting up dest map for ep 2 to be stream 7 -- Setting up NoC-Shell Control #0 (SID: 00:02>02:30)...OK -- Port 48: Found NoC-Block with ID F1F0000000000000. -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/fifo.xml -- [RFNoC Factory] block_ctrl_base::make() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/fifo.xml -- [RFNoC Factory] Using controller key 'Block' and block name 'FIFO' -- block_ctrl_base() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/fifo.xml -- Found valid blockdef -- NOC ID: 0xF1F0000000000000 Block ID: 0/FIFO_0 -- [0/FIFO_0] Adding port definition at xbar/FIFO_0/ports/in/0: type = '' pkt_size = '0' vlen = '0' -- [0/FIFO_0] Adding port definition at xbar/FIFO_0/ports/out/0: type = '' pkt_size = '0' vlen = '0' -- [RFNOC] ------- Block Setup ----------- -- Setting up dest map for ep 3 to be stream 10 -- Setting up NoC-Shell Control #1 (SID: 00:03>02:40)...OK -- Port 64: Found NoC-Block with ID D053000000000000. -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/window.xml -- [RFNoC Factory] block_ctrl_base::make() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/window.xml -- [RFNoC Factory] Using controller key 'Window' and block name 'Window' -- block_ctrl_base() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/window.xml -- Found valid blockdef -- NOC ID: 0xD053000000000000 Block ID: 0/Window_0 -- [0/Window_0] Adding port definition at xbar/Window_0/ports/in/0: type = 'sc16' pkt_size = '%vlen' vlen = '$spp' -- [0/Window_0] Adding port definition at xbar/Window_0/ports/out/0: type = 'sc16' pkt_size = '%vlen' vlen = '$spp' -- [0/Window_0] sr_write(255, 00000000, 0) -- window_block::window_block() max_len ==4096 -- [0/Window_0] window_block::set_window() -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(129, 00007FFF, 0) -- [0/Window_0] sr_write(130, 00007FFF, 0) -- [0/Window_0] sr_write(131, 00000100, 0) -- [RFNOC] ------- Block Setup ----------- -- Setting up dest map for ep 4 to be stream 13 -- Setting up NoC-Shell Control #2 (SID: 00:04>02:50)...OK -- Port 80: Found NoC-Block with ID FF70000000000000. -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/fft.xml -- [RFNoC Factory] block_ctrl_base::make() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/fft.xml -- [RFNoC Factory] Using controller key 'Block' and block name 'FFT' -- block_ctrl_base() -- base_path = "/usr/share/uhd/rfnoc" -- Reading XML file: /usr/share/uhd/rfnoc/blocks/fft.xml -- Found valid blockdef -- NOC ID: 0xFF70000000000000 Block ID: 0/FFT_0 -- [0/FFT_0] Adding port definition at xbar/FFT_0/ports/in/0: type = 'sc16' pkt_size = '%vlen' vlen = '$spp' -- [0/FFT_0] Adding port definition at xbar/FFT_0/ports/out/0: type = '$otype' pkt_size = '%vlen' vlen = '$spp' -- [NocScript] Executing and asserting code: GE($spp, 16) AND LE($spp, 4096) AND IS_PWR_OF_2($spp) -- [NocScript] Executing and asserting code: SR_WRITE("FFT_SIZE_LOG2", LOG2($spp)) AND SR_WRITE("AXIS_CONFIG_BUS", ADD(873472, LOG2($spp))) -- [NocScript] Executing SR_WRITE() -- [0/FFT_0] sr_write(FFT_SIZE_LOG2, 00000008) ==> [0/FFT_0] sr_write(132, 00000008, 0) -- [NocScript] Executing SR_WRITE() -- [0/FFT_0] sr_write(AXIS_CONFIG_BUS, 000D5408) ==> [0/FFT_0] sr_write(129, 000D5408, 0) -- [NocScript] Executing and asserting code: SR_WRITE("AXIS_CONFIG_BUS", ADD($ctrl_word, LOG2($spp))) -- [NocScript] Executing SR_WRITE() -- [0/FFT_0] sr_write(AXIS_CONFIG_BUS, 000D5408) ==> [0/FFT_0] sr_write(129, 000D5408, 0) -- [NocScript] Executing and asserting code: EQUAL($otype, "sc16") -- [NocScript] Executing and asserting code: -- IF(NOT(EQUAL($reset, 0)), SR_WRITE("FFT_RESET", 1) AND SR_WRITE("FFT_RESET", 0)) -- -- [NocScript] Executing SR_WRITE() -- [0/FFT_0] sr_write(FFT_RESET, 00000001) ==> [0/FFT_0] sr_write(131, 00000001, 0) -- [NocScript] Executing SR_WRITE() -- [0/FFT_0] sr_write(FFT_RESET, 00000000) ==> [0/FFT_0] sr_write(131, 00000000, 0) -- [NocScript] Executing and asserting code: EQUAL($magnitude_out, "COMPLEX") OR EQUAL($magnitude_out, "MAGNITUDE") OR EQUAL($magnitude_out, "MAGNITUDE_SQUARED") -- [NocScript] Executing and asserting code: -- IF(EQUAL($magnitude_out, "COMPLEX"), SR_WRITE("MAGNITUDE_OUT", 0)) OR -- IF(EQUAL($magnitude_out, "MAGNITUDE"), SR_WRITE("MAGNITUDE_OUT", 1)) OR -- IF(EQUAL($magnitude_out, "MAGNITUDE_SQUARED"), SR_WRITE("MAGNITUDE_OUT", 2)) -- -- [NocScript] Executing SR_WRITE() -- [0/FFT_0] sr_write(MAGNITUDE_OUT, 00000000) ==> [0/FFT_0] sr_write(133, 00000000, 0) -- ========== Full list of RFNoC blocks: ============ -- * 0/Radio_0 -- * 0/Radio_1 -- * 0/FIFO_0 -- * 0/Window_0 -- * 0/FFT_0 -- [0/Radio_0] block_ctrl_base::clear() -- node_ctrl_base::clear() -- [0/Radio_1] block_ctrl_base::clear() -- node_ctrl_base::clear() -- [0/FIFO_0] block_ctrl_base::clear() -- node_ctrl_base::clear() -- [0/FIFO_0] block_ctrl_base::_clear() -- [0/FIFO_0] sr_write(126, 00C1EA12, 0) -- [0/Window_0] block_ctrl_base::clear() -- node_ctrl_base::clear() -- [0/Window_0] block_ctrl_base::_clear() -- [0/Window_0] sr_write(126, 00C1EA12, 0) -- [0/FFT_0] block_ctrl_base::clear() -- node_ctrl_base::clear() -- [0/FFT_0] block_ctrl_base::_clear() -- [0/FFT_0] sr_write(126, 00C1EA12, 0) -- [0/Radio_0] _resolve_port_def() -- [0/Radio_0] item type: sc16 -- [0/Radio_0] vector length: 0 -- [0/Radio_0] packet size: 0 -- [0/Radio_0] _resolve_port_def() -- [0/Radio_0] item type: sc16 -- [0/Radio_0] vector length: 0 -- [0/Radio_0] packet size: 0 Traceback (most recent call last): File "RFNOCtest2.py", line 109, in <module> main() File "RFNOCtest2.py", line 98, in main tb = top_block_cls() File "RFNOCtest2.py", line 51, in __init__ self.uhd_rfnoc_streamer_radio_0.set_rx_dc_offset(False) AttributeError: 'rfnoc_radio_sptr' object has no attribute 'set_rx_dc_offset' -- Loading FPGA image: /usr/share/uhd/images/usrp_e310_fpga_idle.bit... done root@ettus-e300:~# So what am I doing wrong? Seems like this should work out of the box, but I am failing with set_rx_dc_offset problem which I am thinking is pretty new to GNURadio and maybe out of sync with the pre-build image? _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio