aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* usrp2: uart/udp work in host and fw, workingJosh Blum2011-09-281-60/+0
|
* usrp2: made iface deconstructor safe (unlock can throw)Josh Blum2011-08-311-2/+3
|
* usrp2: fix unintended change in last commitJosh Blum2011-07-261-1/+1
|
* uhd: exit task on the catch-all exceptions, and dont print anythingJosh Blum2011-07-251-3/+1
|
* usrp2: workaround for older boost thread sleepJosh Blum2011-07-201-0/+2
|
* usrp2: added fw minor and moved ICMP dest error handling to txrx appJosh Blum2011-07-181-4/+5
|
* uhd: added tasks to simplify thread spawning use casesJosh Blum2011-07-131-31/+13
|
* usrp2: moved impl back into usrp subdirJosh Blum2011-06-291-5/+5
|
* usrp2: init the usrp2_ctrl_data_t to make valgrind happyJosh Blum2011-06-241-6/+6
|
* N210: stop sending 1 char at a time to the GPSDONick Foster2011-06-141-1/+1
|
* usrp2: catch exceptions thrown in locker loop (like the user unplugs device)Josh Blum2011-06-011-4/+12
|
* N210: changes for rev 4 supportNick Foster2011-05-181-0/+4
|
* usrp2: moved register map into #defines, entries for new dsp frontendJosh Blum2011-05-171-3/+2
| | | | also fixes irq rb
* usrp2: device locking, use gpid so the process cant lock itself outJosh Blum2011-05-111-1/+37
|
* usrp2: added the concept of device locking to usrp2/nseries devicesJosh Blum2011-05-011-31/+66
| | | | | | | | | | 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-011-25/+14
| | | | | 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.
* usrp2: improve the compatibility error messagesJosh Blum2011-04-191-6/+3
|
* 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-131-1/+1
|
* usrp2: support fw protos with older compats for various partsJosh Blum2011-04-081-20/+28
| | | | | | | | | | 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
* Merge branch 'mb_iface' into nextJosh Blum2011-03-031-4/+0
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_iface.hpp
* \ Merge branch 'master' into nextJosh Blum2011-03-031-0/+1
|\ \ | |/ |/| | | | | | | 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-021-0/+1
| |
* | uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-241-4/+3
| |
* | uhd: renamed the assert header to assert hasJosh Blum2011-02-241-1/+0
| | | | | | | | | | | | | | | | 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-241-1/+1
|/
* usrp2: initialize _ctrl_seq_num to remove many valgrind warningsJosh Blum2011-02-091-1/+2
|
* next: generalized the GPS interface to any USRP device. just give it a ↵Nick Foster2011-01-171-0/+8
| | | | | | | function to write/read strings to UART. not sure if i'm happy with the interface; maybe inheriting is cleaner. this works though. gps interface for usrp2 is disabled right now in mboard_impl.
* usrp2: implemented get time last ppsJosh Blum2010-12-301-14/+0
| | | | | | | | | renamed the enum for the pps time added calls to single and multi wrappers set time unknown pps now simpler removed peek64 stuff from host + fw please test
* usrp-n: simplify ctrl response error so it cant throw, also increase timeout ↵Josh Blum2010-12-081-2/+4
| | | | while we are at it
* usrp2: cover both rev3 cases for usrp2 revision numbersJosh Blum2010-11-241-2/+6
|
* Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into flow_ctrlNick Foster2010-11-171-6/+93
|\ | | | | | | | | | | | | | | Conflicts: host/lib/transport/udp_simple.cpp host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_iface.cpp host/lib/usrp/usrp2/usrp2_regs.hpp
| * uhd: removed windows warnings, added string formatting in usrp-nJosh Blum2010-11-111-2/+2
| |
| * usrp-n: populated name properties to use the generated cname from ifaceJosh Blum2010-11-111-1/+1
| |
| * usrp2: made enums for the rev types and implemented in codeJosh Blum2010-11-111-9/+33
| |
| * Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2pNick Foster2010-11-111-2/+2
| |\
| | * usrp2: switch the timeout to units of secondsJosh Blum2010-11-111-2/+2
| | |
| * | U2P: Ripped out the mboard_rev_t structure in favor of an enum in ↵Nick Foster2010-11-101-17/+9
| | | | | | | | | | | | | | | | | | usrp2_regs.hpp and some logic. Also change ethernet.c to move generic code to eth_lib.
| * | Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p-nextNick Foster2010-11-101-0/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: firmware/microblaze/lib/u2_init.c host/lib/usrp/usrp2/clock_ctrl.cpp host/lib/usrp/usrp2/fw_common.h host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_iface.cpp host/lib/usrp/usrp2/usrp2_iface.hpp
| | * uhd: renamed enums to reflect new conventionJosh Blum2010-11-101-1/+1
| | |
| * | 2+: moved mboard_rev to usrp2/ in preparation for merging upstreamNick Foster2010-11-101-4/+4
| | |
| * | Moved mboard rev detection to iface.cpp.Nick Foster2010-10-201-2/+7
| | | | | | | | | | | | This fixes the incorrect FPGA compat number readback bug. We were trying to read before the register set had been loaded.
| * | USRP2P: mboard rev works through props interface.Nick Foster2010-10-121-2/+2
| | | | | | | | | | | | | | | | | | Added usrp2_burn_mb_rev.cpp to utils. It is not installed to the utils install dir. Not all happy with the mboard_rev setup -- is_usrp2p() is too specific for a generalized mboard_rev concept. I'm not sure where else to put it so for now it stays.
| * | USRP2P: This is surprisingly involved. Adding a consistent interface to deal ↵Nick Foster2010-10-121-2/+2
| | | | | | | | | | | | with hardware revisions.
| * | Support for NMEA reads. Uses NMEA parsing instead of Jackson Labs parsing.Nick Foster2010-08-131-8/+21
| | | | | | | | | | | | No multibaud support yet. read/write_uart() now do multiple-packet writes in multiples of 20 bytes (hardcoded).
| * | GPS interface works for Jackson Labs devices.Nick Foster2010-08-131-2/+1
| | |
| * | Host-side fixes for GPS UART.Nick Foster2010-08-121-5/+5
| | |
| * | Added host-side support for UART messaging.Nick Foster2010-08-121-0/+42
| | | | | | | | | | | | Have not yet added GPS control library. Debug crap in mboard_impl.cpp constructor.
| * | Merge branch 'master' into usrp2pNick Foster2010-08-101-7/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was the merge from hell Conflicts: firmware/microblaze/Makefile.am firmware/microblaze/bootstrap firmware/microblaze/configure.ac firmware/microblaze/lib/Makefile.inc host/lib/CMakeLists.txt host/lib/usrp/mimo_usrp.cpp host/lib/usrp/simple_usrp.cpp host/lib/usrp/usrp2/clock_ctrl.cpp host/lib/usrp/usrp2/codec_impl.cpp host/lib/usrp/usrp2/dboard_impl.cpp host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_iface.hpp host/lib/usrp/usrp2/usrp2_impl.hpp host/lib/usrp/usrp2/usrp2_regs.hpp host/test/CMakeLists.txt
| * | | ADC SPI works. ADC gain interface "works".Nick Foster2010-07-281-1/+1
| | | |