Commit graph

246 commits

Author SHA1 Message Date
Nicholas Corgan
a6e18604be OctoClock firmware upgrade, added host driver
* OctoClock can communicate with UHD over Ethernet
* Can read NMEA strings from GPSDO and send to host
* Added multi_usrp_clock class for clock devices
* uhd::device can now filter to return only USRP devices or clock devices
* New OctoClock bootloader can accept firmware download over Ethernet
* Added octoclock_burn_eeprom,octoclock_firmware_burner utilities
* Added test_clock_synch example to show clock API
2014-07-23 07:37:32 -07:00
Ben Hilburn
21518ec2ba Merge branch 'origin/b200/issue_418'
Fixing unsafe sscanf call.
2014-04-10 13:09:01 -07:00
Martin Braun
fa996034dd b100+b200+usrp1: removed potentially unsafe sscanf call 2014-04-10 21:36:19 +02:00
Martin Braun
01c8de2c68 uhd: Added max link rate info for usrp1, usrp2 and b100 2014-04-10 21:03:10 +02:00
Ben Hilburn
178ac3f1c9 Merging USRP X300 and X310 support!! 2014-02-04 11:04:07 -08:00
Ben Hilburn
9e47ad607b Squashed merge of Coverity fixes. 2013-11-27 12:11:23 -08:00
Michael West
ef3510f15e BUG #203: Initialized gain values to 0.0 2013-11-08 15:15:19 -08:00
Josh Blum
56f391ad64 uhd: wb_iface is now a public interface 2013-10-04 16:49:32 -07:00
Josh Blum
0aeac60394 uhd: allow for 16 bit i2c and eeprom addrs 2013-07-24 17:46:04 -07:00
Josh Blum
c464a63e87 uhd: added new calls to streamer object + support work
* The transmit streamer gives access to the async msg queue.
* The receive streamer gives access to the issue stream cmd.
* Supporting usrp implementation files updated.
* Example applications updated to use this API.
2013-07-15 15:44:42 -07:00
Nicholas Corgan
eaadc6e89a Merge branch 'maint34' into maint
Conflicts:
	host/lib/usrp/b100/b100_impl.cpp
	host/lib/usrp/usrp1/usrp1_impl.hpp
2012-11-16 16:04:26 -08: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
be172a615a lfrx: disable dc offset correction when using LFRX 2012-09-28 16:58:28 -07:00
Josh Blum
eb7a99e99d usrp1: added hook to poke user regs 2012-09-20 16:00:13 -04:00
Josh Blum
0d5cef73c1 usrp1: wrap around for DAC tuning outside 1st nyquist 2012-06-28 13:10:01 -07:00
Josh Blum
ca8281f5c3 Merge branch 'maint' 2012-06-28 12:19:58 -07:00
Josh Blum
3079b5715d usrp1: revert calculation for DAC freq outside of 1st Nyquist
This patch does not work. A possibile solution will be added to master.
2012-06-28 12:19:25 -07:00
Nicholas Corgan
e7df63844f utils: UHD Image Downloader - downloads firmware/FPGA images compatible with the current host code and places them in the images directory 2012-06-07 15:05:41 -07:00
Josh Blum
b61a11031f Merge branch 'maint' 2012-05-30 12:59:18 -07:00
Josh Blum
3adecd5bc1 usrp1: shutoff DAC digital w/ TX state machine 2012-05-30 12:56:38 -07:00
Josh Blum
3804361215 Merge branch 'maint' 2012-05-17 17:49:28 -07:00
Josh Blum
19874c04d4 usrp1: removed print from codec_ctrl last commit 2012-05-17 15:50:07 -07:00
Nicholas Corgan
c033017a3f Fixing USRP1 aliasing logic 2012-05-17 15:45:37 -07:00
Josh Blum
c94963a436 usrp: mboard eeprom map use string as key 2012-05-14 11:59:20 -07:00
Josh Blum
db6ba7d474 Merge branch 'maint' 2012-05-14 11:52:29 -07:00
Josh Blum
ea4549f841 usrp1: ensure frontend specs are init'd to something
This helps the case of 4x DDC no DUC for example,
that way at least something empty is set to the property.
2012-05-11 21:30:29 -07:00
Josh Blum
253be8f0da uhd: squashed transport work 2012-04-23 13:45:23 -07:00
Nicholas Corgan
a6ec6e2544 mboard id's are now more concise (codenames are separated, for example), and dboard subdev names are more descriptive (RFX RX is now RFX1200 RX, etc) 2012-04-20 14:21:17 -07:00
Josh Blum
7ac203b39c usrp1: stop threads in deconstructor
Its important to stop the threads before we let
the other smart point objects naturally deconstruct
to avoid thread-based race conditions.

