N210: detectable with uhd_probe, unusable with gnuradio-companion

Hi everyone.

I’m continuing my quest to try out my new USRP N210 and WBX transceiver
board. I still haven’t managed to make it do anything useful yet.

I have it attached directly to a Mac OS X 10.6 system, via the built-in
gigabit ethernet interface. I updated N210 to the latest firmware
available on Thursday, 2011-2-10. I also downloaded gnuradio-current on
the same day and managed to get it compiled and installed. (I have a
couple of patches to submit in this regard, by the way).

So I am now finally at a point where I feel confident that I can make
some
signal graphs and actually listen to things on the air. I started with
the gnuradio-companion wide-band FM receiver example, but modified it so
that it uses a UHD Single USRP source. When I generate and execute this
graph, I get the following error:

— gnuradio-companion stdout/stderr —

gr_fir_fff: using SSE
mboard0 MIMO master

Warning:
WBX: No tunable bandwidth, fixed filtered to 40MHz
UHD source block got error code 0x1
gr_block_executor: source <gr_block uhd single_usrp source (8)> produced
no output. We’re marking it DONE.

I configured that source as follows:

ID : uhd_single_usrp_source_0
Input type : Complex
Num Channels : Single Channel
Device Addr : addr=192.168.10.2
Ref Clock : Internal
Subdev Spec :
Sample Rate (sps) : 500000
Ch0: Center Freq (Hz): 100700000
Ch0: Gain (dB) : 10
Ch0: Antenna :
Ch0: Bandwidth (Hz) : 250000

Here’s some information that I’ve seen requested on the mailing list
that
might be helpful:

— uhd_usrp_probe —
Mac OS; GNU C++ version 4.2.1 (Apple Inc. build 5664); Boost_104500;
UHD_002.20110204025144.dfb3ed0

mboard0 MIMO master


/
| Device: USRP2/N Series device
| _____________________________________________________
| /
| | Mboard: USRP-N210 mboard
| | rev: 2561
| | mac-addr: a0:36:fa:25:30:f4
| | ip-addr: 192.168.10.2
| | serial: EFR10Y4UP
| | _____________________________________________________
| | /
| | | RX DSP: USRP-N210 ddc0
| | | Codec Rate: 100.000000 Msps
| | _____________________________________________________
| | /
| | | TX DSP: USRP-N210 duc0
| | | Codec Rate: 100.000000 Msps
| | _____________________________________________________
| | /
| | | RX Dboard: USRP-N210 dboard (rx unit)
| | | _____________________________________________________
| | | /
| | | | RX Subdev: WBX (0x0053)
| | | | Antennas: TX/RX, RX2
| | | | Freq range: 68.750 to 2200.000 Mhz
| | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
| | | | Connection Type: C
| | | | Uses LO offset: No
| | | _____________________________________________________
| | | /
| | | | RX Codec: USRP-N210 adc - ads62p44
| | | | Gain range digital: 0.0 to 6.0 step 0.5 dB
| | | | Gain range digital-fine: 0.0 to 0.5 step 0.1 dB
| | _____________________________________________________
| | /
| | | TX Dboard: USRP-N210 dboard (tx unit)
| | | _____________________________________________________
| | | /
| | | | TX Subdev: WBX (0x0052)
| | | | Antennas: TX/RX
| | | | Freq range: 68.750 to 2200.000 Mhz
| | | | Gain range PGA0: 0.0 to 25.0 step 0.1 dB
| | | | Connection Type: C
| | | | Uses LO offset: No
| | | _____________________________________________________
| | | /
| | | | TX Codec: USRP-N210 dac - ad9777
| | | | Gain Elements: None

----- /share/uhd/examples/rx_timed_samples -----
Mac OS; GNU C++ version 4.2.1 (Apple Inc. build 5664); Boost_104500;
UHD_002.20110204025144.dfb3ed0

Creating the usrp device with: …
mboard0 MIMO master
Using Device: Single USRP:
Device: USRP2/N Series device
Mboard 0: USRP-N210 mboard
RX DSP 0: USRP-N210 ddc0
RX Channel: 0
RX Dboard: USRP-N210 dboard (rx unit)
RX Subdev: WBX (0x0053)
TX DSP 0: USRP-N210 duc0
TX Channel: 0
TX Dboard: USRP-N210 dboard (tx unit)
TX Subdev: WBX (0x0052)

Setting RX Rate: 6.250000 Msps…
Actual RX Rate: 6.250000 Msps…

Setting RX Freq: 0.000000 Mhz…

Warning:
The hardware does not support the requested RX frequency:
Target frequency: 0.000000 MHz
Actual frequency: 100.000000 MHz
Actual RX Freq: 100.000000 Mhz…

Setting device timestamp to 0…

Begin streaming 1000 samples, 3.000000 seconds in the future…
Got packet: 362 samples, 3 full secs, 0.000000 frac secs
Got packet: 362 samples, 3 full secs, 0.000058 frac secs
Got packet: 276 samples, 3 full secs, 0.000116 frac secs

Done!

Warning:
WBX: No tunable bandwidth, fixed filtered to 40MHz

You probably have something in the bandwidth parameter. Use zero to not
set.

UHD source block got error code 0x1
gr_block_executor: source <gr_block uhd single_usrp source (8)> produced
no output. We’re marking it DONE.

So there was an issue with some macos not working with the udp/asio
implementation. You should be able to demonstrate this pretty easily
with the examples/rx_timed_samples that comes w/ uhd.

I fixed it here fa35192bcb89c6f026d76d7f5190e22341840a47 by disabling
the implementation, and the next branch has the implementation
completely re-worked.

Make sure that you have the most recent master or next branch built and
installed.

-Josh

On Thu, 17 Feb 2011, Josh B. wrote:

Warning:
WBX: No tunable bandwidth, fixed filtered to 40MHz

You probably have something in the bandwidth parameter. Use zero to not set.

Change to zero.

UHD source block got error code 0x1
gr_block_executor: source <gr_block uhd single_usrp source (8)> produced
no output. We’re marking it DONE.

So there was an issue with some macos not working with the udp/asio
implementation. You should be able to demonstrate this pretty easily
with the examples/rx_timed_samples that comes w/ uhd.

If you saw my entire message, I copied the output of rx_timed_samples;
it
appeared to be working just fine.

I fixed it here fa35192bcb89c6f026d76d7f5190e22341840a47 by disabling
the implementation, and the next branch has the implementation
completely re-worked.

Make sure that you have the most recent master or next branch built and
installed.

I did this 30 minutes ago, as you suggested, and I’m still getting the
same error.

-J

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs