diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-07-19 10:53:04 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-07-19 10:53:04 -0700 |
commit | 8f9f4184d4917380e2d0a9c35d88fc76ea599b4e (patch) | |
tree | d4a710e5ffbddd6fec6023b69171de300ba9d37a | |
parent | f21874e68a413ad8088bef69e3e8c1ef9c352eca (diff) | |
parent | 3b9d317d6a7492e3f5e785140c2744a6e90d6fa5 (diff) | |
download | uhd-8f9f4184d4917380e2d0a9c35d88fc76ea599b4e.tar.gz uhd-8f9f4184d4917380e2d0a9c35d88fc76ea599b4e.tar.bz2 uhd-8f9f4184d4917380e2d0a9c35d88fc76ea599b4e.zip |
Merge branch 'maint'
-rw-r--r-- | CHANGELOG | 31 | ||||
-rw-r--r-- | host/CMakeLists.txt | 4 | ||||
-rw-r--r-- | host/docs/rd_testing.dox | 125 |
3 files changed, 90 insertions, 70 deletions
@@ -1,18 +1,33 @@ Change Log for Releases ============================== -## 003.010.001.002 +## 003.010.002.000 + * multi_usrp: Fixed get_normalized_tx_gain. -* E300: Fix for streamer recreation issue +* E300: Fix for streamer recreation issue. Reduced minimum timeout, fixed + potential race condition. * X300: Fix for network discovery, will now return early when correct serial is - found. + found. Fixed issue with DAC sync. All async messages now go through + single DMA channel on PCIe. Improved TX performance. Fixed page size + acquisition for PCIe. Fixed some FW communication errors. Improved flow + control. Removed MTU throttling. Legacy compat falls back to min spp + for mixed transport types. * CBX: Fixed LO LPF behaviour in 1.5-2 GHz range. -* UBX: Fixed dtor SIGABRT issue. -* GPSDO: Improved detection. -* Examples: Added channel param to samps to/from file. sync_to_gps exits instead - of uncaught throw. +* UBX: Fixed dtor SIGABRT issue. Better error handling for various dboard clock + rates. +* TwinRX: Added LO reimport feature. +* GPSDO: Improved detection. Improved query_gpsdo sensor. +* RFNoC: Fixed issue with DDC and DUC command tick rate. +* UHD: Fixed potential memory leak in tasks. Fixed get_normalized_tx_gain(). + Fixed default socket buffer size to honor MTU. +* Examples: Added channel param to samps to/from file. sync_to_gps exits + instead of uncaught throw. latency_test improved output. Use + next_pps in test_clock_synch. Added TwinRX FHSS example. +* Utils: Modified behaviour of uhd_images_downloader so it won't delete dirs + when using -i +* Tools: Updates to CHDR dissector. Added set_time_source_out(). Fixed LO API. * C API: Fixed some missing fields in USRP info. -* Docs: Many minor fixes. +* Docs: Many minor fixes. Fixed Doxygen warnings related to /* in files. * CMake: Fixed GCC 4.4 compilation issue. Added ability to specify package names. diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 6e4e7d6cc..a66d6bd16 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -364,8 +364,8 @@ UHD_INSTALL(FILES #{{{IMG_SECTION # This section is written automatically by /images/create_imgs_package.py # Any manual changes in here will be overwritten. -SET(UHD_IMAGES_MD5SUM "487beb2dd2477ad90f9b21399931979c") -SET(UHD_IMAGES_DOWNLOAD_SRC "uhd-images_003.010.001.001-27-g47672ede.zip") +SET(UHD_IMAGES_MD5SUM "0afdbe84eaa54edc6a405bce426c28ed") +SET(UHD_IMAGES_DOWNLOAD_SRC "uhd-images_003.010.002.000-rc1.zip") #}}} ######################################################################## diff --git a/host/docs/rd_testing.dox b/host/docs/rd_testing.dox index 1d05bc94e..a9105d2bb 100644 --- a/host/docs/rd_testing.dox +++ b/host/docs/rd_testing.dox @@ -149,15 +149,16 @@ pass/fail conditions (return code 0 means 'pass'). Test benches provide a faster way to verify the design through simulations. -| Test Code | Device | Peripherals | Manual Test Procedure | Automatic Test Procedure | -|------------------|-----------|-------------------|------------------------------|---------------------------| -| FPGATB-v1 | None | None | \ref rdtesting_fpga_testbenches_manual | \ref rdtesting_fpga_testbenches_auto | +| Test Code | Device | Peripherals | Manual Test Procedure | Automatic Test Procedure | +|------------------|-----------|-------------------|-----------------------------------------|--------------------------------------| +| FPGATB-v1 | None | None | \ref rdtesting_fpga_testbenches_manual | \ref rdtesting_fpga_testbenches_auto | -\subsection rdtesting_fpga_testbenches_requirement: Requirements +\subsection rdtesting_fpga_testbenches_requirement Requirements -These tests are simulations and do not need any device. Vivado 15.4 should be installed. +These tests are simulations and do not need any device. Vivado 15.4 should be +installed. -\subsection rdtesting_fpga_testbenches_manual: Manual Test Procedure +\subsection rdtesting_fpga_testbenches_manual Manual Test Procedure 1. Go to the fpga directory depending on which test needs to be run. @@ -179,34 +180,38 @@ These tests are simulations and do not need any device. Vivado 15.4 should be in 4. All of these tests must report no failure with a 'PASS' validation. Example testbench output: - ======================================================== - TESTBENCH STARTED: noc_block_skeleton - ======================================================== - [TEST CASE 1] (t=000000000) BEGIN: Wait for Reset... - [TEST CASE 1] (t=000001002) DONE... Passed - [TEST CASE 2] (t=000001002) BEGIN: Check NoC ID... - Read Skeleton NOC ID: 1234000000000000 - [TEST CASE 2] (t=000001238) DONE... Passed - [TEST CASE 3] (t=000001238) BEGIN: Connect RFNoC blocks... - Connecting noc_block_tb (SID: 1:0) to noc_block_skeleton (SID: 0:0) - Connecting noc_block_skeleton (SID: 0:0) to noc_block_tb (SID: 1:0) - [TEST CASE 3] (t=000005457) DONE... Passed - [TEST CASE 4] (t=000005457) BEGIN: Write / readback user registers... - [TEST CASE 4] (t=000006888) DONE... Passed - [TEST CASE 5] (t=000006888) BEGIN: Test sequence... - [TEST CASE 5] (t=000007403) DONE... Passed - ======================================================== - TESTBENCH FINISHED: noc_block_skeleton - - Time elapsed: 7500 ns - - Tests Expected: 5 - - Tests Run: 5 - - Tests Passed: 5 - Result: PASSED - ======================================================== - -Failing tests can be debugged by checking the waveform in a Vivado GUI by running 'make GUI=1 xsim'. More details on debugging https://kb.ettus.com/Debugging_FPGA_images - -\subsection rdtesting_fpga_testbenches_auto: Automatic Test Procedure +\code +======================================================== +TESTBENCH STARTED: noc_block_skeleton +======================================================== +[TEST CASE 1] (t=000000000) BEGIN: Wait for Reset... +[TEST CASE 1] (t=000001002) DONE... Passed +[TEST CASE 2] (t=000001002) BEGIN: Check NoC ID... +Read Skeleton NOC ID: 1234000000000000 +[TEST CASE 2] (t=000001238) DONE... Passed +[TEST CASE 3] (t=000001238) BEGIN: Connect RFNoC blocks... +Connecting noc_block_tb (SID: 1:0) to noc_block_skeleton (SID: 0:0) +Connecting noc_block_skeleton (SID: 0:0) to noc_block_tb (SID: 1:0) +[TEST CASE 3] (t=000005457) DONE... Passed +[TEST CASE 4] (t=000005457) BEGIN: Write / readback user registers... +[TEST CASE 4] (t=000006888) DONE... Passed +[TEST CASE 5] (t=000006888) BEGIN: Test sequence... +[TEST CASE 5] (t=000007403) DONE... Passed +======================================================== +TESTBENCH FINISHED: noc_block_skeleton + - Time elapsed: 7500 ns + - Tests Expected: 5 + - Tests Run: 5 + - Tests Passed: 5 +Result: PASSED +======================================================== +\endcode + +Failing tests can be debugged by checking the waveform in a Vivado GUI by +running 'make GUI=1 xsim'. More details on +debugging: https://kb.ettus.com/Debugging_FPGA_images + +\subsection rdtesting_fpga_testbenches_auto Automatic Test Procedure Go to <fpga-dir>/usrp3/ and run 'build.py xsim all'. All tests should report 'PASS'. @@ -419,32 +424,6 @@ Note: Any sample rate warnings can be ignored. tbd -\section rdtesting_defining Defining R&D Tests - -Tests can be added any time to define procedures for pass/fail validation. Any -test must include the following: - -- An unambiguous test code. This code consists of three characters that - identify the test, a short description of the devices required, and a version - suffix. Example: `GPS-X310-OCXO-v1` is a GPS-related test, requires an X310 - and an OCXO to run, and is version 1 of this test. -- A manual testing procedure. This must unambiguously define a set of tasks, - and clearly identify whether or not a test has failed or passed. Tests do not - require any other defined outcome other than 'pass' and 'fail'. -- Optional, but highly recommended: An automatic test procedure. This must - consist of a command, or a script, or a set of commands that can be - automatically executed, and that will report a failure condition by means of - returning a non-zero return value. - -Basic understanding of the operation of USRPs by the test operator should be -assumed when authoring test procedures. The descriptions should be as short as -possible to fully describe, unambiguously, how to reach a pass/fail conclusion. - -Test procedures may be updated at any time. If this happens, a new test code -must be generated, with the version number increased. Old test codes are -considered deprecated (if there exists a version 2 of a test, version 1 should -not be run any more). - \section rdtesting_phasealignment Phase alignment tests | Test Code | Device | Peripherals | Manual Test Procedure | Automatic Test Procedure | @@ -515,5 +494,31 @@ Also supply `--lo-export True,False,False,False` and `--lo-source internal,compa Phase alignment testing with N210 and MIMO cable works like in the case with X3x0 devices but no Octoclock is needed for device synchronization. Instead two N210 devices are connected with a MIMO cable and only one N210 is connected with an ethernet cable to the host computer. Supply `--time-source internal,mimo` and `--clock-source internal,mimo` on the commandline to instruct the N2x0s to share time and clock over the MIMO cable. +\section rdtesting_defining Defining R&D Tests + +Tests can be added any time to define procedures for pass/fail validation. Any +test must include the following: + +- An unambiguous test code. This code consists of three characters that + identify the test, a short description of the devices required, and a version + suffix. Example: `GPS-X310-OCXO-v1` is a GPS-related test, requires an X310 + and an OCXO to run, and is version 1 of this test. +- A manual testing procedure. This must unambiguously define a set of tasks, + and clearly identify whether or not a test has failed or passed. Tests do not + require any other defined outcome other than 'pass' and 'fail'. +- Optional, but highly recommended: An automatic test procedure. This must + consist of a command, or a script, or a set of commands that can be + automatically executed, and that will report a failure condition by means of + returning a non-zero return value. + +Basic understanding of the operation of USRPs by the test operator should be +assumed when authoring test procedures. The descriptions should be as short as +possible to fully describe, unambiguously, how to reach a pass/fail conclusion. + +Test procedures may be updated at any time. If this happens, a new test code +must be generated, with the version number increased. Old test codes are +considered deprecated (if there exists a version 2 of a test, version 1 should +not be run any more). + */ // vim:ft=doxygen: |