Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added ability to set the subdevices in use for rx and tx dboards. | Josh Blum | 2010-03-16 | 8 | -86/+130 |
| | | | | | This is used to calculate and set the ddc and duc muxes. Also, minor fix for burning addrs (wrong pointer....) | ||||
* | Replaced uses of wax:cast with the templated as method (like in boost ↵ | Josh Blum | 2010-03-15 | 13 | -113/+99 |
| | | | | program options). | ||||
* | Ability to burn mac addr and ip addr to usrp2 (over ip/udp for now). | Josh Blum | 2010-03-15 | 3 | -4/+98 |
| | | | | Added firmware support and usrp2 burner host app. | ||||
* | Device sub classes can register themselves. Simplifies device.cpp internals. | Josh Blum | 2010-03-15 | 8 | -79/+117 |
| | | | | Added static instance macro for lazy instantiation of static variables. | ||||
* | handle getting and setting mac and ip addr from the host | Josh Blum | 2010-03-12 | 1 | -2/+67 |
| | |||||
* | Removed freq min and max and gain min, max, and step... | Josh Blum | 2010-03-12 | 9 | -206/+131 |
| | | | | | replaced it with gain and freq range tuples. This simplifies the api calls and subdev properties. | ||||
* | Cleaned up the gain handler (thing that gets and sets wildcard gains) | Josh Blum | 2010-03-11 | 8 | -198/+271 |
| | | | | | | and made use of it in the dboard manager so it intercepts the sets and gets. While doing this, fixed something with nested links in wax obj. Added some useful macros and templates to the utils. | ||||
* | Filled in dboard code for basics and lf type boards. | Josh Blum | 2010-03-10 | 11 | -142/+307 |
| | | | | | | The dboard is now just a uint16 (dont bother with the enums). The dboard manager now registers subdevs with a name. The basic board code uses a static block to register itself. | ||||
* | Added simple device to handle wrapping general properties up into simple api. | Josh Blum | 2010-03-10 | 14 | -96/+581 |
| | | | | | Added setting time capability to the usrp2 impl. Messing with props and time specs... | ||||
* | Moved timeouts into the udp transports. | Josh Blum | 2010-03-04 | 8 | -45/+104 |
| | | | | | | Simplified the fast path checking in the fw, but it turns out this was not the issue. Fixed some bad bit operations with the 16sc words (dont forget sign extension). Added some more documentation to the headers.... | ||||
* | Some tweaks and changes to io impl that fix segfaults. | Josh Blum | 2010-03-03 | 1 | -7/+16 |
| | | | | Seems to work now! | ||||
* | Split metadata into rx and tx specific metadata. | Josh Blum | 2010-03-03 | 9 | -44/+114 |
| | | | | | | The rx metadata has fragment flags and the tx metatdata has burst flags. Made the io impl for usrp2 rx routine fill in the rx metatdata fragment flag. Added device documentation for send and recv in regards to fragmentation. | ||||
* | memcpy size fix, change to some send logic | Josh Blum | 2010-03-03 | 1 | -3/+4 |
| | |||||
* | Making use of vrt lib in the usrp2 io_impl. | Josh Blum | 2010-03-03 | 8 | -80/+76 |
| | | | | Added a packet size param to the vrt pack and unpack. | ||||
* | Added a vrt library to pack and unpack from metadata. | Josh Blum | 2010-03-02 | 6 | -0/+270 |
| | | | | Added a vrt test app that packs and unpacks the data. | ||||
* | Expanded the UDP api: | Josh Blum | 2010-03-02 | 12 | -260/+523 |
| | | | | | | | | We can make simple udp transports for discovery and control. We can support a udp zero copy transport (currently just asio). Reworked the io_impl for usrp2 to work with the zero copy api. So far, all of this untested other than compiling. A cut-down vrt library is in the works to simplify the io impl. | ||||
* | The net common is too slow in usrp2 firmware to figure out if its vrt data. | Josh Blum | 2010-03-02 | 3 | -12/+13 |
| | | | | | Added a custom function to tell if a packet is vrt data, seems to be feeding fast enough at this rate... Fixed some buffer size calculation logic. | ||||
* | Send the number of samples per datagram over the control. | Josh Blum | 2010-03-01 | 8 | -85/+136 |
| | | | | | | Worked on the io impl for usrp2 (added loop unrolls and 32 bit buffers). Added some vrt rx constants to the fw common used by host and fw. Removed the MTU prop and added a general device prop for num samples. | ||||
* | Recv noise with uhd. | Josh Blum | 2010-03-01 | 7 | -38/+79 |
| | |||||
* | fix for io types | Josh Blum | 2010-02-26 | 1 | -6/+6 |
| | |||||
* | removed empty uhd.hpp and cpp files | Josh Blum | 2010-02-26 | 5 | -51/+1 |
| | |||||
* | Created empty usrp1e cpp file for the case when headers are not found. | Josh Blum | 2010-02-25 | 11 | -35/+204 |
| | | | | | Worked on the device make and discovery to fix certain problems. Added node param to discover usrps for usrp1e, made addr optional. | ||||
* | use a single addr param for the usrp2 | Josh Blum | 2010-02-25 | 3 | -15/+10 |
| | |||||
* | vrt packet count fix | Josh Blum | 2010-02-23 | 1 | -1/+1 |
| | |||||
* | Put fast path code (rx setup) back into txrx.c. | Josh Blum | 2010-02-23 | 1 | -19/+0 |
| | | | | Store the fast path addrs in the udp data handler. | ||||
* | Added IF data io handing within the usrp2 impl. | Josh Blum | 2010-02-23 | 11 | -190/+299 |
| | | | | | It packs and unpacks vrt headers/metadata. NOT YET TESTED IN ANY WAY... | ||||
* | Work on the io interface for a device (and some implementation work in usrp2). | Josh Blum | 2010-02-22 | 8 | -21/+184 |
| | | | | | Modified the udp transport to reflect some of these changes. Got the fw compiling again, and it will not set data to true for small payloads (configuration ones). | ||||
* | added set nice gpio pins to manager on init and deconstruct | Josh Blum | 2010-02-22 | 1 | -9/+18 |
| | |||||
* | Moved the udp implementation guts into the cpp file | Josh Blum | 2010-02-22 | 3 | -39/+61 |
| | |||||
* | Made implementation class for the dboard manager. | Josh Blum | 2010-02-22 | 4 | -32/+69 |
| | |||||
* | Made the usrp2 impl into a device. | Josh Blum | 2010-02-21 | 12 | -368/+148 |
| | | | | | Removed the usrp device wrapper and usrp2 cpp file outside of the usrp2 lib dir. Also removed the mboard base files since we wont be needing them. | ||||
* | Moved lib and include contents of dboard and mboard one directory up and ↵ | Josh Blum | 2010-02-21 | 29 | -253/+207 |
| | | | | | | prefixed them with dboard_ and mboard_. And yes, the code is compiling. | ||||
* | DDC enable with stream at control OTW | Josh Blum | 2010-02-19 | 4 | -17/+46 |
| | |||||
* | DUC and DDC control packets OTW | Josh Blum | 2010-02-19 | 7 | -49/+114 |
| | |||||
* | added support for the duc (no control yet though) | Josh Blum | 2010-02-18 | 3 | -8/+142 |
| | |||||
* | Added special case for empty dboard slot (none id 0xffff) | Josh Blum | 2010-02-18 | 6 | -37/+82 |
| | | | | | | Added error handling in the dboard base classes for mishandling the none id. Added better to string function for the dboard ids. Added get methods for dboard classes to get their ids. | ||||
* | Flattened the usrp2 impl properties guts. | Josh Blum | 2010-02-18 | 11 | -266/+462 |
| | | | | | Created init methods for various sub-parts. Added the ddc control (still needs update transaction). | ||||
* | Added control for usrp2 aux dac and adc control. | Josh Blum | 2010-02-17 | 4 | -4/+67 |
| | |||||
* | Added i2c control transactions in fw and host | Josh Blum | 2010-02-17 | 4 | -9/+68 |
| | |||||
* | Worked out spi api for the dboard interface. | Josh Blum | 2010-02-17 | 14 | -366/+192 |
| | | | | Created usrp2 spi transaction control on host and fw | ||||
* | moved host code into host directory for clean (unambiguous) top level | Josh Blum | 2010-02-17 | 66 | -0/+4764 |