Commit graph

127 commits

Author SHA1 Message Date
Josh Blum
fbc5b54f49 somebody made a typo 2011-11-03 20:37:14 -07:00
Josh Blum
dedfa65256 usrp: reorganize frontend paths in tree for correction stuff 2011-11-03 20:37:14 -07:00
Josh Blum
a626450892 usrp: prefer name iq_balance for api call 2011-11-03 20:37:13 -07:00
Josh Blum
bd08f403e3 usrp: register properties for correction and dc offset 2011-11-03 20:37:13 -07:00
Josh Blum
ae9e89d76b usrp: added get_tx/rx_rates 2011-11-03 20:37:13 -07:00
Josh Blum
66c95c12a1 uhd: lots of work releated to streamer work and usrp2 implementation 2011-11-03 20:37:10 -07:00
Josh Blum
98ed4be20c usrp2: remove old pre-release warning 2011-09-28 17:57:57 -07:00
Josh Blum
25494489bf usrp2: uart/udp work in host and fw, working 2011-09-28 10:32:05 -07:00
Nick Foster
c1a82d2578 USRP2: don't populate GPS sensors if no GPSDO found. Fixes bug #614. 2011-09-08 12:37:37 -07:00
Josh Blum
3a2aeef7e0 usrp2: always resize socket send buffer to size of SRAM (we will never commit more) 2011-08-11 16:54:53 -07:00
Josh Blum
37102d6de6 usrp2: turn that message into an exception, require at least 7.1 2011-07-28 14:59:56 -07:00
Josh Blum
a92db9de27 usrp2: created new gpio core and used in dboard iface 2011-07-27 18:43:43 -07:00
Josh Blum
da40a1aebc uhd: replaced boost filesystem path with fs_path in property tree 2011-07-22 13:59:47 -07:00
Josh Blum
951ed3d66c usrp2: try/catch for socket open on discovery, use large send buffers windows 2011-07-18 15:22:21 -07:00
Josh Blum
0e788f7751 usrp2: added fw minor and moved ICMP dest error handling to txrx app 2011-07-18 11:09:10 -07:00
Josh Blum
6d47818032 usrp2: use the err transport for tx/err, and rx xports are recv only 2011-07-17 23:54:19 -07:00
Josh Blum
aa6b340f43 uhd: added subtree capability to property tree 2011-07-08 10:08:43 -07:00
Josh Blum
df91040196 usrp: added clipping to link max rate when setting sample rate 2011-07-04 08:33:47 -07:00
Josh Blum
89989fdb2d usrp2: accept old db name 0 for backwards compat 2011-07-03 12:22:53 -07:00
Josh Blum
2c833a175f usrp2: restored fpga compat check, updated for major/minor scheme 2011-07-03 10:38:24 -07:00
Josh Blum
4bcab9c56a usrp: renamed ref_source to clock_source (terminology) 2011-07-02 09:32:00 -07:00
Josh Blum
0e3240ec56 usrp: renamed sma source option to external 2011-07-01 22:16:34 -07:00
Josh Blum
ba088e27b0 b100: got b100 into the properties tree like usrp2 2011-06-29 21:16:28 -07:00
Josh Blum
11539ef6f6 usrp2: moved impl back into usrp subdir 2011-06-29 14:00:22 -07:00
Josh Blum
25d6e39c6a usrp2: init the usrp2_ctrl_data_t to make valgrind happy 2011-06-24 16:20:33 -07:00
Josh Blum
b7f6d905af usrp2: fix typo w/ setting send frame size 2011-06-20 08:01:35 -07:00
Josh Blum
328599eec4 Merge branch 'master' into next 2011-05-11 10:38:28 -07:00
Josh Blum
9734a74366 uhd: various tweaks to log and msg, replaced a few remaining stdio 2011-05-04 20:40:36 -07:00
Josh Blum
09be0518ce uhd: removed more iostream stuff from usrp* implementations 2011-05-04 19:53:01 -07:00
Josh Blum
7f01386f63 uhd: replaced warning post with calls to UHD_MSG(warning)
The message api can support warnings, error, and status messages.
The default handler is to stdio, but the user can change this.
2011-05-04 18:36:10 -07:00
Josh Blum
4e0b42afcb Merge branch 'master' into next 2011-05-03 16:55:27 -07:00
Josh Blum
e75919bc9e usrp2: added the concept of device locking to usrp2/nseries devices
Each iface instance can lock itself to a particular device.
When the device is locked, it cannot be discovered through find.

