Commit graph

115 commits

Author SHA1 Message Date
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
Josh Blum
49485ea1fe usrp2: added indexed regs for rx dsp and ctrl 2011-02-18 01:16:46 -08:00
Josh Blum
c73165bb1d usrp2: added 2nd dsp support to firmware for 2 and N series 2011-02-17 13:58:27 -08:00
Josh Blum
db1fd30da6 uhd: fixed maxosx bug, was resizing the transport buffer
but it cant be resized on macos and I messed up the code that blocked that behavior

reimplemented block in usrp2_impl, seems more correct here
2011-01-26 11:27:25 -08:00
Josh Blum
261bb80d73 uhd: update copyright dates on host code 2011-01-13 16:22:07 -08:00
Josh Blum
771b5cebda uhd: integrated boost split or tokenizer into source files, remove string split from algorithms header 2011-01-06 15:38:56 -08:00
Josh Blum
de45f2234c udp_ports: enable async recv in xport, set performance params in top level, things working 2010-12-22 16:02:09 -08:00
Josh Blum
37365d1c93 udp_ports: host code tweaks, seems to be closer to working 2010-12-17 13:46:31 -08:00
Josh Blum
28194df43e usrp2: brought err0 transports into device and mboard constructors 2010-12-16 00:07:19 -08:00
Josh Blum
fa7d4a2a15 usrp2: pulled some changes from the next branch to make merging easier 2010-12-15 23:58:01 -08:00
Josh Blum
0e693a62a8 usrp2: polished the multi-device addressing scheme and updated docs 2010-12-09 13:17:24 -08:00
Nick Foster
95cf7753c1 Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into flow_ctrl
Conflicts:
	host/lib/transport/udp_simple.cpp
	host/lib/usrp/usrp2/mboard_impl.cpp
	host/lib/usrp/usrp2/usrp2_iface.cpp
	host/lib/usrp/usrp2/usrp2_regs.hpp
2010-11-17 18:31:21 -08:00
Josh Blum
258d9bb45f usrp-n: populated name properties to use the generated cname from iface 2010-11-11 17:57:59 -08:00