Code Monkey home page Code Monkey logo

Comments (3)

michaelld avatar michaelld commented on August 23, 2024

Did you power cycle the USRP? That's required for the new FPGA image to take effect. If so, then there's a very good chance you have 2 different UHD versions installed on the host computer. There will be some text before that shown at the top (before -- X300 initialization sequence...) ... that might shed some light here.

from gr-doa.

jose100310 avatar jose100310 commented on August 23, 2024

Hello,
I have power cycle the device. to installed uhd I only ran '''sudo apt-get install libuhd-dev uhd-host''', I dont think i have another version. I am using ubuntu 16.04, and I installed the required dependencies. when it works it just gives me:

'''
Executing: /usr/bin/python -u /home/caai/Downloads/gr-doa-master/apps/estimate_X310_TwinRX_constant_phase_offsets_and_save.py

linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

-- X300 initialization sequence...
-- Determining maximum frame size... 1472 bytes.
-- Setup basic communication...
-- Loading values from EEPROM...
-- Setup RF frontend clocking...
-- Radio 1x clock:200
-- Detecting internal GPSDO.... No GPSDO found
-- Initialize Radio0 control...
-- Performing register loopback test... pass
-- Initialize Radio1 control...
-- Performing register loopback test... pass
Traceback (most recent call last):
File "/home/caai/Downloads/gr-doa-master/apps/estimate_X310_TwinRX_constant_phase_offsets_and_save.py", line 80, in
main()
File "/home/caai/Downloads/gr-doa-master/apps/estimate_X310_TwinRX_constant_phase_offsets_and_save.py", line 74, in main
tb = top_block_cls()
File "/home/caai/Downloads/gr-doa-master/apps/estimate_X310_TwinRX_constant_phase_offsets_and_save.py", line 38, in init
addresses=input_variables.RxAddr
File "/usr/local/lib/python2.7/dist-packages/doa/twinrx_usrp_source.py", line 64, in init
self.uhd_usrp_source_0.set_subdev_spec(' '.join(subdevs[:sources]), 0)
File "/usr/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", line 3254, in set_subdev_spec
return _uhd_swig.usrp_source_sptr_set_subdev_spec(self, spec, mboard)
RuntimeError: ValueError: The subdevice specification "A:0 A:1 B:0 B:1" is too long.
The user specified 4 channels, but there are only 2 rx dsps on mboard 0.
'''

the device I am using is the USRP X310 which it has 4 channels. There are two RX boards inside the X310. And every board has two channels.

I guess my question would be what is the images use when it was tested. because the one that works but gives me the error of not recognizing the 4 channels is http://files.ettus.com/binaries/images/uhd-images_003.009.002-release.zip

from gr-doa.

michaelld avatar michaelld commented on August 23, 2024

TwinRX requires UHD 3.10.0.0 or newer ( https://kb.ettus.com/TwinRX#TwinRX ) ... assuming you're using 2x TwinRX daughterboards since you're running a TwinRX specific script ...

from gr-doa.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.