Commit graph

83 commits

Author SHA1 Message Date
mattprost
9c0dc99e9d tools: update FPGA functional verification tests for X3x0 mcr's & dpdk
-Added test cases for the 184.32MHz clock rate.
-Removed some extra test cases for 200MHz clock rate in order to
cut down on test time.
-Added DPDK test cases (copied from 10gige and 2x_10gige test cases).
2019-11-25 13:38:34 -08:00
michael-west
5c0d0834a4 Docs: Adjust FPGA functional verification tests
- Reduce long tests from 3600 seconds to 600 seconds.
- Remove 2xRX@153.6e6 test for N310 10 GbE (not practical).

Signed-off-by: michael-west <michael.west@ettus.com>
2019-10-15 15:21:52 -07:00
Michael Dickens
f520573c3d cmake: Use new UHDBoost.cmake in init_usrp and tools
Modifies the CMake for the following utilities:
- init_usrp (example)
- kitchen_sink
- nirio_programmer
2019-10-15 11:44:38 -07:00
erickshepherdNI
549d8d0101 Python: Added LO source and export arguments to the phase alignment test 2019-10-10 16:54:39 -07:00
Michael Dickens
cff98f5d8b kitchen_sink: fix building using c++11 2019-09-03 12:31:22 -07:00
Michael Dickens
d5cfd855be kitchen_sink: remove uhd::msg cruft removed from UHD in 21aad77c
Closes: #3479
2019-09-03 12:31:22 -07:00
Michael Dickens
da7fe8cc26 cmake: add 'project', as requested by CMake 2019-09-03 12:31:22 -07:00
Brent Stapleton
f7a3f61f53 python: Fixups for Phase Alignement test script
- Wait 100ms after a retune before capturing samples. Users can set the
  length of time with `--skip-time X`
- Actually set RX gain
- Remove old TODOs
- Print alignment statistics in increasing frequency order
- Fix health check reported values (was reporting radians, but
  labeling them as deg)
- Fix calculating the maximum drift for phase differences around
  +/-180 degrees
2019-08-21 16:36:37 -07:00
Alex Williams
014610a93d tools: Add FPGA functional verification tests for N32x
This commit adds FPGA functional verification tests for all the N320
images. The tests follow a similar pattern to N310, but one additional
category is present for using the DPDK transport. In order to use that
test, the use_dpdk and mgmt_addr args must be specified in the options.
2019-01-31 17:10:00 -08:00
Martin Braun
019502139f tools: Make the UHD source gen a plugin for the phase alignment test
This doesn't add any functionality to the phase alignment script, but it
does make the siggen portion pluggable.

Co-authored-by: Brent Stapleton <brent.stapleton@ettus.com>
2019-01-30 10:43:32 -08:00
michael-west
0e541ed60b Debian: Minor change to convert_changelog.py
- Change "trusty" to a more generic "ubuntu_release" placeholder
2019-01-09 17:48:13 -08:00
michael-west
a34e86e2b6 Debian: Add cosmic (Ubuntu 18.10) 2019-01-09 17:48:09 -08:00
Martin Braun
a69ab0c23a cmake: Update coding style to use lowercase commands
Also updates our coding style file.

Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code (with GNU compliant sed):

cmake --help-command-list | grep -v "cmake version" | while read c; do
  echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done > convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \
'*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed

(Make sure the backslashes don't get mangled!)
2018-11-14 14:10:09 -08:00
Brent Stapleton
4247f02502 python: Adding phase alignment example
This tool uses the Python API to determine if USRP devices are
receiving a phase aligned signal. It is designed to be a stand-in
replacement for usrp_phasealignment.py, although the capabilities and
invocation are not identical.

The return value of this tool will indicate whether the signal is
sufficiently phase aligned, and allows integration into scripts or
other test frameworks. This tool also includes options to save data to
file or plot it using PyLab.

Currently only supports 2 channel RX phase alignment.
2018-11-14 14:08:01 -08:00
Martin Braun
bf3d9ac2f4 tools: Add tool to analyze settling time of gain of freq changes
This tool uses the Python API to acquire a snapshot of samples during
a gain or frequency change. It can be used to analyze the settling time
of analog components, as well as the accuracy in time.
It has two combinable ways of analyzing the data: 1) Write it to a file,
or 2) plot the time-domain data.

Example: This would receive several seconds of data from an X3x0 device,
tune to 1 GHz, and then bump the gain by 30 dB after a set amount of
time:

