|
From: | Sabu |
Subject: | [Discuss-gnuradio] Program FPGA |
Date: | Thu, 26 Jul 2007 16:17:52 +0530 |
Hello friends,
I(sabu) made debute to USRP & GNUradio build-trials 2 days
back.
I have three querries... viz. A, B, &
C, as mentioned after the environment observations given
below
My environment is :
O.S
:: Ubuntu 7.04 Feisty fawn (Free CD distribution
alongwith "Linux For You" magazine in India)
CPU :: Core2 DUO
Intel
gcc ::
4.2.0
SWIG :: 1.3.31
Build references used are
::
Observed that the 3 commands towards the end
of the UbuntuInstall - viz
1
../benchmark_usb.py
2 ./test_usrp_standard_tx 3 ./test_usrp_standard_rx require a power-cycling (OFF-ON) after executing any one command. Otherwise the second command returns an
error
[failed to find
usrp(0)] as shown in
the relevant log-file
below:
address@hidden:/home/sabu/GNUradio/gnuradio-3.0.3/gnuradio-examples/python/usrp# ../benchmark_usb.py Testing 2MB/sec... usb_throughput = 2M
.......
OK
Testing 4MB/sec... usb_throughput = 4M
..........
OK
Testing 8MB/sec... usb_throughput = 8M
..........
OK
Testing 16MB/sec... usb_throughput =
16M ..........
OK
Testing 32MB/sec... usb_throughput =
32M ..........
OK
Max USB/USRP throughput = 32MB/sec
address@hidden:/home/sabu/GNUradio/gnuradio-3.0.3/gnuradio-examples/python/usrp#
address@hidden:/home/sabu/GNUradio/gnuradio-3.0.3/usrp/host/apps#
../test_usrp_standard_tx
usrp: failed to find usrp[0]
die: lt-test_usrp_standard_tx:
usrp_standard_tx::make
address@hidden:/home/sabu/GNUradio/gnuradio-3.0.3/usrp/host/apps#
../test_usrp_standard_rx
usrp: failed to find usrp[0]
die: lt-test_usrp_standard_rx:
usrp_standard_rx::make
####### Power off & power ON usrp
###############
address@hidden:/home/sabu/GNUradio/gnuradio-3.0.3/usrp/host/apps#
../test_usrp_standard_tx
xfered 1.34e+08 bytes in 4.02 seconds. 3.336e+07
bytes/sec. cpu time = 0.232
0 underruns
address@hidden:/home/sabu/GNUradio/gnuradio-3.0.3/usrp/host/apps#
../test_usrp_standard_rx
usrp: failed to find usrp[0]
die: lt-test_usrp_standard_rx:
usrp_standard_rx::make
####### Power off & power ON
usrp ###############
address@hidden:/home/sabu/GNUradio/gnuradio-3.0.3/usrp/host/apps#
../test_usrp_standard_rx
xfered 1.34e+08 bytes in 4.02 seconds. 3.336e+07
bytes/sec. cpu time = 0.184
noverruns = 0
--------------------------------------------------------------------------------------------------------------------------------------
I am able to view "USRP Rev 4" on 'usbview'
tool-window, and the second green LED is blinking every
Second..!!
The other LED (2Hz ON-OFF at power on) remains off.
Did anyone came across a similar problem.?
Querry A : How do I get
rid of power-cycling,
in order to accept second command to USRP?
Also observed in clause 2.4 of "Tutorial 4"
at http://www.nd.edu/~jnl/sdr/docs/tutorials/4.html that
"............When a USRP application starts, the USRP will load two files
from the directory
/usr/local/share/usrp/rev2: usrp_firmware.ihx and
usrp_fpga.rbf. The blinking LED
should slow down to 1Hz (once a
second) after the usrp_firmware.ihx file was loaded
successfully..."
However, these files were not present at the said
node. Instead 4 other files were present in ../rev2 & ../rev4
nodes.
Querry B
:How do I get usrp_fpga.rbf and usrp_firmware.ihx, if they are
needed?
It also says subsequently that, to listen to FM
stations, we can connect a speaker to the sound card and insert a piece
of
wire to the RX-A connector and then run the
example command: "sudo ./wfm_rcv_gui.py 101.5."
Querry C: Where do I get wfm_rcv_gui.py ?
If it is no more valid,
what is the equivalent
substitute?
Please extend your helping hand...(I am in a
ditch.!)
best regards
K N Sabu
C-DAC Trivandrum - India.
______________________________________ Scanned and protected by Email scanner |
[Prev in Thread] | Current Thread | [Next in Thread] |