jcorgan [Wed, 31 Dec 2008 22:19:48 +0000 (22:19 +0000)]
For USRP2, implement auto scaling of TX pipeline such that [-1.0 1.0] input to
usrp2.sink_32fc results in full-scale DAC outputs, regardless of interpolation
rate.
mleech [Sun, 28 Dec 2008 04:17:43 +0000 (04:17 +0000)]
Brought back support for notch filtering--both clicky in FFT display, and on
the command line. Temporarily commented-out call to set_bw(), since latest
trunk has broken it.
jcorgan [Sat, 27 Dec 2008 21:09:26 +0000 (21:09 +0000)]
Implements USRP2 peek() command, allowing arbitrary reads from the internal
Wishbone bus. Minor fix for USRP2 sync_to_pps() (uses correct packet type.)
Example:
>>> from gnuradio import usrp2
>>> u = usrp2.source_32fc()
>>> u.peek(0x1234, 4) # Read four bytes at offset 0x1234 (code)
(185, 244, 253, 164)
>>>
The return value will be zero length upon error.
The read address must be 32-bit aligned, and only the lower 16 bits are
significant. The length must be an integral multiple of 4 bytes. There is
currently a read limit of 176 bytes per read; to change requires some additional
firmware changes to allocate a larger reply packet.
WARNING: Trying to read from memory locations not serviced by RAM or by a
Wishbone peripheral may result in a hang requiring a USRP2 power cycle. The
USRP2 internal memory map is documented in usrp2/firmware/lib/memory_map.h.
eb [Mon, 22 Dec 2008 04:24:34 +0000 (04:24 +0000)]
Merged eb/gcell-wip2 rev 10130:10152 into trunk.
This makes several gcell related changes.
{{{
The first two are INCOMPATIBLE CHANGES:
(1) The gcell portion of the code base was reorganized. As part of that
reorganization, the paths to the include files changed. They are now
installed under PREFIX/include/gcell instead of directly in PREFIX/include.
This means that all includes of the form:
#include <gc_foo.h>
should be changed to
#include <gcell/gc_foo.h>
(2a) If you are directly using gcell-embedspu-libtool or the
$(GCELL_EMBEDSPU_LIBTOOL) variable in your Makefiles, the order of the
two command line arguments was switched. It's now
$(GCELL_EMBEDSPU_LIBTOOL) input_file output_file
or equivalently
$(GCELL_EMBEDSPU_LIBTOOL) $< $@
gcell-embedspu-libtool allows you to convert an SPE executable
into something that libtool will allow you add to a host shared library.
(2b) The name of the symbol created by gcell-embedspu-libtool is now
suffixed with _spx (SPE executable) to reduce the probability of name
collision. If you have lines like this:
extern spe_program_handle_t gcell_all;
in your code, you may have to change them to:
extern spe_program_handle_t gcell_all_spx;
The following changes are enhancements and shouldn't break any
existing code:
(3) We now install two new pkg-config files, gcell.pc and gcell_spu.pc.
These can be used to assist in building gcell code that lives outside
the GNU Radio repository. The first gives the include and library
paths for the PPE host code, the second is the same info for the the
SPE code.
There is also a new .m4 macro, GR_GCELL, contained in
config/gr_gcell.m4, that uses PKG_CONFIG_MODULES to fish out the
relevant variables. If you've got standalone code that uses gcell,
you'll probably want to copy this macro (along with our version of
pkg.m4) to your tree and use it. It sets the following variables:
jcorgan [Sat, 20 Dec 2008 20:54:52 +0000 (20:54 +0000)]
Move mblock library include files into separate library. Updates to usrp in-band code to accommodate. Tested with out-of-tree mblock application builds. Trunk passes distcheck.
anastas [Thu, 13 Nov 2008 15:24:59 +0000 (15:24 +0000)]
Several updates on gr-trellis: 1) new fsm constructor for a joint trellis, 2) Corresponding fsm file examples, 3) added set_TABLE method in viterbi_combined and metrics
jcorgan [Mon, 3 Nov 2008 20:08:39 +0000 (20:08 +0000)]
Merged r9881:9917 from jcorgan/deb-wip into trunk. Updates Debian/Ubuntu packaging system to build trunk code on Ubuntu 8.10.
Several new trunk components still need debs created.
Impact on non-packaging code:
* Renamed libgr_audio_alsa.so to libgnuradio-audio-alsa.so
* Renamed libusrp_inband.so to libusrp-inband.so
* Added PYTHON_CHECK_MODULE to build system to simplify Python dependency verification
Packaging code updates:
* Updated build-depends and package dependencies to be current with trunk
* Added package for libgruel and libgruel-dev
* Renamed library packages to use simplified names, removing the 0 or 0c2a suffix. This may not follow Debian policy, but we can revisit this if we ever go into official Debian or Ubuntu.
* Remove gr-comedi from packaging
* Restructured sections to eliminate 'contrib'. Since we're not official Debian, we don't need to deal with the sdcc-nf issue.
* Consolidated usrp firmware packages into corresponding main packages (same as previous).
eb [Mon, 27 Oct 2008 16:36:52 +0000 (16:36 +0000)]
Fix (actually a bit of a kludge) for the frequency setting while
streaming problem. You can now set the frequency in usrp2_fft.py
while streaming without dying :-)
jcorgan [Mon, 27 Oct 2008 03:09:27 +0000 (03:09 +0000)]
Adds usrp2 example directory, WFM receiver. Default audio rate works out to 32015 Hz, which is close enough, but for ALSA, you can use -O plughw:0,0 to get rid of the warning message. A resampler would be ideal.
eb [Sun, 26 Oct 2008 23:50:51 +0000 (23:50 +0000)]
Deadly printfs turned off... Specified gain ranges for TV Rx and RFX boards.
Still a problem setting the gain; Firmware takes too long to get back
to service ethernet.
jcorgan [Sun, 26 Oct 2008 20:41:23 +0000 (20:41 +0000)]
Update usrp2_fft.py to use updated gr-usrp2. Display is correct now, however, attempting to change parameters via the controls still isn't working. But this has been isolated to a libusrp2 issue, not a usrp2_fft.py issue.
jcorgan [Sun, 26 Oct 2008 16:05:03 +0000 (16:05 +0000)]
Merged r9834:9855 from jcorgan/u2-wip into trunk. Catches up gr-usrp2 with the latest changes in libusrp2, adding all the daughterboard accessor functions.
trondeau [Sat, 25 Oct 2008 23:29:43 +0000 (23:29 +0000)]
Merging qtgui branch-r9068:9837: this ads a qtgui_sink_c and qtgui_sink_f that displays the time, PSD, and spectrogram plots of a signal put into it. It requires qt4, qwt, and qwtplot3d and has not been tested on OSX.