$ rx_settling_time.py -a type=x300 -f 1e9 -g 0 --new-gain 30 --plot
2018-10-11 13:19:22 -07:00
Sugandha Gupta
0e130d671e e320: Add R&D testing procedure 2018-09-24 14:07:00 -07:00
Brent Stapleton
7224297101 uhd: Post-release cleanup
- Bump the UHD API version and return to development branch status
- Removing artful in list of Ubuntu releases. Support for artful ended
in July 2018.
2018-07-25 17:42:02 -07:00
Martin Braun
988515ab19 Device3: Change packet-based flow control to byte-based flow control 2018-07-25 15:34:03 -07:00
Vidush
102fcc0ff8 fixup! Testing: Add x300 Functional Verification 2018-07-20 20:52:40 -07:00
Vidush
66e050bf85 Testing: Add x300 Functional Verification 2018-06-15 13:20:56 -05:00
Vidush
5f6e865840 Test: Add HA,XA,WX Images 2018-06-13 11:44:38 -07:00
Vidush
84ba1956d6 Test: Run All Tests for Device and FPGA Image 2018-06-13 11:44:38 -07:00
Martin Braun
a368f91cdc tools: Add a script for automated testing of FPGAFUNCVERIF 2018-06-04 13:53:43 -07:00
michael-west
dcad136fff Debian: Fix convert_changelog.py tool 2018-05-16 15:15:39 -07:00
michael-west
1adae2b432 Ubuntu PPA: Update debian information 2018-02-19 14:33:01 -08:00
michael-west
12b7a75dc1 gr-usrptest: Added copy of args to prevent mangling that resulted in a parser error 2018-01-16 09:48:10 -08:00
Andrej Rode
c33928d2bb utils: add set_thread_name API call, move thread_priority to thread 2017-06-29 13:43:05 -07:00
Scott Torborg
1da86f9cf5 tools: Make dissector code generation script Python 3 compatible 2017-05-30 09:44:00 -07:00
Andrej Rode
8ead0805c6 gr-usrptest: remove TODO note fix python CMakeLists 2017-05-26 16:01:37 -07:00
Andrej Rode
206fe4d5cb gr-usrptest: remove unit test cmake stub 2017-05-26 16:01:37 -07:00
Andrej Rode
4b7b35570c gr-usrptest: add LabVIEW remote control capability
- require modules labview_automation and hoplite for RTS python module
 - new python module: labview_control
2017-05-26 16:01:37 -07:00
Andrej Rode
76e9e6393f gr-usrptest: Initial creation
- new OOT-blocks: phase_calc_ccf hier-block, measurement_sink_f
 - new python submodules: flowgraphs, functions, rts_tests
 - new apps: usrp_phasealignment.py - cmdline example for manual testing

 OOT-Blocks:
  - phase_calc_ccf takes two complex input streams and conjugate
    multiplys them and extracts the phase from the result and converts
    it to degree scale
  - measurement_sink_f: takes a float input stream and calculates average and stddev for a
    specified number of samples. Start of a measurement is invoked by a
    call of start_run() on the block. After a couple of runs average and
    stddev can be extracted.

 Python modules:
  - flowgrahps contains reconfigurable flowgraphs for different GNU
    Radio RF test cases
  - functions contains functions which are used in different apps/RTS
    scripts
  - rts_tests contains test cases which are meant to be executed from
    the RTS system. Depends on TinyDB, labview_automation

 Apps:
  - usrp_phasealignment.py is an example how to use the underlying
    flowgraph to measure phase differences. Commandline arguments of
    uhd_app can be used and several additional arguments can/have to be
    specified. Runs a phase difference measurement --runs number of times and averages
    phase difference over --duration seconds. Between measurements USRP
    sinks are retuned to random frequencies in daughterboard range.
    Results are displayed using motherboard serial and daughterboard
    serial
2017-05-26 16:01:37 -07:00
Andrej Rode
06ff34eaa9 gr-usrptest: init OOT 2017-05-26 16:01:37 -07:00
Martin Braun
f3cabe9ffd Merge branch 'maint' 2017-03-24 19:06:32 -07:00
Martin Braun
04b205d15b tools: Various fixes to the CHDR dissector
- Works with newer Wiresharks now
- Fix SID flip in hex pretty print
- Fix misclassification of cmd packets
2017-03-24 13:43:44 -07:00
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Martin Braun
bb65a50ce5 ubuntu: Added yakkety to the list of distros 2016-12-09 11:24:29 -08:00
Martin Braun
58668be81d ubuntu: Added yakkety to the list of distros 2016-11-30 09:20:23 -08:00
Martin Braun
670eeda6e4 debian: Fixed artifact removal in upload_debs.sh 2016-08-30 15:04:31 -07:00
Martin Braun
3c119b1a7f tools: Added README for the dissectors 2016-08-30 10:23:06 -07:00
Derek Kozel
fe7fe8b6ce Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00
Martin Braun
5754a847e6 debian: Removed precise from the list of supported distros for the 3.10 and up 2016-08-12 12:13:43 -07:00
Martin Braun
7fbf0e579b debian: upload_debs.sh was a bit too aggressive in filtering out cruft 2016-08-12 11:19:28 -07:00
Martin Braun
c69222a15c Merge branch 'maint' 2016-06-06 16:51:53 -07:00
Marcus Müller
b2167e1ae4 added Wireshark Dissector for Octoclock packets 2016-06-06 13:30:50 -07:00
Martin Braun
f045ee5199 Merge branch 'maint' 2016-03-21 14:05:46 -07:00
Martin Braun
7ae5aea5db debian: updated changelog converter for sensible defaults 2016-03-21 11:46:49 -07:00
Martin Braun
db9ebd80dd Merge branch 'maint' 2015-12-30 14:22:43 -08:00
Nicholas Corgan
605b360651 tools: made upload_debs.sh smarter about ignores 2015-12-30 14:10:21 -08:00
Martin Braun
f18abe5408 Final updates for 3.9.2 release
- Updated images package
- Updated Debian changelog
- Updated ppa script
2015-12-30 12:11:55 -08:00