aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* usrp2: add a timeout to udp control and make it large for usrp2 control ↵Josh Blum2010-07-191-1/+4
| | | | transactions
* usrp2: added notes on multiple device network setup, improved warnings for ↵Josh Blum2010-07-081-2/+13
| | | | buff size stuff
* usrp2: moved common defined for udp mtu and implemented change.Josh Blum2010-07-071-2/+2
| | | | | | The uhp mtu is now defined in uhd_simple.hpp. The fw common code does not need to know this information. Fixed a calculation bug in the usrp2 impl code for max samples.
* uhd: filling in mimo usrp implementation, renamed get_name to get_pp_string ↵Josh Blum2010-07-051-1/+2
| | | | for simple and mimo usrp
* usrp2: removed usrp2.hpp header, its not needed, just use the ↵Josh Blum2010-07-051-11/+11
| | | | | | discovery/factory system uhd: added usrp_mimo skeleton code/header
* usrp2: moved calculations for max packet size and otw types into shared ↵Josh Blum2010-07-051-1/+1
| | | | object between device and mboards
* usrp2: split mboard impl into its own class, usrp2 device can instantiate N ↵Josh Blum2010-07-051-53/+49
| | | | mboard impls for mimo setup (works with 1 for now)
* usrp2: enlarged the i2c transaction size, rev-ed the firmware protocol ↵Josh Blum2010-06-171-2/+2
| | | | number, added constants for packet sizes
* usrp2: added a type to the address args to filter based on type usrp2Josh Blum2010-06-151-1/+4
|
* Prepend usrp2 onto the helper classes in usrp2 impl to avoid symbol conflicts.Josh Blum2010-06-041-3/+3
|
* recv discovery packets with max size buffer (we dont know what to expect)Josh Blum2010-06-041-4/+5
|
* use smart pointer for io impl, simplify send buffer callbackJosh Blum2010-06-021-2/+1
|
* Implemented pirate thread, moved io impl details into io impl cpp file. ↵Josh Blum2010-06-011-1/+2
| | | | Fixed bug in bounded buffer push with pop on full.
* Added tx timed samples example.Josh Blum2010-05-181-8/+0
| | | | | Added called to device to get max samples per packet. Removed device props that gave max samples per packet.
* calculate max samples per packet using otw typeJosh Blum2010-05-171-2/+2
|
* Moved usrp2 eeprom addr read/write to host control over i2c/eeprom interface ↵Josh Blum2010-05-111-2/+2
| | | | | | | | | | calls. No longer part of the dude/bro protocol. Simplified the mac and ip addr read write code in mboard impl. Modified the mac addr type to take byte_vector_t from serial.hpp types.
* Added a place for serdes control on the host.Josh Blum2010-05-101-0/+1
| | | | | Fix bug in codec control. Comment out some clock control in fw code.
* Moved adc and dac control into codec control source file.Josh Blum2010-05-101-0/+2
| | | | The codec control powers down the chips on destruction.
* made buffer size args part of constructorJosh Blum2010-04-301-20/+12
|
* setting size of buffers from device argsJosh Blum2010-04-271-7/+7
|
* work on controlling the socket buffer sizes from the front end apiJosh Blum2010-04-271-0/+21
|
* Renamed the prop set/get error macros so they make sense for not-implemented ↵Josh Blum2010-04-261-2/+2
| | | | properties.
* prefixed the ASSERT_THROW macro with UHD for the sake of namespaceJosh Blum2010-04-261-1/+1
|
* Work on exceptions.Josh Blum2010-04-251-1/+2
| | | | | Added props exception macro to make the set/get prop switch statements easier. Made use of boost throw exception macro for throw-site information in throw assert.
* Added protocol version number to usrp2 common header and data struct.Josh Blum2010-04-211-0/+1
|
* Created a usrp2 interface class with the control, spi, peek/poke functionality.Josh Blum2010-04-131-105/+5
| | | | Its used in all the implementation level code
* moved spi transact to usrp2 impl, and removed spi readJosh Blum2010-04-121-1/+31
|
* simplified the usage of dboard, dsp, and mboard proxies.Josh Blum2010-04-051-3/+3
| | | | removed the dict structure for each, we are just going to have one.
* added 16 bit peek and poke, 16 bit register defs for gpios and atrsJosh Blum2010-04-051-6/+25
|
* moved props into usrp and multiple hpp filesJosh Blum2010-04-011-0/+1
|
* Refactor ATR part of dboard interface (and some constants).Josh Blum2010-03-311-0/+24
| | | | | | Added peek and poke to the dude/bro protocol. Started moving more control code through peek and poke. Added usrp_regs.hpp to be like memory map for slave perifs.
* use find to discover devicesJosh Blum2010-03-301-4/+3
|
* Split utils.hpp into subdir with multiple files.Josh Blum2010-03-271-2/+3
| | | | | | | static for static block and static instance (singleton) assert for assertion and throwing related stuff algorithm for my addons to std::algorithm (has) and a new one, safe main, for having a main catch-all
* get interface addresses on windowsJosh Blum2010-03-261-0/+3
|
* added interface address discoveryJosh Blum2010-03-261-2/+18
|
* merged usrp2 stuff from u1e branch (without merging the u1e stuff)Josh Blum2010-03-221-1/+3
|
* added install path for dll, fixed idiotic msvc error where making a vector ↵Josh Blum2010-03-191-1/+1
| | | | with proxies crashes the app, seems to be ok with the sptr fix, in other good news, discover usrps works in my vm for the usrp2
* Replaced uses of wax:cast with the templated as method (like in boost ↵Josh Blum2010-03-151-1/+1
| | | | program options).
* Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-151-1/+4
| | | | Added static instance macro for lazy instantiation of static variables.
* Moved timeouts into the udp transports.Josh Blum2010-03-041-26/+13
| | | | | | 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....
* Making use of vrt lib in the usrp2 io_impl.Josh Blum2010-03-031-2/+2
| | | | Added a packet size param to the vrt pack and unpack.
* Expanded the UDP api:Josh Blum2010-03-021-7/+11
| | | | | | | | 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.
* Send the number of samples per datagram over the control.Josh Blum2010-03-011-3/+12
| | | | | | 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.
* Created empty usrp1e cpp file for the case when headers are not found.Josh Blum2010-02-251-1/+2
| | | | | 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 usrp2Josh Blum2010-02-251-2/+2
|
* Added IF data io handing within the usrp2 impl.Josh Blum2010-02-231-82/+13
| | | | | 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 Blum2010-02-221-4/+70
| | | | | 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).
* Moved the udp implementation guts into the cpp fileJosh Blum2010-02-221-18/+16
|
* Made implementation class for the dboard manager.Josh Blum2010-02-221-2/+2
|
* Made the usrp2 impl into a device.Josh Blum2010-02-211-0/+113
| | | | | 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.