Commit Graph

5315 Commits

Author SHA1 Message Date
Martin Braun
56921cff66 tools: Moved nirio_programmer out of utils 2015-07-21 15:44:05 -07:00
Martin Braun
2dd3a848b9 Merge branch 'maint' 2015-07-21 15:29:22 -07:00
Martin Braun
7efbd15b07 Updating images package for 3.8.5 2015-07-21 10:38:58 -07:00
Ashish Chaudhari
ccb4e5ad48 Merge branch 'master' into x300/rev7_support 2015-07-20 13:55:17 -07:00
Ashish Chaudhari
b95f8af1da x300: Addressed code review feedback for Rev7+ support 2015-07-20 13:51:00 -07:00
Martin Braun
af42e93a6e Merge branch 'maint'
Conflicts:
	host/include/uhd/transport/nirio/nirio_driver_iface.h
2015-07-20 13:07:33 -07:00
Nicholas Corgan
8603c6a3ee nirio: fixed defines for OS X vs. other unsupported platforms (master) 2015-07-20 13:06:13 -07:00
Nicholas Corgan
b84c1c8f2d nirio: fixed defines for OS X vs. other unsupported platforms 2015-07-20 13:05:27 -07:00
Martin Braun
4de2c75da3 docs: OctoClock API link fixed. 2015-07-20 12:57:10 -07:00
Ashish Chaudhari
afaf1e0e0f x300: Added extended ADC self-test
- New device arg "ext_adc_self_test" triggers the test
- ext_adc_self_test=<time> runs the test for "time" seconds
2015-07-19 11:43:13 -07:00
Ashish Chaudhari
782e20505f x300: Made all X300 revision related errors fatal
- product code, revision and revision compat errors are now exceptions
- Added recover_mb_eeprom arg to recover from a corrupt/uninitialized EEPROM
2015-07-19 11:42:17 -07:00
Ashish Chaudhari
410b244776 x300: Added HW rev compat number support
- Added new field "revision_compat" to mb_eeprom
- Enforce a revision_compat of 7
2015-07-18 22:26:25 -07:00
Ashish Chaudhari
722f6f6b39 x300: Added new Rev7+ X3x0 MB product codes
- Added new PCIe and MB PIDs for new boards
- Added an error if MB PID is invalid
2015-07-18 21:49:25 -07:00
Moritz Fischer
f3e827ae2f e3xx: eeprom: Fix off by one error in serial number writing code.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-16 15:04:06 -07:00
Martin Braun
88df5f04c0 x300: Bumped max HW rev to 8 2015-07-16 14:00:28 -07:00
Martin Braun
1ac7b1704f Merge branch 'maint' 2015-07-16 14:00:01 -07:00
Moritz Fischer
3922f56adf e3xx: Make all e3xx motherboards show up as such.
All currently available e3xx daugherboards are equivalent from
a UHD perspective, so make them consistently show up as "E3XX".

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-16 13:59:14 -07:00
Moritz Fischer
bf84ba856e e3xx: docs: Add battery information.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-16 09:29:10 -07:00
Martin Braun
a45f2b5179 utils: Made uhd_images_downloader Python3-compatible 2015-07-15 18:02:20 -07:00
Martin Braun
03565a0eb4 cmake: Bumped minimum version for CMake to 2.8 2015-07-15 16:53:20 -07:00
Moritz Fischer
854048ae99 e3xx: docs: Added paragraph about error codes.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-15 14:33:00 -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
Martin Braun
012381d999 Merge branch 'maint' 2015-07-14 17:49:48 -07:00
Martin Braun
b1f7b34846 Updated images package
- X300 Rev7 images
- B200 updated firmware (V8)
- OctoClock
- E300 (idle image)
2015-07-14 17:48:58 -07:00
Martin Braun
bb5a664ccf x300: Removed stray debug print 2015-07-14 17:06:25 -07:00
Martin Braun
31b8d05c3d Updated compat numbers for B2x0 and X3x0
- B2x0: FW compat number (goes with previous firmware update)
- X3x0: Max HW rev number
2015-07-14 15:34:32 -07:00
Nicholas Corgan
8057c17458 build: Python 3 compatibility for build scripts 2015-07-14 14:51:32 -07:00
Martin Braun
4b1034b29e uhd: Replacing Cheetah w/ Mako 0.4.2 (allows Python 3 compat) 2015-07-14 14:51:32 -07:00
Martin Braun
7c6bc34f62 Merge branch 'maint'
Conflicts:
	fpga-src
	host/CMakeLists.txt
	host/cmake/Modules/UHDVersion.cmake
	host/lib/usrp/b200/b200_impl.hpp
	host/lib/usrp/e300/e300_fpga_defs.hpp
	host/lib/usrp/x300/x300_fw_common.h
2015-07-14 14:51:14 -07:00
Martin Braun
5f4470a8fb 3.8.5 Release Candidate
- Updated fpga-src
    - Updated version strings
    - Updated images package
