Commit graph

182 commits

Author SHA1 Message Date
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
michael-west
c0057e35b8 UHD: Add eeprom info to dboard_base 2017-12-07 13:32:26 -08:00
Martin Braun
83dde40090 uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM code
- uhd::usrp::mboard_eeprom_t is now simply a map. Its commit() method
  has no utility being a public API call, because the user never gets
  access to the appropriate I2C object (Minor API breakage)
- The central mboard_eeprom.cpp file was broken up and put into many
  smaller compilation units in every device's implementation folder.
- Renamed some of the constants (e.g. B000_* -> USRP1_*, N100_* ->
  N200_*)
- Removed the N000_* EEPROM code, because, well, you know, there's no
  such device
2017-09-29 10:50:56 -07:00
Martin Braun
47cdd6319c uhd: Replaced many lexical_cast with appropriate C++11 equivalents 2017-06-29 13:40:07 -07:00
Martin Braun
cb1649d201 uhd: tasks now use std::threads under the hood, and can't be interrupted
USRP1 and USRP2 used tasks that relied on Boost thread interruption
mechanisms. These were replaced with explicit atomics.
2017-06-28 15:54:39 -07:00
Martin Braun
af75b87e51 logging: Demoted a number of DEBUG messages to TRACE 2017-04-05 23:18:08 -07:00
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Andrej Rode
26cc20847c uhd: replace BOOST_FOREACH with C++11 range-based for loop
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Martin Braun
99c2730bc9 Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with
  stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
  compilers support that).
2016-11-08 08:02:22 -08:00
Ashish Chaudhari
b263800437 dboard: Added restricted dboard registration capability
- Moved dboard iface initialization to dboard_manager
- Added a restricted register function. Restricted dboards
  don't expose their control iface in the property tree
2016-02-16 16:19:01 -08:00
Ashish Chaudhari
27a08ccddc prop_tree: Multiple API enhancements to uhd::property
- Added desired and coerced values and accessors to property
- Added support to register desired subscribers
- set APIs don't reallocate storage for a property value
- Renamed callback method registration APIs
- Registering 2 coercers or publishers for a property will throw
- Registering a coercer and a publisher for the same property will throw
2016-02-11 14:36:20 -08:00
michael-west
f4f3ce2550 UHD: Remove initialization of time to GPS time. 2015-08-12 17:23:40 -07:00
Nicholas Corgan
0595900ecc Added uhd::image_loader class and uhd_image_loader utility
* Single class for loading firmware/FPGA images onto devices instead of multiple utilities
* Loading functions are registered for each device, corresponding to their --args="type=foo" name
* Deprecation warnings added to all product-specific image loading utilities
2015-07-15 09:32:18 -07:00
michael-west
4e8f081700 USRP2: Separate FPGA compat numbers for USRP2 and N200. 2015-04-23 09:48:37 -07:00
Martin Braun
bcd364df0f N2x0: Fixed missing usage of send_buff_size 2015-03-03 14:25:56 -08:00
Ben Hilburn
b29e80cc27 uhd: fixing TX DSP tuning on gen2 devices, special changes for n2xx
This fixes RX DSP core 200 from tuning outside range and causing overflows.
2014-10-07 14:35:21 +02:00
Martin Braun
5aefa0fdfc Merge branch 'maint' 2014-09-23 16:03:27 -07:00
Nicholas Corgan
df0c602c43 usrp: don't print duplicate GPSDO detection messages 2014-09-23 13:05:37 -07:00
Nicholas Corgan
da018c53b4 Give user the option to ignore daughterboard's calibration file at runtime
* Add "ignore-cal-file" to the uhd::device_addr_t arguments
* Added documentation for new feature
2014-09-02 12:08:36 +02:00
Martin Braun
83249208bd Merge branch 'maint' 2014-08-18 23:05:48 +02:00
michael-west
8055ac0d4f - Fixes for channel alignment
- Added analog delay for radio clock
	- Added analog delay for DAC reference clocks
	- Removed resetting of clock control
	- Removed setting of reference clock and PPS to external sources during initialization
- Fixes for set_time_unknown_pps
	- Removed wait for PPS edge after setting time from GPSDO
	- Changed set_time_unknonw_pps to time out based on system time rather than device VITA time
