Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | usrp2: added the concept of device locking to usrp2/nseries devices | Josh Blum | 2011-05-01 | 6 | -36/+82 |
| | | | | | | | | | | 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. | ||||
* | usrp2: combined peek and poke commands and added virtual firmware registers | Josh Blum | 2011-05-01 | 2 | -33/+27 |
| | | | | | It would be nice to have persistent registers in the device to do things like device locking. Rather than invent a new communication type, we just repurposed the register manipulation. | ||||
* | Merge branch 'master' into next | Josh Blum | 2011-04-30 | 6 | -21/+75 |
|\ | | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_regs.cpp | ||||
| * | usrp2: allow devices to be discovered when usrp2_iface::make throws | Josh Blum | 2011-04-29 | 1 | -12/+16 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | usrp2: added support for GPSDO configuration bits in EEPROM | Josh Blum | 2011-04-29 | 1 | -5/+15 |
| | | | | | | | | | | | | | | Added instructions to install and burn eeprom to documentation. Made gps_ctrl and gps_time sensor optional. Added sensors for motherboard to documentation | ||||
| * | GPS parser fixes for get_time. | Nick Foster | 2011-04-29 | 1 | -2/+0 |
| | | |||||
| * | USRP2: enable GPS by default | Nick Foster | 2011-04-29 | 1 | -3/+3 |
| | | |||||
| * | USRP2: Added GPS time support to the sensors interface. gps_time sensor ↵ | Nick Foster | 2011-04-29 | 1 | -1/+5 |
| | | | | | | | | returns epoch time as time_t. Untested. | ||||
| * | N210: implemented mboard sensors for ref lock and MIMO lock | Nick Foster | 2011-04-29 | 4 | -1/+28 |
| | | |||||
| * | usrp: support for grand daughter board eeprom | Josh Blum | 2011-04-26 | 2 | -2/+14 |
| | | |||||
| * | uhd: move thread loop condition flag to before barrier (prevents race condition) | Josh Blum | 2011-04-22 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into next | Josh Blum | 2011-04-19 | 7 | -52/+97 |
|\| | | | | | | | | | Conflicts: fpga/usrp2/top/u2plus/Makefile.N200 | ||||
| * | usrp2: improve the compatibility error messages | Josh Blum | 2011-04-19 | 2 | -8/+7 |
| | | |||||
| * | usrp2: use the firmware's discovered compat number | Josh Blum | 2011-04-13 | 1 | -4/+16 |
| | | |||||
| * | usrp2: add check for holler protocol, we can support backwards | Josh Blum | 2011-04-13 | 2 | -15/+29 |
| | | |||||
| * | usrp2: support fw protos with older compats for various parts | Josh Blum | 2011-04-08 | 2 | -20/+38 |
| | | | | | | | | | | | | | | | | | | | | i2c, spi, and uart are long time no changing registers changed recently (think re-map) also, perform the fpga compat check in the make now we can find devices with out of date images | ||||
| * | uhd: implemented boost barriers on all code that creates threads | Josh Blum | 2011-03-31 | 1 | -13/+12 |
| | | | | | | | | | | | | | | | | | | The barrier ensures that the thread must spawn before the caller exits. Some of the code already used a mutex to accomplish this, however cygwin chokes when a mutex is locked twice by the same thread. Mutex implementations were replaced with the barrier implementation. Also the barrier implementation is far cleaner. | ||||
| * | uhd: update copyright headers with automated script | Josh Blum | 2011-03-23 | 3 | -3/+3 |
| | | |||||
| * | usrp2: use the discovered mtu to clip the user specified mtu | Josh Blum | 2011-03-21 | 1 | -8/+11 |
| | | |||||
* | | usrp2: increment fpga and fw compat numbers | Josh Blum | 2011-03-17 | 1 | -2/+2 |
| | | |||||
* | | usrp2: use new and common slave base map for usrp2/n210 | Josh Blum | 2011-03-16 | 1 | -96/+90 |
| | | |||||
* | | usrp2: moved sregs in host code, simplfy reg struct a little | Josh Blum | 2011-03-15 | 2 | -87/+80 |
|/ | |||||
* | usrp2: fixed mtu discovery bug, was using the last failed value | Josh Blum | 2011-03-14 | 1 | -15/+11 |
| | |||||
* | usrp2: minor fix to use more ntohl | Josh Blum | 2011-03-14 | 1 | -2/+3 |
| | |||||
* | usrp2: clip the mtu discovery if its within default MTU + a few | Josh Blum | 2011-03-13 | 1 | -0/+6 |
| | |||||
* | usrp2: also store expected_time in-between states | Josh Blum | 2011-03-11 | 1 | -4/+5 |
| | |||||
* | usrp2: bump up timeout on mtu discovery (seen to be a bit too small on ↵ | Josh Blum | 2011-03-11 | 1 | -1/+1 |
| | | | | windows vbox) | ||||
* | usrp2: created safe call macro and handle usrp2 ~mboard throwing | Josh Blum | 2011-03-10 | 1 | -2/+11 |
| | |||||
* | usrp2: save alignment indexes between state to fix the lost packet problem | Josh Blum | 2011-03-09 | 1 | -14/+24 |
| | |||||
* | usrp2: comments for buffer size setting | Josh Blum | 2011-03-08 | 1 | -1/+4 |
| | |||||
* | usrp2: tweak the mtu discovery logic | Josh Blum | 2011-03-04 | 1 | -6/+6 |
| | |||||
* | usrp2: work on mtu discovery | Josh Blum | 2011-03-03 | 3 | -15/+95 |
| | | | | | | 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 | ||||
* | uhd: removed mb_eeprom from mboard iface (already exposed in property) | Josh Blum | 2011-03-03 | 1 | -0/+3 |
| | | | | also fixed some warnings with unused parameters | ||||
* | Merge branch 'mb_iface' into next | Josh Blum | 2011-03-03 | 5 | -73/+15 |
|\ | | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_iface.hpp | ||||
| * | Generalized mboard_iface and added a SPI convenience class a la I2C | Nick Foster | 2011-03-03 | 3 | -13/+13 |
| | | |||||
| * | Generalized the mboard_iface into mboard_iface.hpp and made each of the USRP ↵ | Nick Foster | 2011-03-01 | 1 | -56/+2 |
| | | | | | | | | devices inherit from it. | ||||
| * | usrp2: minor optimization, only disable interruption when we need to wait() | Josh Blum | 2011-03-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into next | Josh Blum | 2011-03-03 | 6 | -9/+5 |
|\ \ | |/ |/| | | | | | | | Conflicts: host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_impl.cpp | ||||
| * | usrp2: only include fw_common when needed, remove virtual send/recv, not exposed | Josh Blum | 2011-03-02 | 5 | -8/+4 |
| | | |||||
| * | usrp2: minor optimization, only disable interruption when we need to wait() | Josh Blum | 2011-02-28 | 1 | -1/+1 |
| | | |||||
* | | uhd: replaced instanced of std::exception with the uhd exceptions | Josh Blum | 2011-02-24 | 5 | -13/+14 |
| | | |||||
* | | uhd: renamed the assert header to assert has | Josh Blum | 2011-02-24 | 7 | -8/+7 |
| | | | | | | | | | | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match | ||||
* | | uhd: moved exception to top level include | Josh Blum | 2011-02-24 | 3 | -3/+3 |
| | | |||||
* | | Merge branch 'usrp2_dual_dsp' into next | Josh Blum | 2011-02-24 | 8 | -387/+379 |
|\ \ | |/ |/| | | | | | Conflicts: host/include/uhd/usrp/mboard_props.hpp | ||||
| * | usrp2: move buffer resize code and add rule for bsd/mac | Josh Blum | 2011-02-22 | 2 | -14/+16 |
| | | |||||
| * | usrp2: fixed flow control monitors indexing, fixed multi-usrp send bug | Josh Blum | 2011-02-22 | 1 | -3/+5 |
| | | |||||
| * | usrp2: div->ldiv fix for overloaded types w/ msvc | Josh Blum | 2011-02-22 | 1 | -1/+1 |
| | | |||||
| * | usrp2: 2nd dsp working, tweaks regs map and other bugs | Josh Blum | 2011-02-21 | 4 | -18/+23 |
| | | |||||
| * | uhd: moved indexed device addr routines into api | Josh Blum | 2011-02-21 | 3 | -66/+15 |
| | | | | | | | | | | implement in usrp2, also combine non specified args into addr when initializing the mboard so we can use a single addr | ||||
| * | usrp2: code working again in a completed form but did not test dual dsp | Josh Blum | 2011-02-20 | 4 | -47/+53 |
| | |