aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
Commit message (Collapse)AuthorAgeFilesLines
* usrp2: added the concept of device locking to usrp2/nseries devicesJosh Blum2011-05-016-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 registersJosh Blum2011-05-012-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 nextJosh Blum2011-04-306-21/+75
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_regs.cpp
| * usrp2: allow devices to be discovered when usrp2_iface::make throwsJosh Blum2011-04-291-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 EEPROMJosh Blum2011-04-291-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 Foster2011-04-291-2/+0
| |
| * USRP2: enable GPS by defaultNick Foster2011-04-291-3/+3
| |
| * USRP2: Added GPS time support to the sensors interface. gps_time sensor ↵Nick Foster2011-04-291-1/+5
| | | | | | | | returns epoch time as time_t. Untested.
| * N210: implemented mboard sensors for ref lock and MIMO lockNick Foster2011-04-294-1/+28
| |
| * usrp: support for grand daughter board eepromJosh Blum2011-04-262-2/+14
| |
| * uhd: move thread loop condition flag to before barrier (prevents race condition)Josh Blum2011-04-221-1/+1
| |
* | Merge branch 'master' into nextJosh Blum2011-04-197-52/+97
|\| | | | | | | | | Conflicts: fpga/usrp2/top/u2plus/Makefile.N200
| * usrp2: improve the compatibility error messagesJosh Blum2011-04-192-8/+7
| |
| * usrp2: use the firmware's discovered compat numberJosh Blum2011-04-131-4/+16
| |
| * usrp2: add check for holler protocol, we can support backwardsJosh Blum2011-04-132-15/+29
| |
| * usrp2: support fw protos with older compats for various partsJosh Blum2011-04-082-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 threadsJosh Blum2011-03-311-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 scriptJosh Blum2011-03-233-3/+3
| |
| * usrp2: use the discovered mtu to clip the user specified mtuJosh Blum2011-03-211-8/+11
| |
* | usrp2: increment fpga and fw compat numbersJosh Blum2011-03-171-2/+2
| |
* | usrp2: use new and common slave base map for usrp2/n210Josh Blum2011-03-161-96/+90
| |
* | usrp2: moved sregs in host code, simplfy reg struct a littleJosh Blum2011-03-152-87/+80
|/
* usrp2: fixed mtu discovery bug, was using the last failed valueJosh Blum2011-03-141-15/+11
|
* usrp2: minor fix to use more ntohlJosh Blum2011-03-141-2/+3
|
* usrp2: clip the mtu discovery if its within default MTU + a fewJosh Blum2011-03-131-0/+6
|
* usrp2: also store expected_time in-between statesJosh Blum2011-03-111-4/+5
|
* usrp2: bump up timeout on mtu discovery (seen to be a bit too small on ↵Josh Blum2011-03-111-1/+1
| | | | windows vbox)
* usrp2: created safe call macro and handle usrp2 ~mboard throwingJosh Blum2011-03-101-2/+11
|
* usrp2: save alignment indexes between state to fix the lost packet problemJosh Blum2011-03-091-14/+24
|
* usrp2: comments for buffer size settingJosh Blum2011-03-081-1/+4
|
* usrp2: tweak the mtu discovery logicJosh Blum2011-03-041-6/+6
|
* usrp2: work on mtu discoveryJosh Blum2011-03-033-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 Blum2011-03-031-0/+3
| | | | also fixed some warnings with unused parameters
* Merge branch 'mb_iface' into nextJosh Blum2011-03-035-73/+15
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_iface.hpp
| * Generalized mboard_iface and added a SPI convenience class a la I2CNick Foster2011-03-033-13/+13
| |
| * Generalized the mboard_iface into mboard_iface.hpp and made each of the USRP ↵Nick Foster2011-03-011-56/+2
| | | | | | | | devices inherit from it.
| * usrp2: minor optimization, only disable interruption when we need to wait()Josh Blum2011-03-011-1/+1
| |
* | Merge branch 'master' into nextJosh Blum2011-03-036-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 exposedJosh Blum2011-03-025-8/+4
| |
| * usrp2: minor optimization, only disable interruption when we need to wait()Josh Blum2011-02-281-1/+1
| |
* | uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-245-13/+14
| |
* | uhd: renamed the assert header to assert hasJosh Blum2011-02-247-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 includeJosh Blum2011-02-243-3/+3
| |
* | Merge branch 'usrp2_dual_dsp' into nextJosh Blum2011-02-248-387/+379
|\ \ | |/ |/| | | | | Conflicts: host/include/uhd/usrp/mboard_props.hpp
| * usrp2: move buffer resize code and add rule for bsd/macJosh Blum2011-02-222-14/+16
| |
| * usrp2: fixed flow control monitors indexing, fixed multi-usrp send bugJosh Blum2011-02-221-3/+5
| |
| * usrp2: div->ldiv fix for overloaded types w/ msvcJosh Blum2011-02-221-1/+1
| |
| * usrp2: 2nd dsp working, tweaks regs map and other bugsJosh Blum2011-02-214-18/+23
| |
| * uhd: moved indexed device addr routines into apiJosh Blum2011-02-213-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 dspJosh Blum2011-02-204-47/+53
| |