The attempt to deconstruct the tree and soft time ctrl
had a bug because the tree had references in subtrees
within the dboard manager class.

Rather than continue to fix this method and
deconstruct the tree to free up soft time ctrl,
it seems simpler to just stop the thread in soft time ctrl,
and then let it naturally deconstruct later by ref count.
2012-03-29 16:01:52 -07:00
Josh Blum
b61f4ad603 usrp1: fix for cordic init, cant do it that way on tx 2012-02-29 14:26:40 -08:00
Josh Blum
bd7e53d385 usrp: reset cordics on init after tick rate update 2012-02-28 13:35:50 -08:00
Josh Blum
11e9429b95 usrp1: fix to use the db connection type to determine DAC sign
Unlike the other products, usrp1 uses the DAC and not DSP
to perform baseband frequency shifting in the hardware.
Therefore this shifting occurs before I and Q swapping,
and so, the sign of the frequency needs to be inverted
on daughterboards which have inverted I and Q TX inputs.
2012-02-24 10:06:13 -08:00
Josh Blum
1156d9b26a usrp1: fix advertised samples per packet in send streamer
Must subtract off the 511 for 512 modulus remainder commit.
This bug was introduced by the conversion to streamer API.
2012-02-21 17:42:15 -08:00
Josh Blum
8442ea5e2c b100/usrp1: various tweaks for compiler warns and valgrind 2012-02-09 19:02:43 -08:00
Josh Blum
1151000340 uhd: various tweaks for compiler warns and valgrind 2012-02-09 17:59:48 -08:00
Josh Blum
b7ff81c9a8 dsp rework: work on usb wrapper for smaller packets, large luts 2012-02-02 15:15:54 -08:00
Josh Blum
e30cf4ec6d usrp1/b100: reenumeration loop with timeout only when found 2012-01-27 19:09:58 -08:00
Josh Blum
c09e881718 usrp1/b100: handle longer reenumerations with loop and timeout 2012-01-26 13:36:34 -08:00
Josh Blum
1c76adac7a usrp1: initialize tick_rate prop (fixes readback) 2012-01-05 12:34:53 -08:00
Josh Blum
f592102763 usrp1: fix div ratio for interp register
The interp register was getting set 2x, now fixed!
This bug was introduced w/ the streamer work.
2011-12-15 19:55:39 -08:00
Josh Blum
d595f15967 usrp1: fixed swapped sign on rx cordic
We used to swap I and Q to share converter functions with the newer products.
Because of this, the sign on the cordic also had to be swapped.

Now that USRP1 has its own converter routines and I and Q are correct,
so should be the sign on the cordic. This was a bug introduced in master.

TX should not be an issue, because there is no cordic
and is adjusted digitally by the codec, after any potential swapping.
2011-12-15 18:26:43 -08:00
Josh Blum
4f4032573b usrp1: set scale factor after setting converter 2011-11-30 05:18:32 -08:00
Josh Blum
6f1f5f5fa2 usrp: added missing include for weak ptr 2011-11-08 12:27:37 -08:00
Josh Blum
db5eb38284 usrp1: fix typo when calculating rx_dc_offset register 2011-11-08 11:29:45 -08:00
Josh Blum
d9035414a2 usrp: work on dboard code to use subtrees to populate frontend props 2011-11-07 11:20:04 -08:00
Josh Blum
07fb8d2b82 usrp: fix rate calculation logic 2011-11-03 20:37:14 -07:00
Josh Blum
dedfa65256 usrp: reorganize frontend paths in tree for correction stuff 2011-11-03 20:37:14 -07:00
Josh Blum
f11d64579a usrp1: implement rx dc offset control hooks 2011-11-03 20:37:13 -07:00
Josh Blum
ae9e89d76b usrp: added get_tx/rx_rates 2011-11-03 20:37:13 -07:00
Josh Blum
00b6d8359d uhd: added trailer parsing for occupancy 2011-11-03 20:37:12 -07:00