aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
Commit message (Collapse)AuthorAgeFilesLines
* usrp2: moved register map into #defines, entries for new dsp frontendJosh Blum2011-05-179-389/+174
| | | | also fixes irq rb
* usrp2: device locking, use gpid so the process cant lock itself outJosh Blum2011-05-111-1/+37
|
* Merge branch 'master' into nextJosh Blum2011-05-114-23/+22
|\
| * uhd: various tweaks to log and msg, replaced a few remaining stdioJosh Blum2011-05-042-1/+2
| |
| * uhd: removed more iostream stuff from usrp* implementationsJosh Blum2011-05-044-22/+21
| |
| * uhd: replaced warning post with calls to UHD_MSG(warning)Josh Blum2011-05-041-1/+0
| | | | | | | | | | The message api can support warnings, error, and status messages. The default handler is to stdio, but the user can change this.
* | Merge branch 'master' into nextJosh Blum2011-05-032-26/+35
|\|
| * usrp2: added REF_MIMO and PPS_MIMO for USRP2 clock configJosh Blum2011-05-031-15/+23
| | | | | | | | | | | | | | | | | | Basically, one can tell a MIMO master to lock to MIMO ref and/or time. This is an alternative to the mimo_mode=slave/master device args. When using this alternative, one should always set the mimo_mode to maser. When in master mode, any clock config settings can be used. When in slave mode, the clock config setting are forced to MIMO_REF/PPS
| * usrp2: use default mtu as upper limit unless user specifiesJosh Blum2011-04-301-11/+12
| |
* | 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
| |