summaryrefslogtreecommitdiff
path: root/usrp2/host
AgeCommit message (Collapse)Author
2010-04-28Really fix the missing include for boost::bindJohnathan Corgan
2010-04-26Remove omnithreads library.Johnathan Corgan
2010-04-23Add missing include file for boost::bindJohnathan Corgan
2010-04-21Fix sequence error indication after stopping then restarting streaming on USRP2.Martin DvH
2010-04-17Applied patch from Srinivas Vutukuri to have tx_samples accept -gSrinivas Naga Vutukuri
Date: Tue, 19 Jan 2010 18:15:08 +0530 From: srinivas naga vutukuri <srinivas.vutukuri@gmail.com> To: discuss-gnuradio@gnu.org Subject: [Discuss-gnuradio] tx_samples.cc is not accepting the gain parameter input. Hi, I observed that tx_samples.cc is not accepting the gain input parameter (ie., -g option). I just changed like this in my code. Its working, so posting the changes. If it is acceptable please take it. best regards, srinivas.
2010-04-11Removed omnithreads dependency from libusrp2Johnathan Corgan
2010-02-25setting xcvr antennas through apiJosh Blum
2010-02-25Added call to set antenna. Split XCVR into new thing cuz size.Josh Blum
2010-01-17usrp2: fix for 'start_rx_streaming_at' hangJohnathan Corgan
The start_rx_streaming_at call was not clearing the d_dont_enqueue flag, resulting in the receiver loop discarding data packets.
2010-01-10fixed issue 387: removed uses of win.set for wx sinksJosh Blum
2009-12-03Use updated transmit commandJohnathan Corgan
Now compiles cleanly again.
2009-12-03Rebase on master, cleanup for mergeJohnathan Corgan
Trailing whitespace removal Copyright updates
2009-12-03Applied 'start streaming at' patch from Douglas GeigerJohnathan Corgan
2009-09-04stop sending short ethernet command packets.Eric Blossom
2009-09-04Fix problem with commands timing out (specifically stop_rx_streaming)Eric Blossom
After fixing the race, this change uses Tom's idea to stop enqueuing data when trying to stop, and adds a new flush_rx_samples method to drop any samples that may have already been accumulated. I ran Tom's test case 500 times with 0 failures ;-)
2009-09-04Fix race condition that caused commands such as stop_rx_streaming to fail.Eric Blossom
This fixes the bulk of the problem. Next step is to drop data packets while waiting for the reply.
2009-08-14Added git ignore files auto created from svn:ignore properties.git
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11592 221aa14e-8319-0410-a670-987f0aec2ac5
2009-06-23added include <cstdio> statements in several files to make it compatible ↵anastas
with g++ 4.4 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11267 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-22Doc fixes.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11088 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-22doc fixes! work-in-progresseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11085 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-19Updates to C++ and Python APIs:jcorgan
* C++: Adds usrp2::MC_* constants for config_mimo() call in libusrp2 * Python: Adds usrp2.config_mimo(), and usrp2.MC_* constants * Python: Adds usrp2.sync_every_pps() git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11050 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-15Merged wip r11012:11022 from jcorgan/deb into trunk.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11043 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-11Apply Juha Vierinen patch to allow variable USRP2 rx buffer sizejcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11000 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-09Fixes ticket:357jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10793 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-04Fix distcheck error, trunk passes distcheck.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10768 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-04Merged r10712:10765 from jcorgan/gpio into trunk. Adds out-of-band and ↵jcorgan
streaming GPIO functions for USRP2. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10766 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-26Partial fix for ticket:378. Merged eb/t378 -r10682:10688 to trunk.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10689 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-19Applied Douglas Geiger's packet filter patch, with cleanup. Fixes ticket:286.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10645 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-04Fix case where USRP2 left streaming prevents reinitializationjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10558 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-25Merged r10501:10505 from michaelld/omnithread into trunk. Moves omnithread ↵jcorgan
header files into /gnuradio. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10506 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-23Cleanup, changed ifc_name() to interface_name()jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10477 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-22Adds ifc_name() to libusrp2 and gr-usrp2jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10475 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-20fix for config_mimo host code. (Doug Geiger)eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10471 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-10Remove obsolete appjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10426 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-10Merged r10418:10423 from jcorgan/pps into trunk. Adds usrp2::sync_every_ppsjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10424 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-04Merged r10383:10390 from jcorgan/u2-wip into trunk.jcorgan
* Implements daughterboard independent LO offset tuning * Removes RFX specific LO offset code * Adds 'set_lo_offset' to libusrp2 and Python API * Adds --lo-offset to usrp2_fft.py and usrp2_rx_cfile.py * Ensures daughterboards are reset to default values at startup. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10392 221aa14e-8319-0410-a670-987f0aec2ac5
2009-01-27Merged eb/u2-mimo-wip -r10297:10317 into the trunk. This containseb
down and dirty test code that confirms that we can coherently transmit different signals to two USRP2s connected via a mimo cable. app_common_v2.h and app_passthru_v2.h were slightly modified, but these changes to not alter the behavior of the standard code (txrx). git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10318 221aa14e-8319-0410-a670-987f0aec2ac5
2009-01-19only set scale_iq if askedjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10261 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-31For USRP2, implement auto scaling of TX pipeline such that [-1.0 1.0] input tojcorgan
usrp2.sink_32fc results in full-scale DAC outputs, regardless of interpolation rate. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10182 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-29Implements USRP2 poke32() command.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10176 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-28Fix typojcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10175 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-28Replaced USRP2 peek() with peek32(), handles endian-swapping if neededjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10174 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-27Implements USRP2 peek() command, allowing arbitrary reads from the internaljcorgan
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. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10172 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-24Merged r10071:10164 from features/cppdb-test into trunk. Implements the ↵jcorgan
fully native C++ API for the USRP. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10165 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-14Implement sync_to_pps command for USRP2jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10116 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27backed out 9874eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9877 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27An insufficient attempt to fix the set_freq problem...eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9874 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-26Merged r9834:9855 from jcorgan/u2-wip into trunk. Catches up gr-usrp2 with ↵jcorgan
the latest changes in libusrp2, adding all the daughterboard accessor functions. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9856 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-22added missing tx_interp and rx_decim proxieseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9820 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-22added rx_decim and tx_interp accessorseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9819 221aa14e-8319-0410-a670-987f0aec2ac5