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

CODEC loopback test failed on E200 #69

Open
devttys opened this issue Feb 11, 2024 · 7 comments
Open

CODEC loopback test failed on E200 #69

devttys opened this issue Feb 11, 2024 · 7 comments

Comments

@devttys
Copy link

devttys commented Feb 11, 2024

Hi, I've built UHD host drivers from the latest master (after fixing some compilation errors) and using the latest firmware from v1.0 release.

Unfortunately, I can't get the device to work properly as it constantly fails the loopback test. What can be the cause? Is this a hardware issue?

uhd_usrp_probe 
[INFO] [UHD] linux; GNU C++ version 13.2.0; Boost_107400; UHD_4.1.0.0-0-9abe8bc8
[INFO] [ANT] Detected Device: ANTSDR
[INFO] [ANT] Initialize CODEC control...
[INFO] [ANT] Initialize Radio control...
[INFO] [ANT] Performing register loopback test... 
[INFO] [ANT] Register loopback test passed
[INFO] [ANT] Performing register loopback test... 
[INFO] [ANT] Register loopback test passed
[ERROR] [AD936X] CODEC loopback test failed! Expected: 0xAA50D3A0 Received (TX/RX): 0xAA50D3A0/0x0050FE30
Error: RuntimeError: CODEC loopback test failed.

I've also tried the older v0.1 firmware build, but the driver refuses to connect due to incompatible firmware:

Error: RuntimeError: Expected FPGA compatibility number 16, but got 7:

I would appreciate if someone could point me to the working combination of firmware + driver revisions. I also tried to build the firmware from master but it fails to build due to missing files (I'll create a separate issue for that)

@devttys devttys changed the title CODEC loopback test failed CODEC loopback test failed on E200 Feb 11, 2024
@lone-boy
Copy link
Collaborator

If you use the v0.1 version, the corresponding firmware also needs to use v0.1.
Can you tell me the network port connection method you use? Is there a USB network port adapter?

@devttys
Copy link
Author

devttys commented Mar 1, 2024

Yes, I'm using USB 3.0 Ethernet adapter on my laptop connected directly to E200, the speed is set to 1000 Mb/s.

When using the IIO firmware or MaiaSDR with the same adapter it seems to be working fine, or at least I haven't noticed any issues.

@cychoi75
Copy link

cychoi75 commented Aug 9, 2024

I'm having the same problem. I'm also having the problem on dragon os, even with uhd driver installed on ubuntu 22.04.

@cychoi75
Copy link

I solved the above problem simply. The problem was a usb ethernet device connected to the laptop, and when I connected it directly to the intel nuc with dragon os, it worked fine. In the future, I will try to test again with USB Ethernet device using Realtek chip.

@cychoi75
Copy link

I tested it using USB Ethernet with a Realtek chip and found it works fine

@Szum123321
Copy link

Can confirm, some USB dongles lead to CODEC error. RTL8153 based ones do work.

@lone-boy
Copy link
Collaborator

lone-boy commented Dec 9, 2024

#80 (comment)
Please try this firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants