Commit graph

26 commits

Author SHA1 Message Date
Ben Hilburn
9e47ad607b Squashed merge of Coverity fixes. 2013-11-27 12:11:23 -08:00
Josh Blum
0aeac60394 uhd: allow for 16 bit i2c and eeprom addrs 2013-07-24 17:46:04 -07:00
Nicholas Corgan
011f63d19d lib/cmake: CPack source work
* Removed all host code dependencies on firmware headers
* Put in CMake settings for CPack source
2012-11-16 15:54:09 -08:00
Josh Blum
7613f8ce36 usrp1: implemented properties interface on usrp1 2011-07-01 11:33:03 -07:00
Josh Blum
be74968870 usrp1: moved fx2 control into its own directory 2011-06-14 15:32:11 -07:00
Josh Blum
c9bf4798cc usrp1: overload read_eeprom to handle multi-byte reads 2011-05-05 14:58:18 -07:00
Josh Blum
5092a25ad0 usrp1: added more logging to usrp1 iface for debugging 2011-05-05 11:14:29 -07:00
Josh Blum
09be0518ce uhd: removed more iostream stuff from usrp* implementations 2011-05-04 19:53:01 -07:00
Josh Blum
1d29ee1086 usrp1: switch usrp1 iface to use spi read (transact never worked)
It detects the number of header bytes by searching for non-zero bytes.
2011-03-30 16:48:09 -07:00
Josh Blum
95b966a599 uhd: update copyright headers with automated script 2011-03-23 18:48:30 -07:00
Josh Blum
0336db128e usrp1: also replaced control error prints w/ throws 2011-03-10 14:35:29 -08:00
Josh Blum
d2556f45c9 uhd: removed mb_eeprom from mboard iface (already exposed in property)
also fixed some warnings with unused parameters
2011-03-03 16:39:16 -08:00
Nick Foster
1b63cd2560 Generalized mboard_iface and added a SPI convenience class a la I2C 2011-03-03 10:50:45 -08:00
Nick Foster
77319389b0 Generalized the mboard_iface into mboard_iface.hpp and made each of the USRP devices inherit from it. 2011-03-01 18:11:08 -08:00
Josh Blum
16f08844d7 uhd: renamed the assert header to assert has
only the assert has implementation is in this header

uhd assert throw moved to the exception header

updated code base includes to match
2011-02-24 14:54:24 -08:00
Josh Blum
8c434f7d63 uhd: renamed enums to reflect new convention 2010-11-10 11:14:47 -08:00
Josh Blum
94a492dc40 uhd: rename identifier for usrp1 eeprom, and fix offsets, add serial support to usrp2 2010-11-05 17:39:18 -07:00
Josh Blum
144ebf2932 usrp: implement name checking on dicovery (all platforms), separate usb serial from serial (for now) 2010-11-05 01:01:51 -07:00
Josh Blum
04c74a3c74 usrp1: replace byteswap with htonx (it was wrong to just swap)
also removed unused poke and peek 16 bit calls
2010-09-30 10:07:13 -07:00
Josh Blum
f97c433845 usrp1: fixes to remove warnings and errors for usrp1 + libusb windows 2010-09-23 18:07:31 -07:00
Nick Foster
b96088b692 EEPROM burning in UHD. Changed some USB device handle stuff. Added usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX. 2010-08-31 16:44:30 -07:00
Thomas Tsou
c30cbf651b usrp1: Disable i2c error messages unless debug is enabled
Failed i2c operations can be normal under certain situations.
Notably, write failures are used to detect unpopulated
daughterboard slots.
2010-08-27 12:27:47 -07:00
Thomas Tsou
8c5768ae1a usrp1: Improve debug output readability 2010-08-24 15:04:39 -07:00
Thomas Tsou
54debe30bb usrp1: Fix assertion that prevents 32-bit SPI transactions 2010-08-23 15:30:14 -07:00
Thomas Tsou
e4c12fbfb2 usrp1: Return unknown (0xff) on invalid I2C read
This allows a dboard eeprom read to continue when reading
from an empty slot.
2010-08-17 17:43:25 -07:00
Thomas Tsou
9cb9e7d522 usrp1: Add usrp1 implementation 2010-08-13 17:54:51 -07:00