aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
Commit message (Collapse)AuthorAgeFilesLines
* converted timespec to use nanoseconds for fractional partJosh Blum2010-04-083-10/+10
|
* Reworked the spi part of the dboard interface.Josh Blum2010-04-072-41/+61
| | | | | | It turns out to be more complicated. The integer type is better for holding the bits. The edges can be different, so the spi config hold 2 edge setting for mosi and miso.
* GPIO tested working on usrp.Josh Blum2010-04-052-22/+25
| | | | | Write gpio regs in 32 bit chunks. ATR regs rx side is high address.
* handle tx fragment eob flag caseJosh Blum2010-04-051-1/+7
|
* simplified the usage of dboard, dsp, and mboard proxies.Josh Blum2010-04-056-25/+33
| | | | removed the dict structure for each, we are just going to have one.
* paradigm shift for the dsp abstractionJosh Blum2010-04-052-187/+125
|
* added 16 bit peek and poke, 16 bit register defs for gpios and atrsJosh Blum2010-04-058-72/+89
|
* extended stream cmd with mode enum, and extended fragment flags in metadataJosh Blum2010-04-034-8/+33
|
* windows fix, forgot boost namespace for stdintJosh Blum2010-04-011-1/+1
|
* moved props into usrp and multiple hpp filesJosh Blum2010-04-015-2/+9
|
* use defined constants for the register addressesJosh Blum2010-04-015-107/+67
|
* added spi slaves to regs, use std copy for buffsJosh Blum2010-03-312-16/+22
|
* Moved dsp (rx and tx), time config, and clock config (mostly) into the host.Josh Blum2010-03-316-143/+231
|
* Refactor ATR part of dboard interface (and some constants).Josh Blum2010-03-315-150/+187
| | | | | | 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.
* removed masks for ddr and gpio write in dboard interfaceJosh Blum2010-03-301-6/+6
|
* use find to discover devicesJosh Blum2010-03-301-4/+3
|
* Added io type and otw type for describing types.Josh Blum2010-03-302-37/+35
|
* Added utility methods to device addr and mac addr to make them more usable.Josh Blum2010-03-291-3/+3
|
* use bb_rate and if_rate to handle dxc io ratesJosh Blum2010-03-291-4/+14
|
* refactored types.hpp into types directoryJosh Blum2010-03-274-9/+11
|
* Split utils.hpp into subdir with multiple files.Josh Blum2010-03-275-6/+7
| | | | | | | 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
|
* Merge branch 'addrs' of git@ettus.sourcerepo.com:ettus/uhd into timingJosh Blum2010-03-262-2/+20
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_impl.hpp
| * added interface address discoveryJosh Blum2010-03-262-2/+19
| |
* | Overhaullllllled the way we do streaming. There is an odd bug whereJosh Blum2010-03-255-87/+66
| | | | | | | | | | | | | | | | | | a zero length command (now, no chain) used to stop the streaming. Now it seems to do the reverse... must investigate. Made all clock configuration into enums. The strings were painful and there cant be that many variations that enums cant cover them. The enums will make more sense to developers than mystery strings.
* | mess with that usrp2 io loop unroll, also py app gets installed executableJosh Blum2010-03-241-22/+23
|/
* merged usrp2 stuff from u1e branch (without merging the u1e stuff)Josh Blum2010-03-222-3/+3
|
* Moved typedefs from props.hpp into new file types.hpp.Josh Blum2010-03-212-51/+34
| | | | | | | Created structs to replace range tuples, and clock config struct. Merged clock config props into one property using config struct. Added templated dict construction to use the assign::map_list_of. Added gcc flag to set visibility to hidden and use the api macro.
* added install path for dll, fixed idiotic msvc error where making a vector ↵Josh Blum2010-03-195-31/+32
| | | | 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
* define namespace hack when in c compilingJosh Blum2010-03-181-0/+1
|
* got uhd almost compiling in windowze. figured out special flags. also had to ↵Josh Blum2010-03-176-109/+121
| | | | use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
* changes to get tuning workingJosh Blum2010-03-161-1/+1
|
* Added ability to set the subdevices in use for rx and tx dboards.Josh Blum2010-03-165-79/+124
| | | | | 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 Blum2010-03-154-28/+28
| | | | 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.
* handle getting and setting mac and ip addr from the hostJosh Blum2010-03-121-2/+67
|
* Added simple device to handle wrapping general properties up into simple api.Josh Blum2010-03-105-19/+55
| | | | | Added setting time capability to the usrp2 impl. Messing with props and time specs...
* Moved timeouts into the udp transports.Josh Blum2010-03-043-37/+25
| | | | | | 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 Blum2010-03-031-7/+16
| | | | Seems to work now!
* Split metadata into rx and tx specific metadata.Josh Blum2010-03-032-10/+16
| | | | | | 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 logicJosh Blum2010-03-031-3/+4
|
* Making use of vrt lib in the usrp2 io_impl.Josh Blum2010-03-034-77/+61
| | | | Added a packet size param to the vrt pack and unpack.
* Expanded the UDP api:Josh Blum2010-03-023-138/+106
| | | | | | | | 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 Blum2010-03-023-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 Blum2010-03-016-83/+128
| | | | | | 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 Blum2010-03-014-29/+73
|
* fix for io typesJosh Blum2010-02-261-6/+6
|
* 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
|
* vrt packet count fixJosh Blum2010-02-231-1/+1
|