aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* usrp1: work on usrp1 hardware compat with the apiJosh Blum2011-01-1710-85/+154
| | | | | | today we added shutoff the DAC when not transmitting using EOB as an indicator added various other features and cleaned up code for soft time control
* uhd: update copyright dates on host codeJosh Blum2011-01-139-9/+9
|
* usrp1: implement soft time ctrl for send at, recv atJosh Blum2011-01-137-12/+275
|
* uhd: replace all the instances of float not pertaining to io types with ↵Josh Blum2011-01-114-28/+28
| | | | double, simplifies life
* usrp: removed old includes that didnt need to be thereJosh Blum2011-01-101-1/+0
|
* USRP1: REALLY fix the full-duplex case.Nick Foster2010-12-311-2/+2
|
* USRP1: Fix ATR for TX/full duplexNick Foster2010-12-301-15/+31
|
* uhd: use the include subdir macro to simplify the lib subdirs cmakelistsJosh Blum2010-12-201-17/+19
|
* uhd: implemented top-level component registryJosh Blum2010-12-201-6/+1
| | | | now docs, examples, utils, usb, are configurable components with dependencies
* usrp1: negate the rx cordic reg word because things were inverted and nobody ↵Josh Blum2010-12-161-1/+1
| | | | noticed
* uhd: added macro to enable/disable componentsJosh Blum2010-11-291-15/+1
| | | | | | libuhd prints summary of components added newline prints before config checks
* uhd: added read-back calls to dboard iface gpio settings, and optional maskJosh Blum2010-11-261-8/+8
|
* uhd: created a meta range that is a range of ranges for gains and freqsJosh Blum2010-11-101-4/+4
| | | | | | | | | | | | | | created a templated range that that holds a start, stop, and step created a meta-range template that is a vector of ranges meta-range can calculate the overall start, stop, step or be indexed to get at components replaced instances of range.min, max, step with the functions start() stop() and step() the xcvr frequency range is now expressed in as two ranges (have to fix its clip function though)
* uhd: renamed enums to reflect new conventionJosh Blum2010-11-102-3/+3
|
* uhd: for eeprom writeback, write and set only those values changedJosh Blum2010-11-051-2/+4
|
* uhd: rename identifier for usrp1 eeprom, and fix offsets, add serial support ↵Josh Blum2010-11-052-2/+2
| | | | to usrp2
* Merge branch 'good_stuff' into mb_eepromJosh Blum2010-11-051-1/+1
|\ | | | | | | | | Conflicts: firmware/fx2/include
* | usrp: implement name checking on dicovery (all platforms), separate usb ↵Josh Blum2010-11-055-11/+21
| | | | | | | | serial from serial (for now)
* | usrp: replaced device specific burner apps with one generic one for mboard ↵Josh Blum2010-11-042-23/+14
|/ | | | eeproms
* uhd: added dict get method, used in usrp1 image loadingJosh Blum2010-10-311-4/+2
|
* uhd: replaced print warning with a post warning call and registryJosh Blum2010-10-262-2/+2
| | | | | | renamed print warning calls in the implementation fixed issue with dict::pop so it now works even if the value is not comparable
* usrp: use the dboard id to prefix the subdev gain group namesJosh Blum2010-10-202-11/+15
|
* usrp1: ensure that the current buffer was committed before getting a new oneJosh Blum2010-10-071-1/+5
|
* usrp1: use the transport frame sizes to calculate the max sppJosh Blum2010-10-062-80/+99
| | | | | | | | | The max send spp is the frame size minus the alignment padding. This allows us to copy a remainder into a new buffer and always commit multiples of the alignment size (512 bytes). Reworked the managed send buffer implementation to handle the above. Uses only managed memory, and only mem-copied under the alignment.
* uhd: replaced frame params for the zero copy interfaces with a device addressJosh Blum2010-10-051-30/+18
| | | | | | | | | | the device address gives a key, value pair of infinite optional capabilities added a cast option to the device address to cast string to type T added call to the zero_copy_if to get send and recv frame sizes changed the usrp2 impl to calculate recv/send spp from the data transport
* uhd: reworked the zero copy interfaceJosh Blum2010-10-021-49/+16
| | | | | | | | | | | | | | | | - recv buffers have a release call - safe make function for recv buffers (buff + release callback) - send buffer commits now have a void return - safe make function for send buffers (buff + commit callback) The reason for the void return from commit is that ssize_t num_bytes was never returning anything of use. That is for all of the zero copy implementations so far, commit cannot really error (being asynchronous). libusb zero copy impl was reworked to support the new interface. USRP1 io_impl with the psuedo managed buffer was replaced with safe_make. Also, usrp1 io_impl was simplified greatly due to commit returning void now. UDP zero copy asio was disabled (in this commit, until its reworked). Phony send and recv interfaces were removed completely.
* uhd: implemented a double timeout (in seconds) for send and recv chainsJosh Blum2010-10-013-15/+16
| | | | | | | | converted all size_t timeout_ms to double timeout bounded and alignment buffer now take double timeout added timeout to device::send and zero_copy_if::get_send_buff
* usb: catch open errors and print message, device: catch exceptions at ↵Josh Blum2010-10-011-15/+13
| | | | discovery time
* Merge branch 'tvrx_uhd'Josh Blum2010-09-303-0/+28
|\
| * Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into tvrx_uhdNick Foster2010-09-302-28/+2
| |\
| * | TVRX: works for USRP and USRP2.Nick Foster2010-09-292-1/+8
| | |