Locking works by having a lock thread periodically update
a register in the firmware that says when the device was last locked.
The find routine can determine if a device is locked by checking
the difference between the current time and this register.
2011-05-01 15:42:32 -07:00
Josh Blum
0479162ae3 usrp2: allow devices to be discovered when usrp2_iface::make throws
If the discovery throws an exception, we can still yeild a discovered device.
The error (which is a problem) will re-appear at make/factory time.

The side effect is that a device w/ error will be discovered w/ empty serial and names.
We protect against this by supporing older firmwares where i2c proto is compatible.
2011-04-29 14:27:04 -07:00
Josh Blum
46b20f2555 usrp2: use default mtu as upper limit unless user specifies 2011-04-30 18:09:23 -07:00
Josh Blum
f9e1f06e81 usrp2: add check for holler protocol, we can support backwards 2011-04-13 10:04:42 -07:00
Josh Blum
3938de0cfe usrp2: use the discovered mtu to clip the user specified mtu 2011-03-21 11:52:38 -07:00
Josh Blum
b3d6f86d38 usrp2: fixed mtu discovery bug, was using the last failed value 2011-03-14 16:31:35 -07:00
Josh Blum
d3e336f417 usrp2: minor fix to use more ntohl 2011-03-14 20:22:28 -07:00
Josh Blum
e5b625a59b usrp2: clip the mtu discovery if its within default MTU + a few 2011-03-13 18:08:17 -07:00
Josh Blum
ab263488b0 usrp2: bump up timeout on mtu discovery (seen to be a bit too small on windows vbox) 2011-03-11 09:33:58 -08:00
Josh Blum
74bc82979a usrp2: comments for buffer size setting 2011-03-08 18:31:49 -08:00
Josh Blum
982aeee231 usrp2: tweak the mtu discovery logic 2011-03-04 18:08:17 -08:00
Josh Blum
d93a2cf7c9 usrp2: work on mtu discovery
added echo routine to the firmware and discovery routine to host

the implementation is integrated into the factory function and appears to work on linux
2011-03-03 19:26:32 -08:00
Josh Blum
f938ed7938 Merge branch 'master' into next
Conflicts:
	host/lib/usrp/usrp2/mboard_impl.cpp
	host/lib/usrp/usrp2/usrp2_impl.cpp
2011-03-03 11:18:50 -08:00
Josh Blum
785096ccbb usrp2: only include fw_common when needed, remove virtual send/recv, not exposed 2011-03-02 11:11:02 -08:00
Josh Blum
4357f5d3c0 uhd: replaced instanced of std::exception with the uhd exceptions 2011-02-24 16:35:29 -08:00
Josh Blum
16f08844d7 uhd: renamed the assert header to assert has
only the assert has implementation is in this header

uhd assert throw moved to the exception header

updated code base includes to match
2011-02-24 14:54:24 -08:00
Josh Blum
5b56065290 usrp2: move buffer resize code and add rule for bsd/mac 2011-02-22 15:25:34 -08:00
Josh Blum
4363876773 uhd: moved indexed device addr routines into api
implement in usrp2, also combine non specified args into addr
when initializing the mboard so we can use a single addr
2011-02-21 11:01:05 -08:00
Josh Blum
e558283f9f usrp2: lot of work on dual dsp, grep for TODOs before continuing 2011-02-19 10:30:50 -08:00