Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with USRP B200 #608

Closed
jopohl opened this issue Jan 17, 2019 · 22 comments
Closed

Issues with USRP B200 #608

jopohl opened this issue Jan 17, 2019 · 22 comments

Comments

@jopohl
Copy link
Owner

jopohl commented Jan 17, 2019

There seem to be problems with native support for USRP B200 on Windows #589 and OSX #577. Since we do not have a USRP B200 for testing, we need some help. I see two options:

  1. Someone in contact with Ettus can arrange getting a test device for us.
  2. Someone with a USRP B series device helps us with debugging.
@robisen1
Copy link

I have a USRP B series device and would be happy to help. How can I contribute?

@jopohl
Copy link
Owner Author

jopohl commented Mar 13, 2019

Thank you @robisen1 !

The best way to start is to look at tests/device/TestUSRP.py and change line 20 to

return_code = usrp.open("type=b200")

so it explicitly uses the B series for testing or to

return_code = usrp.open("")

for automatic detection of attached USRPs.


After that, attach your USRP and run the test e.g. from command line with

python -m unittest tests/device/TestUSRP.py 

For first we need to find out where exactly the crash happens. Please post the complete log/stacktrace for the test. Please also tell me what OS you are using. Ideally you could test it under Linux, Windows and OS X but any help is appreciated. 👍

@robisen1
Copy link

robisen1 commented Mar 13, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Mar 13, 2019

Ideally you would test it on Ubuntu (or any other linux distribution you prefer), since things are a bit easier to debug there. If we found the problem there we can verify if it works on your Windows machine too.

@robisen1
Copy link

robisen1 commented Mar 13, 2019 via email

@robisen1
Copy link

robisen1 commented Mar 31, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Mar 31, 2019

You need to build the device extensions by calling:

python src/urh/cythonext/build.py 

@robisen1
Copy link

will do latter today. thanks. I was thinking that i need to build the uhd from source.

@robisen1
Copy link

robisen1 commented Mar 31, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Mar 31, 2019

The screenshot is not visible so what exactly do you mean by it is running on URH? Is the unit test passing or does it work in spectrum analyzer / record dialog?

@robisen1
Copy link

robisen1 commented Mar 31, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Apr 1, 2019

Very cool, thanks for your support so far! Any chance you can test it under Windows and/or OS X too? The issues #589 and #577 indicate errors on these systems.

@robisen1
Copy link

robisen1 commented Apr 1, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Apr 7, 2019

Any news?

@robisen1
Copy link

robisen1 commented Apr 13, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Apr 13, 2019

The MSI will be harder to debug, so it would be better if we get the source build up and running.

Did you install a C compiler on your system? It seems to look for mingw gcc. You could install Visual Studio Community with the bundled C++ Compiler which I know works for URH on Windows.

@robisen1
Copy link

robisen1 commented Apr 13, 2019 via email

@robisen1
Copy link

robisen1 commented Apr 14, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Apr 14, 2019

It is better to do a git clone of the repositoriy than to install it with Anacondas pip. Then you will have the same file structure as on Linux. You can basically use the same instructions from my post near the top for this.

@robisen1
Copy link

robisen1 commented Apr 14, 2019 via email

@robisen1
Copy link

robisen1 commented May 2, 2019 via email

@jopohl
Copy link
Owner Author

jopohl commented Jun 6, 2019

Any news so far? From what I can tell you verified it is working on Ubuntu. Since there there are no OS specific changes from URH side when using native USRP backend I assume the error source for reported problems is not in URH.

I will close here. If someone has more information just drop a comment and I can reopen it.

@jopohl jopohl closed this as completed Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants