The success criteria for this app is that the app executable itself returns
0 (if you run echo $? after running the app, you should see 0 printed out).
This criteria is documented in
https://opencpi.github.io/assets/FMCOMMS_2_3_Rx_Test.pdf.
I suspect you are seeing the printouts that occur due to line 69 in
https://github.com/Geontech/opencpi/blob/release_1.4_zynq_ultra/projects/assets/applications/fmcomms_2_3_rx_test/test_app_maxes.h
- which performs a test write with a manual gain of 72, which is *expected*
to fail in the given scenario, and should not prevent the exit status from
being 0.
If you do in fact have a non-zero exit status, then there are other
problems that need to be addressed.
---------- Forwarded message ---------
From: Walters Dominic A via discuss <discuss_at_lists.opencpi.org>
Date: Tue, Nov 26, 2019 at 3:44 AM
Subject: Re: [Discuss OpenCPI] [UK OFFICIAL] FMCOMMS 3 RX/TX Test
To: discuss_at_lists.opencpi.org <discuss_at_lists.opencpi.org>
Classification: UK OFFICIAL
I am using Geontech's 1.4 version (
https://github.com/Geontech/opencpi/tree/release_1.4_zynq_ultra) that
enables OpenCPI for UltraScale+.
The test prints FAILED after the error message I posted in the first email:
invalid gain 72, supported range [-3 - 71]
Unable to write gain tbl idx reg: 268
Exception thrown: AD9361_config_proxy produced error during execution:
ad9361_set_rx_rf_gain() returned -22.
The only "return" I get (I think) is this -22 before it says FAILED.
-----Original Message-----
From: discuss <discuss-bounces_at_lists.opencpi.org> On Behalf Of Davis Hoover
Sent: 25 November 2019 18:14
To: discuss_at_lists.opencpi.org
Subject: [Discuss OpenCPI] [UK OFFICIAL] FMCOMMS 3 RX/TX Test
What version of OpenCPI are you using? Are you getting a non-zero exit
status? These apps test command & control only, not data, so they are
unaffected by what is connected the FMCOMMS RF ports.
---------- Forwarded message ---------
From: Walters Dominic A via discuss <discuss_at_lists.opencpi.org>
Date: Mon, Nov 25, 2019 at 11:32 AM
Subject: [Discuss OpenCPI] [UK OFFICIAL] FMCOMMS 3 RX/TX Test
To: discuss_at_lists.opencpi.org <discuss_at_lists.opencpi.org>
Classification: UK OFFICIAL
Hi again,
Last week I asked for advice on getting an FMC slot working on a ZCU102.
I think I have the FMC slot on my board at least partially working, and
I've been running the "fmcomms_2_3_rx_test" and "fmcomms_2_3_tx_test" apps
to try it out.
Both tests run until they get to the first test in the
"test_app_rx_value_corruption.h" file, where it tries to set rx_rf_gain_db.
I'm getting the error message:
invalid gain 72, supported range [-3 - 71] Unable to write gain tbl idx
reg: 268 Exception thrown: AD9361_config_proxy produced error during
execution:
ad9361_set_rx_rf_gain() returned -22.
Any suggestions as to where I should go from here?
I should mention although I have the FMCOMMS card plugged into my board, I
currently lack the capacity to provide it a source (i.e. the actual rf
ports aren't attached to anything).
Could this be my problem?
Thank you for any advice you have,
Dominic Walters
Engineer
Counter Terrorism & Security (CTS) Division [dstl] Porton Down
"This e-mail and any attachment(s) is intended for the recipient only.
Its unauthorised use,
disclosure, storage or copying is not permitted. Communications with Dstl
are monitored and/or recorded for system efficiency and other lawful
purposes, including business intelligence, business metrics and training.
Any views or opinions expressed in this e-mail do not necessarily reflect
Dstl policy."
"If you are not the intended recipient, please remove it from your system
and notify the author of the email and centralenq_at_dstl.gov.uk"
Received on Tue Nov 26 2019 - 18:05:19 CST