2014-08-18 22:52:53 +02:00
Martin Braun
4999b5df50 Merge branch 'maint'
Conflicts:
	host/utils/usrp_burn_mb_eeprom.cpp
2014-07-31 15:25:22 +02:00
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
michael-west
bca5edb579 Fix for BUG #492: UHD: set_time_unknown_pps() fails with GPSDO installed
- Added polling for PPS time change after setting time from GPSDO.
2014-06-25 14:56:20 -07:00
Ben Hilburn
58c07d5f6c Merge remote-tracking branch 'origin/bug403'
Properly initializing time and clock source on N-Series to prevent small drift
prior to lock.
2014-04-10 13:08:14 -07:00
Martin Braun
01c8de2c68 uhd: Added max link rate info for usrp1, usrp2 and b100 2014-04-10 21:03:10 +02:00
michael-west
0624dcc37c Fix for BUG #403: Visible frequency drift on Finite Rx with N210 & SBX
- Added initialization of clock and time sources
2014-04-08 17:46:53 -07:00
Ben Hilburn
178ac3f1c9 Merging USRP X300 and X310 support!! 2014-02-04 11:04:07 -08:00
Josh Blum
8eaa2dd2b4 usrp2: try/catch for first send of discovery routine
This send can fail with a network down/unreachable error.
The try/catch allows for discovery to continue.
2013-08-15 15:21:35 -07:00
Josh Blum
be172a615a lfrx: disable dc offset correction when using LFRX 2012-09-28 16:58:28 -07:00
Josh Blum
76930c0358 n2x0: only check for the GPSDO once after power up
We used to only check if the EEPROM was setup properly.
But now we always check, but check only once after first power up,
and disable the check if not found.
2012-06-18 15:53:28 -07:00
Josh Blum
a5ffda85bc gpsdo: added "gpsdo" clock and time source options
When an on-board GPSDO is detected, "gpsdo" is added to the options.
2012-05-18 11:50:32 -07:00
Josh Blum
c94963a436 usrp: mboard eeprom map use string as key 2012-05-14 11:59:20 -07:00
Josh Blum
4f19f3f4ec usrp2: print helpful message with burner command 2012-05-11 17:28:10 -07:00
Josh Blum
b913183c4c usrp2: add variable for wb/spi interface
This variable gets set based on the rev type
so we can support the command fifo when present.
2012-04-20 11:50:38 -07:00
Josh Blum
40884c9411 Merge branch 'master' into next 2012-03-26 17:54:04 -07:00
Josh Blum
277d4d2f76 usrp2: possible fix for invalid broadcast replies 2012-03-26 17:51:11 -07:00
Josh Blum
6ff4100f0c fifo ctrl: implement timed command feature detection 2012-03-23 14:36:56 -07:00
Josh Blum
ea659bd81e fifo ctrl: use regular iface for U2_REG_MISC_CTRL_CLOCK 2012-03-23 14:36:56 -07:00
Josh Blum
f3f64abc49 fifo ctrl: various tweaks 2012-03-23 14:36:56 -07:00
Josh Blum
12223186e7 fifo ctrl: spi core work and host implementation 2012-03-23 14:36:56 -07:00
Josh Blum
b1d82758b0 usrp2: implementation of timed commands working 2012-03-23 14:36:56 -07:00
Josh Blum
f59ef44a43 usrp2: integrated fifo ctrl into usrp2 modules, implemented window'd acking 2012-03-23 14:36:56 -07:00
Josh Blum
fe0a5162cd usrp2: host and fw implementation for fifo control 2012-03-23 14:36:55 -07:00
Josh Blum
f91e247da2 usrp: fix from "rev iq correction"
Must zero out the default IQ correction to have zero effect by default.
2012-03-16 09:04:44 -07:00
Josh Blum
bd7e53d385 usrp: reset cordics on init after tick rate update 2012-02-28 13:35:50 -08:00
Josh Blum
5eec31fab4 dsp rework: implement 64 bit ticks, no seconds 2012-02-06 16:40:42 -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
781cafa871 gen2: added user setting regs api and user core 2012-01-31 14:56:31 -08:00
Josh Blum
b8e41cbbc9 uhd: flush transport for new rx streamers 2012-01-23 13:03:09 -08:00