Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | USRP1: implement MBOARD_PROP_CLOCK_CONFIG, only accepts internal | Josh Blum | 2011-05-16 | 2 | -2/+11 |
| | |||||
* | uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵ | Josh Blum | 2011-05-14 | 1 | -15/+4 |
| | | | | overhead | ||||
* | usrp1: correct TX codec rate, it should also read 64e6 when probed | Josh Blum | 2011-05-14 | 2 | -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 tx | Josh Blum | 2011-05-14 | 7 | -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 reads | Josh Blum | 2011-05-05 | 1 | -0/+11 |
| | |||||
* | usrp1: added more logging to usrp1 iface for debugging | Josh Blum | 2011-05-05 | 1 | -0/+20 |
| | |||||
* | uhd: various tweaks to log and msg, replaced a few remaining stdio | Josh Blum | 2011-05-04 | 1 | -0/+1 |
| | |||||
* | uhd: removed more iostream stuff from usrp* implementations | Josh Blum | 2011-05-04 | 8 | -74/+66 |
| | |||||
* | uhd: replaced warning post with calls to UHD_MSG(warning) | Josh Blum | 2011-05-04 | 2 | -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 init | Josh Blum | 2011-05-01 | 1 | -8/+18 |
| | |||||
* | USRP1: added support for setting clock rate from EEPROM | Josh Blum | 2011-05-01 | 2 | -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 conditions | Josh Blum | 2011-04-27 | 1 | -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 Blum | 2011-04-27 | 1 | -1/+1 |
| | |||||
* | usrp: support for grand daughter board eeprom | Josh Blum | 2011-04-26 | 2 | -2/+12 |
| | |||||
* | Merge branch 'use_boost_barrier' | Josh Blum | 2011-04-01 | 1 | -6/+8 |
|\ | |||||
| * | uhd: implemented boost barriers on all code that creates threads | Josh Blum | 2011-03-31 | 1 | -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 Blum | 2011-03-30 | 1 | -44/+29 |
| | | | | | | | | logic | ||||
* | | usrp1: switch usrp1 iface to use spi read (transact never worked) | Josh Blum | 2011-03-30 | 1 | -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 Blum | 2011-03-29 | 1 | -2/+10 |
| | | | | device is claimed | ||||
* | uhd: update copyright headers with automated script | Josh Blum | 2011-03-23 | 5 | -5/+5 |
| | |||||
* | usrp1: safe destruction for usrp1 device | Josh Blum | 2011-03-10 | 2 | -2/+13 |
| | |||||
* | usrp1: also replaced control error prints w/ throws | Josh Blum | 2011-03-10 | 1 | -14/+5 |
| | |||||
* | usrp1: throw in control calls that fail rather than print the error | Josh Blum | 2011-03-10 | 2 | -171/+82 |
| | |||||
* | uhd: removed mb_eeprom from mboard iface (already exposed in property) | Josh Blum | 2011-03-03 | 2 | -4/+7 |
| | | | | also fixed some warnings with unused parameters | ||||
* | Merge branch 'mb_iface' into next | Josh Blum | 2011-03-03 | 4 | -42/+27 |
|\ | | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_iface.hpp | ||||
| * | Generalized mboard_iface and added a SPI convenience class a la I2C | Nick Foster | 2011-03-03 | 3 | -12/+12 |
| | | |||||
| * | Generalized the mboard_iface into mboard_iface.hpp and made each of the USRP ↵ | Nick Foster | 2011-03-01 | 2 | -34/+19 |
| | | | | | | | | devices inherit from it. | ||||
* | | Merge branch 'master' into next | Josh Blum | 2011-03-03 | 1 | -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 devices | Josh Blum | 2011-03-02 | 1 | -14/+14 |
| | | | | | | | | this prevents excessive warnings when usrp1 is not attached | ||||
* | | uhd: switch algorithm namespace to uhd | Josh Blum | 2011-02-24 | 1 | -4/+4 |
| | | |||||
* | | uhd: replaced instanced of std::exception with the uhd exceptions | Josh Blum | 2011-02-24 | 2 | -4/+4 |
| | | |||||
* | | uhd: renamed the assert header to assert has | Josh Blum | 2011-02-24 | 8 | -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 next | Josh Blum | 2011-02-24 | 3 | -69/+56 |
|\ \ | |/ |/| | | | | | Conflicts: host/include/uhd/usrp/mboard_props.hpp | ||||
| * | uhd: got all compiling w/ changes, changes to channel calculation in multi usrp | Josh Blum | 2011-02-17 | 1 | -3/+3 |
| | | |||||
| * | usrp: support for multiple dsps in props and implemented in usrp1 | Josh Blum | 2011-02-17 | 3 | -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 struct | Josh Blum | 2011-02-22 | 1 | -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/store | Josh Blum | 2011-02-22 | 1 | -16/+5 |
|/ | |||||
* | uhd: tweaks for windows msvc compiler warnings and errors | Josh Blum | 2011-02-16 | 1 | -1/+1 |
| | |||||
* | usrp-e100: use pre-bound get send/recv buffers in io impl | Josh Blum | 2011-02-03 | 1 | -2/+3 |
| | |||||
* | usrp1: removed binds and sptr allocs in usrp1 io impl | Josh Blum | 2011-02-14 | 1 | -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/recv | Josh Blum | 2011-02-09 | 2 | -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 simpler | Josh Blum | 2011-02-07 | 1 | -4/+2 |
| | |||||
* | uhd: change bounded_buffer implementation and code using it | Josh Blum | 2011-02-05 | 1 | -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_fc64 | Josh Blum | 2011-02-03 | 3 | -10/+26 |
|\ | |||||
| * | usrp: added set and get master clock rates to usrp API | Josh Blum | 2011-01-31 | 3 | -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 EOB | Josh Blum | 2011-02-02 | 2 | -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 control | Josh Blum | 2011-01-30 | 1 | -29/+8 |
|/ | |||||
* | usrp1: changes that make benchmark rx work | Josh Blum | 2011-01-24 | 1 | -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, misc | Josh Blum | 2011-01-24 | 1 | -2/+0 |
| | |||||
* | usrp1: set eob on md when shutting off receiver, because we can | Josh Blum | 2011-01-18 | 1 | -0/+1 |
| |