2015-07-14 14:02:25 -07:00
Martin Braun
8f47d5b898 x300: Added max hw rev checking 2015-07-14 14:02:25 -07:00
Ashish Chaudhari
bb940ccabb x300: Added retry mechanism to ADC capture delay self-cal
- If the self-cal fails, UHD waits for 2 sec for the ADC temp
  to stabilize and retries the self-cal
2015-07-14 13:00:25 -07:00
Ashish Chaudhari
8a76d46b1a x300: Updated pre-rev7 board delays after characterization
- Characterized over process and temperature
2015-07-14 13:00:25 -07:00
Moritz Fischer
6091e8759a e3xx: Fixup for idle image to follow naming convention.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-14 12:19:41 -07:00
Martin Braun
1c185f8478 examples: Improved tx_waveform multi-channel sync 2015-07-14 12:19:41 -07:00
Moritz Fischer
5f11aee12d e3xx: Bump compat number from 6 -> 8.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-14 12:19:41 -07:00
Moritz Fischer
3cb995e3a6 e3xx: Increase TX buffer size to PAGE_SIZE.
This was originally limited because it performed poor,
however, with refactoring that has been done since release,
this now gives better performance.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-14 12:19:41 -07:00
Moritz Fischer
850251d4ec e3xx: Load idle image on shutdown.
This commit will have UHD load the idle fpga image on
destruction of e300_impl.

Note: This requires usrp_e310_idle_fpga.bit to be present
in the UHD images directory.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-14 12:19:41 -07:00
Ashish Chaudhari
4a731f6c1d b200: Bumped FPGA compat number to 8 for release 2015-07-14 12:19:34 -07:00
Balint Seeber
8116ae2114 b2xx: Added side-channel utility for FX3 debugging 2015-07-14 11:52:21 -07:00
Balint Seeber
6d0f1ee6f6 fx3: New firmware features: Logging, more configuration
- Logging in conjunction with B200 side-channel utility
  (using UART or directly over USB)
- More and better configurability, e.g. Tx voltage swing
  and DMA configuration
2015-07-14 11:52:21 -07:00
Nicholas Corgan
0afc5d7c64 octoclock: fixed install directory for relevant headers 2015-07-14 10:24:57 -07:00
Moritz Fischer
88b8fbe57b e3xx: Bump compat number to match change on maint.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-13 15:28:17 -07:00
Tom Tsou
e71edf7962 ad9361: Update Tx Quad Cal to match current gain tables
Fixes issue #828 "B200: Tx quadrature calibration regression in master"

Following commit added new gain table settings to reflect updated values
from ADI. Gain indices used by Tx Quad Cal were not matched to
accommodate the new tables.

2b06c38 "b2xx: dc offset and iq imbalance correction control"

Requirement for Tx Quad Cal is for TIA gain and analog LPF gain to be
set at 0 dB, or 0x20 in the gain table. Final effect is a dramatic
decrease in Tx DC offset and quadrature image.

Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-13 14:59:16 -07:00
Tom Tsou
3c5b4b5f9f ad9361: Prevent positive loop gain on Rx quadrature tracking
Patch fixes a portion of #807

"B210: severe distortion on In-phase data for some gain settings"

ADI recommends that the "Prevent Pos Loop Gain" setting be enabled to
prevent the Rx quadrature tracking loop from becoming unstable at low
power levels. ADI Linux kernel driver also reflects this setting.

We do not follow the ADI recommendation. Adjust accordingly.

Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-13 14:59:16 -07:00
Tom Tsou
2b837f2ff7 ad9361: Invert phase on Rx LNA bypass path
This patch resolves issue #823

"B200: Receive RF DC calibration makes calibration worse below 34 dB"

According to ADI reference documents, enabling any of the 3 LNA's in the
receive path causes a 180 degree phase shift. Correspondingly, we invert
the LNA bypass path (gain indices below 34 dB) to match. Testing,
however, reveals that one of these statements or the polarity inversion
setting itself is false. Disabling the switch results in expected
behavior and proper phase alignment.

Overall effect is up to 60 dB of DC offset suppression ahead of the Rx
analog LPF. This reduces the problematic dependency on active baseband
tracking and may resolves multiple tracking stability issues.

Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-13 14:59:16 -07:00
Moritz Fischer
c65e0ea6e3 e3xx: Added firmware for battery based devices.
Note: This firmware does *not* support Rev B units.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-13 14:03:42 -07:00
Ashish Chaudhari
f9c8dfbd8d x300: Fixed Windows build issue in x300_clock_ctrl 2015-07-09 12:38:04 -07:00
Nicholas Corgan
d9656de88f OctoClock bugfixes
* Bumped compatibility version to 3
* firmware: Ethernet, clkdist bugfixes
* lib: fixed invalid rev detection
2015-07-09 09:13:41 -07:00
Ashish Chaudhari
1449687bb4 Merge branch 'master' into x300/rev7_support 2015-07-09 00:03:05 -07:00