aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1
Commit message (Collapse)AuthorAgeFilesLines
* USRP1: implement MBOARD_PROP_CLOCK_CONFIG, only accepts internalJosh Blum2011-05-162-2/+11
|
* uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵Josh Blum2011-05-141-15/+4
| | | | overhead
* usrp1: correct TX codec rate, it should also read 64e6 when probedJosh Blum2011-05-142-17/+11
| | | | | | We were using clock_rate*2 to simulate a codec rate of 128MHz. This reflected the old gnuradio API, but the rate between FPGA and codec is really 64MHz for both rx and tx directions.
* usrp1: apply conditional disables/enables to rx and txJosh Blum2011-05-147-9/+60
| | | | | | | | Scapped the old gnuradio code for information about VRQ_FPGA_SET_XX_ENABLE. It turns out that we should disabled + restore state when changing muxes or rates. The USRP seems to stream properly when receiving single and dual channel. Prior to this commit, tx was accicentally always disabled from a few commits ago.
* usrp1: overload read_eeprom to handle multi-byte readsJosh Blum2011-05-051-0/+11
|
* usrp1: added more logging to usrp1 iface for debuggingJosh Blum2011-05-051-0/+20
|
* uhd: various tweaks to log and msg, replaced a few remaining stdioJosh Blum2011-05-041-0/+1
|
* uhd: removed more iostream stuff from usrp* implementationsJosh Blum2011-05-048-74/+66
|
* uhd: replaced warning post with calls to UHD_MSG(warning)Josh Blum2011-05-042-4/+4
| | | | | The message api can support warnings, error, and status messages. The default handler is to stdio, but the user can change this.
* usrp1: toggle the FPGA reset and RX reset registers at initJosh Blum2011-05-011-8/+18
|
* USRP1: added support for setting clock rate from EEPROMJosh Blum2011-05-012-0/+18
| | | | | Basically, same deal as the previous changeset but for USRP1. Modified previous changes so that the key is shorter (mcr = master_clock_rate)
* usrp1: fix for tx under remainder conditionsJosh Blum2011-04-271-3/+3
| | | | | The remainder was accidentally lost because the offset to the buffer was not propagated outside of the commit function.
* usrp1: the rx mux was reversed (fixed multi-channel rx)Josh Blum2011-04-271-1/+1
|
* usrp: support for grand daughter board eepromJosh Blum2011-04-262-2/+12
|
* Merge branch 'use_boost_barrier'Josh Blum2011-04-011-6/+8
|\
| * uhd: implemented boost barriers on all code that creates threadsJosh Blum2011-03-311-6/+8
| | | | | | | | | | | | | | | | | | The barrier ensures that the thread must spawn before the caller exits. Some of the code already used a mutex to accomplish this, however cygwin chokes when a mutex is locked twice by the same thread. Mutex implementations were replaced with the barrier implementation. Also the barrier implementation is far cleaner.
* | usrp1: fixed codec ctrl aux adc read (didnt start conversions) + cleaned-up ↵Josh Blum2011-03-301-44/+29
| | | | | | | | logic
* | usrp1: switch usrp1 iface to use spi read (transact never worked)Josh Blum2011-03-301-17/+29
|/ | | | It detects the number of header bytes by searching for non-zero bytes.
* usrp1: ignore claimed interfaces, avoids the problem of discovery when one ↵Josh Blum2011-03-291-2/+10
| | | | device is claimed
* uhd: update copyright headers with automated scriptJosh Blum2011-03-235-5/+5
|
* usrp1: safe destruction for usrp1 deviceJosh Blum2011-03-102-2/+13
|
* usrp1: also replaced control error prints w/ throwsJosh Blum2011-03-101-14/+5
|
* usrp1: throw in control calls that fail rather than print the errorJosh Blum2011-03-102-171/+82
|
* uhd: removed mb_eeprom from mboard iface (already exposed in property)Josh Blum2011-03-032-4/+7
| | | | also fixed some warnings with unused parameters
* Merge branch 'mb_iface' into nextJosh Blum2011-03-034-42/+27
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_iface.hpp
| * Generalized mboard_iface and added a SPI convenience class a la I2CNick Foster2011-03-033-12/+12
| |
| * Generalized the mboard_iface into mboard_iface.hpp and made each of the USRP ↵Nick Foster2011-03-012-34/+19
| | | | | | | | devices inherit from it.
* | Merge branch 'master' into nextJosh Blum2011-03-031-14/+14
|\ \ | |/ |/| | | | | | | Conflicts: host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_impl.cpp
| * usrp1: check for fw images only for uninitialized devicesJosh Blum2011-03-021-14/+14
| | | | | | | | this prevents excessive warnings when usrp1 is not attached
* | uhd: switch algorithm namespace to uhdJosh Blum2011-02-241-4/+4
| |
* | uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-242-4/+4
| |
* | uhd: renamed the assert header to assert hasJosh Blum2011-02-248-15/+8
| | | | | | | | | | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match
* | Merge branch 'usrp2_dual_dsp' into nextJosh Blum2011-02-243-69/+56
|\ \ | |/ |/| | | | | Conflicts: host/include/uhd/usrp/mboard_props.hpp
| * uhd: got all compiling w/ changes, changes to channel calculation in multi usrpJosh Blum2011-02-171-3/+3
| |
| * usrp: support for multiple dsps in props and implemented in usrp1Josh Blum2011-02-173-68/+55
| | | | | | | | | | | | | | usrp1 previously had 1 rx and 1 tx dsp with multiple freq params, it now has N and M dsps each with one freq param. This is more consistent with the multi-dsp model. The hack here is to only apply stream commands and sample rate changes to dsp0.
* | uhd: switch dboard id prop to whole eeprom structJosh Blum2011-02-221-8/+8
| | | | | | | | | | | | modified implementation code and burner app also made dboard manager use safe constructor that will use none ids if construction fails
* | uhd: simplify dboard eeprom code by passing iface into load/storeJosh Blum2011-02-221-16/+5
|/
* uhd: tweaks for windows msvc compiler warnings and errorsJosh Blum2011-02-161-1/+1
|
* usrp-e100: use pre-bound get send/recv buffers in io implJosh Blum2011-02-031-2/+3
|
* usrp1: removed binds and sptr allocs in usrp1 io implJosh Blum2011-02-141-48/+90
| | | | | | prebind the callbacks for getting buffers in io_impl class reimplement the special send buffer commit hack to avoid allocating
* uhd: replaced std::vector<type> for buffer arguments in send/recvJosh Blum2011-02-092-4/+4
| | | | | | | | | Created new type ref_vector for representing a vector of pointers. Can be created from std::vector or a pointer. Removes the convenience constrcutors for send/recv, its not needed. Removes malloc/free overhead when using send/recv with pointer.
* uhd: replace asio buffer in make safe w/ memory and length, makes things simplerJosh Blum2011-02-071-4/+2
|
* uhd: change bounded_buffer implementation and code using itJosh Blum2011-02-051-4/+4
| | | | | | | The bounded buffer now uses the detail idiom to hide implementation to inline better. The whole sptr/make idiom was removed from bounded buffer to just construct directly. The code using bounded buffer was changed for the new api: replaces access operators and calls to the factory function.
* Merge branch 'multi_usrp_only' into convert_fc64Josh Blum2011-02-033-10/+26
|\
| * usrp: added set and get master clock rates to usrp APIJosh Blum2011-01-313-10/+26
| | | | | | | | | | | | implemented set and get rates in usrp1 (its all soft) implemented set and get rates in usrp2 (only 100MHz)
* | usrp1: fix for tx disable on EOBJosh Blum2011-02-022-12/+5
| | | | | | | | | | Leave the tx digital always enabled, flush with zeros is enough to turn it "off". Fixed the flush routine to send something (when zero) to ensure zeros go out.
* | uhd: use time spec get_system_time to simplify soft time controlJosh Blum2011-01-301-29/+8
|/
* usrp1: changes that make benchmark rx workJosh Blum2011-01-241-0/+3
| | | | | | initialize the time to something in soft time control use std::max(0, lost) because the time is emulated, lost can be negative which means huge positive unsigned...
* uhd: added docs on usrp2/n, removed empty n2xx doc page, miscJosh Blum2011-01-241-2/+0
|
* usrp1: set eob on md when shutting off receiver, because we canJosh Blum2011-01-181-0/+1
|