# Bug with USRP2/SBX and UHD when launching the acquisition

**URL:** <https://www.ruby-forum.com/t/bug-with-usrp2-sbx-and-uhd-when-launching-the-acquisition/210359>\
**Category:** GNU Radio\
**Created:** [August 5, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/bug-with-usrp2-sbx-and-uhd-when-launching-the-acquisition/210359 "2011-08-05T16:35:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [August 5, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/bug-with-usrp2-sbx-and-uhd-when-launching-the-acquisition/210359/1 "2011-08-05T16:35:06Z")

</div>

Hello all,

I have a problem with my USRP2 (with a SBX board) :  
Most of times when I launch the acquisition, no data are received.

For example with uhd\_fft.py :

$ uhd\_fft.py  
linux; GNU C++ version 4.5.2; Boost\_104200; UHD\_003.002.001-fc349d3  
– Opening a USRP2/N-Series device…  
– Current recv frame size: 1472 bytes  
– Current send frame size: 1472 bytes

and the FFT Plotter appear but is empty.

I have to try up to five times to make it work.

Anyone having the same problem ? Or do you know what may it be ?

If it can help, I am using a Gigabit Switch and Ubuntu 11.04

–  
Emmanuel

---

<div class="post-metadata">

**Author:** ![SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/u/SSEmmanuel_CaillSSS)\
**Post date:** [August 5, 2011, 5:51pm UTC](https://www.ruby-forum.com/t/bug-with-usrp2-sbx-and-uhd-when-launching-the-acquisition/210359/2 "2011-08-05T17:51:11Z")

</div>

On 08/05/2011 07:33 AM, Emmanuel Caill wrote:

> – Current recv frame size: 1472 bytes  
> – Current send frame size: 1472 bytes
> 
> and the FFT Plotter appear but is empty.
> 
> I have to try up to five times to make it work.
> 
> Anyone having the same problem ? Or do you know what may it be ?

1. If there were no samples, you would see a timeout error printed to  
the terminal.

2. If the samples were all zero, press autoscale, you should see a  
horizontal blue line.

Which one do you see?

---

<div class="post-metadata">

**Author:** ![SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/u/SSEmmanuel_CaillSSS)\
**Post date:** [August 5, 2011, 6:51pm UTC](https://www.ruby-forum.com/t/bug-with-usrp2-sbx-and-uhd-when-launching-the-acquisition/210359/3 "2011-08-05T18:51:06Z")

</div>

On 05/08/2011 10:33 AM, Emmanuel Caill wrote:

> – Current recv frame size: 1472 bytes  
> – Current send frame size: 1472 bytes
> 
> and the FFT Plotter appear but is empty.

Also, what do you get with

uhd\_usrp\_probe --args “addr=192.168.10.2” (or whatever you’ve set the  
IP addr of the USRP2 to).

---

<div class="post-metadata">

**Author:** ![SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/u/SSEmmanuel_CaillSSS)\
**Post date:** [August 8, 2011, 9:40am UTC](https://www.ruby-forum.com/t/bug-with-usrp2-sbx-and-uhd-when-launching-the-acquisition/210359/4 "2011-08-08T09:40:32Z")

</div>

2011/8/5 Marcus D. Leech [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> > linux; GNU C++ version 4.5.2; Boost\_104200; UHD\_003.002.001-fc349d3

There are no samples (autoscale don’t do anything) and there are no  
timeout errors.  
I perfectly ping the device (with 0% packet loss).  
I don’t understand why sometimes it works and at other times it  
doesn’t (without changing any option).

$ uhd\_usrp\_probe  
linux; GNU C++ version 4.5.2; Boost\_104200; UHD\_003.002.001-fc349d3

– Opening a USRP2/N-Series device…  
– Current recv frame size: 1472 bytes  
– Current send frame size: 1472 bytes

* * *

/  
| Device: USRP2 / N-Series Device  
| \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| /  
| | Mboard: USRP2-REV4  
| | rev: 1024  
| | mac-addr: 00:50:c2:85:3a:a4  
| | ip-addr: 10.66.160.164  
| | gpsdo: none  
| | serial: 2724  
| |  
| | Time sources: none, external, _external_, mimo  
| | Clock sources: internal, external, mimo  
| | Sensors: mimo\_locked, ref\_locked  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | RX DSP: 0  
| | | Freq range: -50.000 to 50.000 Mhz  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | RX DSP: 1  
| | | Freq range: -50.000 to 50.000 Mhz  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | RX Dboard: A  
| | | ID: SBX (0x0054)  
| | | Serial: E7R10Y0XS  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | RX Subdev: 0  
| | | | Name: SBX (0x0054)  
| | | | Antennas: TX/RX, RX2  
| | | | Sensors: lo\_locked  
| | | | Freq range: 68.750 to 4400.000 Mhz  
| | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB  
| | | | Connection Type: IQ  
| | | | Uses LO offset: No  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | RX Codec: A  
| | | | Name: ltc2284  
| | | | Gain Elements: None  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | TX DSP: 0  
| | | Freq range: -250.000 to 250.000 Mhz  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | TX Dboard: A  
| | | ID: SBX (0x0055)  
| | | Serial: E7R10Y0XS  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | TX Subdev: 0  
| | | | Name: SBX (0x0055)  
| | | | Antennas: TX/RX  
| | | | Sensors: lo\_locked  
| | | | Freq range: 68.750 to 4400.000 Mhz  
| | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB  
| | | | Connection Type: QI  
| | | | Uses LO offset: No  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | TX Codec: A  
| | | | Name: ad9777  
| | | | Gain Elements: None

(I had the same problem when I used the 192.168.10.2 IP)

---

<div class="post-metadata">

**Author:** ![SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@SSEmmanuel\_CaillSSS](https://www.ruby-forum.com/u/SSEmmanuel_CaillSSS)\
**Post date:** [August 8, 2011, 11:06am UTC](https://www.ruby-forum.com/t/bug-with-usrp2-sbx-and-uhd-when-launching-the-acquisition/210359/5 "2011-08-08T11:06:41Z")

</div>

2011/8/8 Emmanuel Caillé [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> > > $ uhd\_fft.py  
> > > addr of the USRP2 to).  
> > > linux; GNU C++ version 4.5.2; Boost\_104200; UHD\_003.002.001-fc349d3  
> > > | | rev: 1024  
> > > | | | RX DSP: 0  
> > > | | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > | | | /  
> > > | | | ID: SBX (0x0055)  
> > > | | | | Uses LO offset: No  
> > > | | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > | | | /  
> > > | | | | TX Codec: A  
> > > | | | | Name: ad9777  
> > > | | | | Gain Elements: None
> 
> (I had the same problem when I used the 192.168.10.2 IP)

I fixed my problem : I replaced my Gigabit Switch with a crossed cable  
and know everything work fine.

Thanks for your advices.

–  
Emmanuel
