iio-osc error during buffer disable

Hello to all,

    I have zynq platform + adrv 9008-1 as RF board. Reference HDL was downloaded from ADI GitHub for adrv9009 and was modified for Rx only. The design was successfully synthesized and implemented. Moreover, dtb file was also modified according to new addresses. System is booting with new BOOT.BIN file and .dtb file. In order to test the design, I opened iio-osc with osc command. Tool is identifying correct data such as bandwidth, sample rate, rsi date and so on. When i try to capture signal then I get this following error:

CRITICAL: gtk_databox_set_total_limits: assertion top != bottom failed

Error during buffer disable: No such file or directory

Moreover, I tried with iio_readdev command also as mentioned in https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_readdev and after using the guide with my device I am getting following error:

Error during buffer disable: Success

I am using latest version of iio-osc software on latest kuiper linux version from ADI. Here is my iio_info

Library version: 0.21 (git tag: 8b5a339)
Compiled with backends: local xml ip usb
IIO context created with local backend.
Backend version: 0.21 (git tag: 8b5a339)
Backend description string: Linux analog 5.4.0-g2b764b8 #1 SMP PREEMPT Wed May 26 16:08:15 CEST 2021 armv7l
IIO context has 2 attributes:
local,kernel: 5.4.0-g2b764b8
uri: local:
IIO context has 6 devices:
iio:device0: ad7291
9 channels found:
voltage6: (input)
2 channel-specific attributes found:
attr 0: raw value: 905
attr 1: scale value: 0.610351562
temp0: (input)
3 channel-specific attributes found:
attr 0: mean_raw value: 177
attr 1: raw value: 176
attr 2: scale value: 250
voltage3: (input)
2 channel-specific attributes found:
attr 0: raw value: 2732
attr 1: scale value: 0.610351562
voltage7: (input)
2 channel-specific attributes found:
attr 0: raw value: 2130
attr 1: scale value: 0.610351562
voltage0: (input)
2 channel-specific attributes found:
attr 0: raw value: 2824
attr 1: scale value: 0.610351562
voltage4: (input)
2 channel-specific attributes found:
attr 0: raw value: 2978
attr 1: scale value: 0.610351562
voltage1: (input)
2 channel-specific attributes found:
attr 0: raw value: 2142
attr 1: scale value: 0.610351562
voltage5: (input)
2 channel-specific attributes found:
attr 0: raw value: 2980
attr 1: scale value: 0.610351562
voltage2: (input)
2 channel-specific attributes found:
attr 0: raw value: 2029
attr 1: scale value: 0.610351562
No trigger on this device
iio:device1: xadc
9 channels found:
voltage5: vccoddr (input)
2 channel-specific attributes found:
attr 0: raw value: 2067
attr 1: scale value: 0.732421875
voltage0: vccint (input)
2 channel-specific attributes found:
attr 0: raw value: 1376
attr 1: scale value: 0.732421875
voltage4: vccpaux (input)
2 channel-specific attributes found:
attr 0: raw value: 2478
attr 1: scale value: 0.732421875
temp0: (input)
3 channel-specific attributes found:
attr 0: offset value: -2219
attr 1: raw value: 2551
attr 2: scale value: 123.040771484
voltage7: vrefn (input)
2 channel-specific attributes found:
attr 0: raw value: 9
attr 1: scale value: 0.732421875
voltage1: vccaux (input)
2 channel-specific attributes found:
attr 0: raw value: 2461
attr 1: scale value: 0.732421875
voltage2: vccbram (input)
2 channel-specific attributes found:
attr 0: raw value: 1378
attr 1: scale value: 0.732421875
voltage3: vccpint (input)
2 channel-specific attributes found:
attr 0: raw value: 1370
attr 1: scale value: 0.732421875
voltage6: vrefp (input)
2 channel-specific attributes found:
attr 0: raw value: 1708
attr 1: scale value: 0.732421875
1 device-specific attributes found:
attr 0: sampling_frequency value: 961538
No trigger on this device
iio:device2: ad9528-1
4 channels found:
altvoltage12: DEV_SYSREF (output)
3 channel-specific attributes found:
attr 0: frequency value: 3840000
attr 1: phase value: 0.000000
attr 2: raw value: 1
altvoltage1: FMC_CLK (output)
3 channel-specific attributes found:
attr 0: frequency value: 122880000
attr 1: phase value: 0.000000
attr 2: raw value: 1
altvoltage13: DEV_CLK (output)
3 channel-specific attributes found:
attr 0: frequency value: 122880000
attr 1: phase value: 0.000000
attr 2: raw value: 1
altvoltage3: FMC_SYSREF (output)
3 channel-specific attributes found:
attr 0: frequency value: 3840000
attr 1: phase value: 0.000000
attr 2: raw value: 1
9 device-specific attributes found:
attr 0: pll1_feedback_clk_present value: 1
attr 1: pll1_locked value: 0
attr 2: pll1_reference_clk_a_present value: 0
attr 3: pll1_reference_clk_ab_missing value: 1
attr 4: pll1_reference_clk_b_present value: 0
attr 5: pll2_feedback_clk_present value: 1
attr 6: pll2_locked value: 1
attr 7: sync_dividers ERROR: Permission denied (-13)
attr 8: vcxo_clk_present value: 1
1 debug attributes found:
debug attr 0: direct_reg_access value: 0x18
No trigger on this device
iio:device3: adrv9009-phy
20 channels found:
voltage1: (input)
10 channel-specific attributes found:
attr 0: gain_control_mode value: manual
attr 1: gain_control_mode_available value: manual slow_attack
attr 2: gain_control_pin_mode_en value: 0
attr 3: hardwaregain value: 30.000000 dB
attr 4: hd2_tracking_en value: 0
attr 5: powerdown value: 0
attr 6: quadrature_tracking_en value: 0
attr 7: rf_bandwidth value: 100000000
attr 8: rssi value: 44.250 dB
attr 9: sampling_frequency value: 122880000
voltage6: (input)
3 channel-specific attributes found:
attr 0: offset value: 45
attr 1: raw value: 2181
attr 2: scale value: 0.775194
voltage8: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage5: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage0: (input)
10 channel-specific attributes found:
attr 0: gain_control_mode value: manual
attr 1: gain_control_mode_available value: manual slow_attack
attr 2: gain_control_pin_mode_en value: 0
attr 3: hardwaregain value: 30.000000 dB
attr 4: hd2_tracking_en value: 0
attr 5: powerdown value: 0
attr 6: quadrature_tracking_en value: 0
attr 7: rf_bandwidth value: 100000000
attr 8: rssi value: 44.250 dB
attr 9: sampling_frequency value: 122880000
altvoltage0: RX_LO (output)
3 channel-specific attributes found:
attr 0: frequency value: 3750000000
attr 1: frequency_hopping_mode value: 3750000000
attr 2: frequency_hopping_mode_enable value: 0
voltage9: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage4: (input)
3 channel-specific attributes found:
attr 0: offset value: 45
attr 1: raw value: 39
attr 2: scale value: 0.775194
voltage12: (output)
2 channel-specific attributes found:
attr 0: raw value: 0
attr 1: scale value: 0.805861
voltage4: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage10: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage13: (output)
2 channel-specific attributes found:
attr 0: raw value: 0
attr 1: scale value: 0.805861
voltage3: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage7: (input)
3 channel-specific attributes found:
attr 0: offset value: 45
attr 1: raw value: 2153
attr 2: scale value: 0.775194
voltage2: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage6: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
temp0: (input)
1 channel-specific attributes found:
attr 0: input value: 59000
voltage11: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage7: (output)
3 channel-specific attributes found:
attr 0: offset value: 2726
attr 1: raw value: 0
attr 2: scale value: 0.782954
voltage5: (input)
3 channel-specific attributes found:
attr 0: offset value: 45
attr 1: raw value: 2160
attr 2: scale value: 0.775194
9 device-specific attributes found:
attr 0: calibrate ERROR: Input/output error (-5)
attr 1: calibrate_fhm_en value: 0
attr 2: calibrate_rx_phase_correction_en value: 0
attr 3: calibrate_rx_qec_en value: 0
attr 4: ensm_mode value: radio_on
attr 5: ensm_mode_available value: radio_on radio_off
attr 6: gain_table_config ERROR: Permission denied (-13)
attr 7: multichip_sync ERROR: Permission denied (-13)
attr 8: profile_config value: TB
306 debug attributes found:
debug attr 0: gpio3v3 value: 0
debug attr 1: bist_tone value: 0
debug attr 2: bist_framer_b_loopback value: 0
debug attr 3: bist_framer_a_loopback value: 0
debug attr 4: bist_framer_b_prbs value: 0
debug attr 5: bist_framer_a_prbs value: 0
debug attr 6: initialize value: 0
debug attr 7: adi,aux-pll-lo-frequency_hz value: 2500000000
debug attr 8: adi,trx-pll-lo-frequency_hz value: 3750000000
debug attr 9: adi,dig-clocks-rf-pll-phase-sync-mode value: 0
debug attr 10: adi,dig-clocks-rf-pll-use-external-lo value: 0
debug attr 11: adi,dig-clocks-clk-pll-hs-div value: 1
debug attr 12: adi,dig-clocks-clk-pll-vco-freq_khz value: 9830400
debug attr 13: adi,dig-clocks-device-clock_khz value: 122880
debug attr 14: adi,tx-settings-dis-tx-data-if-pll-unlock value: 0
debug attr 15: adi,tx-settings-tx2-atten_md-b value: 10000
debug attr 16: adi,tx-settings-tx1-atten_md-b value: 10000
debug attr 17: adi,tx-settings-tx-atten-step-size value: 0
debug attr 18: adi,tx-settings-tx-channels value: 0
debug attr 19: adi,tx-settings-deframer-sel value: 0
debug attr 20: adi,tx-profile-tx-bbf3d-bcorner_khz value: 56000
debug attr 21: adi,tx-profile-tx-dac3d-bcorner_khz value: 187000
debug attr 22: adi,tx-profile-rf-bandwidth_hz value: 100000000
debug attr 23: adi,tx-profile-primary-sig-bandwidth_hz value: 50000000
debug attr 24: adi,tx-profile-tx-input-rate_khz value: 122880
debug attr 25: adi,tx-profile-tx-int5-interpolation value: 1
debug attr 26: adi,tx-profile-thb3-interpolation value: 2
debug attr 27: adi,tx-profile-thb2-interpolation value: 2
debug attr 28: adi,tx-profile-thb1-interpolation value: 2
debug attr 29: adi,tx-profile-tx-fir-interpolation value: 2
debug attr 30: adi,tx-profile-dac-div value: 1
debug attr 31: adi,tx-profile-tx-fir-num-fir-coefs value: 80
debug attr 32: adi,tx-profile-tx-fir-gain_db value: 6
debug attr 33: adi,obs-settings-obs-rx-lo-source value: 0
debug attr 34: adi,obs-settings-obs-rx-channels-enable value: 0
debug attr 35: adi,obs-settings-framer-sel value: 1
debug attr 36: adi,orx-gain-control-orx2-min-gain-index value: 195
debug attr 37: adi,orx-gain-control-orx2-max-gain-index value: 255
debug attr 38: adi,orx-gain-control-orx1-min-gain-index value: 195
debug attr 39: adi,orx-gain-control-orx1-max-gain-index value: 255
debug attr 40: adi,orx-gain-control-orx2-gain-index value: 255
debug attr 41: adi,orx-gain-control-orx1-gain-index value: 255
debug attr 42: adi,orx-gain-control-gain-mode value: 0
debug attr 43: adi,orx-profile-orx-ddc-mode value: 0
debug attr 44: adi,orx-profile-rx-bbf3d-bcorner_khz value: 225000
debug attr 45: adi,orx-profile-rf-bandwidth_hz value: 100000000
debug attr 46: adi,orx-profile-orx-output-rate_khz value: 122880
debug attr 47: adi,orx-profile-rhb1-decimation value: 2
debug attr 48: adi,orx-profile-rx-dec5-decimation value: 4
debug attr 49: adi,orx-profile-rx-fir-decimation value: 2
debug attr 50: adi,orx-profile-rx-fir-num-fir-coefs value: 48
debug attr 51: adi,orx-profile-rx-fir-gain_db value: 250
debug attr 52: adi,rx-settings-rx-channels value: 3
debug attr 53: adi,rx-settings-framer-sel value: 0
debug attr 54: adi,rx-gain-control-rx2-min-gain-index value: 195
debug attr 55: adi,rx-gain-control-rx2-max-gain-index value: 255
debug attr 56: adi,rx-gain-control-rx1-min-gain-index value: 195
debug attr 57: adi,rx-gain-control-rx1-max-gain-index value: 255
debug attr 58: adi,rx-gain-control-rx2-gain-index value: 255
debug attr 59: adi,rx-gain-control-rx1-gain-index value: 255
debug attr 60: adi,rx-gain-control-gain-mode value: 0
debug attr 61: adi,rx-nco-shifter-band-bnco2-freq_khz value: 0
debug attr 62: adi,rx-nco-shifter-band-bnco1-freq_khz value: 0
debug attr 63: adi,rx-nco-shifter-band-binput-center-freq_khz value: 0
debug attr 64: adi,rx-nco-shifter-band-binput-band-width_khz value: 0
debug attr 65: adi,rx-nco-shifter-band-a-nco2-freq_khz value: 0
debug attr 66: adi,rx-nco-shifter-band-a-nco1-freq_khz value: 0
debug attr 67: adi,rx-nco-shifter-band-a-input-center-freq_khz value: 0
debug attr 68: adi,rx-nco-shifter-band-a-input-band-width_khz value: 0
debug attr 69: adi,rx-profile-rx-ddc-mode value: 0
debug attr 70: adi,rx-profile-rx-bbf3d-bcorner_khz value: 100000
debug attr 71: adi,rx-profile-rf-bandwidth_hz value: 100000000
debug attr 72: adi,rx-profile-rx-output-rate_khz value: 122880
debug attr 73: adi,rx-profile-rhb1-decimation value: 2
debug attr 74: adi,rx-profile-rx-dec5-decimation value: 4
debug attr 75: adi,rx-profile-rx-fir-decimation value: 2
debug attr 76: adi,rx-profile-rx-fir-num-fir-coefs value: 48
debug attr 77: adi,rx-profile-rx-fir-gain_db value: 250
debug attr 78: adi,tx-pa-protection-tx2-peak-threshold value: 130
debug attr 79: adi,tx-pa-protection-tx1-peak-threshold value: 130
debug attr 80: adi,tx-pa-protection-peak-count value: 4
debug attr 81: adi,tx-pa-protection-tx2-power-threshold value: 4096
debug attr 82: adi,tx-pa-protection-tx1-power-threshold value: 4096
debug attr 83: adi,tx-pa-protection-tx-atten-step value: 2
debug attr 84: adi,tx-pa-protection-avg-duration value: 3
debug attr 85: adi,tx2-atten-ctrl-pin-enable value: 0
debug attr 86: adi,tx2-atten-ctrl-pin-tx-atten-dec-pin value: 7
debug attr 87: adi,tx2-atten-ctrl-pin-tx-atten-inc-pin value: 6
debug attr 88: adi,tx2-atten-ctrl-pin-step-size value: 0
debug attr 89: adi,tx1-atten-ctrl-pin-enable value: 0
debug attr 90: adi,tx1-atten-ctrl-pin-tx-atten-dec-pin value: 5
debug attr 91: adi,tx1-atten-ctrl-pin-tx-atten-inc-pin value: 4
debug attr 92: adi,tx1-atten-ctrl-pin-step-size value: 0
debug attr 93: adi,rx2-gain-ctrl-pin-enable value: 0
debug attr 94: adi,rx2-gain-ctrl-pin-rx-gain-dec-pin value: 4
debug attr 95: adi,rx2-gain-ctrl-pin-rx-gain-inc-pin value: 3
debug attr 96: adi,rx2-gain-ctrl-pin-dec-step value: 1
debug attr 97: adi,rx2-gain-ctrl-pin-inc-step value: 1
debug attr 98: adi,rx1-gain-ctrl-pin-enable value: 0
debug attr 99: adi,rx1-gain-ctrl-pin-rx-gain-dec-pin value: 1
debug attr 100: adi,rx1-gain-ctrl-pin-rx-gain-inc-pin value: 0
debug attr 101: adi,rx1-gain-ctrl-pin-dec-step value: 1
debug attr 102: adi,rx1-gain-ctrl-pin-inc-step value: 1
debug attr 103: adi,fhm-mode-fhm-init-frequency_hz value: 2450000000
debug attr 104: adi,fhm-mode-fhm-exit-mode value: 0
debug attr 105: adi,fhm-mode-fhm-trigger-mode value: 0
debug attr 106: adi,fhm-mode-enable-mcs-sync value: 0
debug attr 107: adi,fhm-mode-fhm-enable value: 0
debug attr 108: adi,fhm-config-fhm-max-freq_mhz value: 100
debug attr 109: adi,fhm-config-fhm-min-freq_mhz value: 100
debug attr 110: adi,fhm-config-fhm-gpio-pin value: 0
debug attr 111: adi,orx-lo-cfg-gpio-select value: 19
debug attr 112: adi,orx-lo-cfg-disable-aux-pll-relocking value: 0
debug attr 113: adi,gpio3v3-output-level-mask value: 0
debug attr 114: adi,gpio3v3-output-enable-mask value: 0
debug attr 115: adi,gpio3v3-source-control value: 0
debug attr 116: adi,arm-gpio-config-en-tx-tracking-cals-enable value: 0
debug attr 117: adi,arm-gpio-config-en-tx-tracking-cals-polarity value: 0
debug attr 118: adi,arm-gpio-config-en-tx-tracking-cals-gpio-pin-sel value: 0
debug attr 119: adi,arm-gpio-config-orx2-tx-sel1-pin-enable value: 0
debug attr 120: adi,arm-gpio-config-orx2-tx-sel1-pin-polarity value: 0
debug attr 121: adi,arm-gpio-config-orx2-tx-sel1-pin-gpio-pin-sel value: 0
debug attr 122: adi,arm-gpio-config-orx2-tx-sel0-pin-enable value: 0
debug attr 123: adi,arm-gpio-config-orx2-tx-sel0-pin-polarity value: 0
debug attr 124: adi,arm-gpio-config-orx2-tx-sel0-pin-gpio-pin-sel value: 0
debug attr 125: adi,arm-gpio-config-orx1-tx-sel1-pin-enable value: 0
debug attr 126: adi,arm-gpio-config-orx1-tx-sel1-pin-polarity value: 0
debug attr 127: adi,arm-gpio-config-orx1-tx-sel1-pin-gpio-pin-sel value: 0
debug attr 128: adi,arm-gpio-config-orx1-tx-sel0-pin-enable value: 0
debug attr 129: adi,arm-gpio-config-orx1-tx-sel0-pin-polarity value: 0
debug attr 130: adi,arm-gpio-config-orx1-tx-sel0-pin-gpio-pin-sel value: 0
debug attr 131: adi,jesd204-sysref-lvds-pn-invert value: 0
debug attr 132: adi,jesd204-sysref-lvds-mode value: 1
debug attr 133: adi,jesd204-des-eq-setting value: 1
debug attr 134: adi,jesd204-des-invert-lane-polarity value: 0
debug attr 135: adi,jesd204-ser-invert-lane-polarity value: 0
debug attr 136: adi,jesd204-ser-pre-emphasis value: 1
debug attr 137: adi,jesd204-ser-amplitude value: 15
debug attr 138: adi,jesd204-deframer-b-enable-manual-lane-xbar value: 0
debug attr 139: adi,jesd204-deframer-b-syncb-out-cmos-drive-level value: 0
debug attr 140: adi,jesd204-deframer-b-syncb-out-cmos-slew-rate value: 0
debug attr 141: adi,jesd204-deframer-b-syncb-out-lvds-pn-invert value: 0
debug attr 142: adi,jesd204-deframer-b-syncb-out-lvds-mode value: 1
debug attr 143: adi,jesd204-deframer-b-np value: 16
debug attr 144: adi,jesd204-deframer-b-syncb-out-select value: 0
debug attr 145: adi,jesd204-deframer-b-new-sysref-on-relink value: 0
debug attr 146: adi,jesd204-deframer-b-lmfc-offset value: 0
debug attr 147: adi,jesd204-deframer-b-deserializer-lane-crossbar value: 228
debug attr 148: adi,jesd204-deframer-b-deserializer-lanes-enabled value: 0
debug attr 149: adi,jesd204-deframer-b-external-sysref value: 1
debug attr 150: adi,jesd204-deframer-b-scramble value: 1
debug attr 151: adi,jesd204-deframer-b-k value: 32
debug attr 152: adi,jesd204-deframer-b-m value: 0
debug attr 153: adi,jesd204-deframer-b-lane0-id value: 0
debug attr 154: adi,jesd204-deframer-b-device-id value: 0
debug attr 155: adi,jesd204-deframer-b-bank-id value: 0
debug attr 156: adi,jesd204-deframer-a-enable-manual-lane-xbar value: 0
debug attr 157: adi,jesd204-deframer-a-syncb-out-cmos-drive-level value: 0
debug attr 158: adi,jesd204-deframer-a-syncb-out-cmos-slew-rate value: 0
debug attr 159: adi,jesd204-deframer-a-syncb-out-lvds-pn-invert value: 0
debug attr 160: adi,jesd204-deframer-a-syncb-out-lvds-mode value: 1
debug attr 161: adi,jesd204-deframer-a-np value: 16
debug attr 162: adi,jesd204-deframer-a-syncb-out-select value: 0
debug attr 163: adi,jesd204-deframer-a-new-sysref-on-relink value: 0
debug attr 164: adi,jesd204-deframer-a-lmfc-offset value: 17
debug attr 165: adi,jesd204-deframer-a-deserializer-lane-crossbar value: 228
debug attr 166: adi,jesd204-deframer-a-deserializer-lanes-enabled value: 15
debug attr 167: adi,jesd204-deframer-a-external-sysref value: 1
debug attr 168: adi,jesd204-deframer-a-scramble value: 1
debug attr 169: adi,jesd204-deframer-a-k value: 32
debug attr 170: adi,jesd204-deframer-a-m value: 0
debug attr 171: adi,jesd204-deframer-a-lane0-id value: 0
debug attr 172: adi,jesd204-deframer-a-device-id value: 0
debug attr 173: adi,jesd204-deframer-a-bank-id value: 0
debug attr 174: adi,jesd204-framer-b-enable-manual-lane-xbar value: 0
debug attr 175: adi,jesd204-framer-b-syncb-in-lvds-pn-invert value: 0
debug attr 176: adi,jesd204-framer-b-syncb-in-lvds-mode value: 1
debug attr 177: adi,jesd204-framer-b-over-sample value: 0
debug attr 178: adi,jesd204-framer-b-syncb-in-select value: 1
debug attr 179: adi,jesd204-framer-b-new-sysref-on-relink value: 0
debug attr 180: adi,jesd204-framer-b-lmfc-offset value: 31
debug attr 181: adi,jesd204-framer-b-serializer-lane-crossbar value: 228
debug attr 182: adi,jesd204-framer-b-serializer-lanes-enabled value: 12
debug attr 183: adi,jesd204-framer-b-external-sysref value: 1
debug attr 184: adi,jesd204-framer-b-scramble value: 1
debug attr 185: adi,jesd204-framer-b-np value: 16
debug attr 186: adi,jesd204-framer-b-f value: 4
debug attr 187: adi,jesd204-framer-b-k value: 32
debug attr 188: adi,jesd204-framer-b-m value: 2
debug attr 189: adi,jesd204-framer-b-lane0-id value: 0
debug attr 190: adi,jesd204-framer-b-device-id value: 0
debug attr 191: adi,jesd204-framer-b-bank-id value: 0
debug attr 192: adi,jesd204-framer-a-enable-manual-lane-xbar value: 0
debug attr 193: adi,jesd204-framer-a-syncb-in-lvds-pn-invert value: 0
debug attr 194: adi,jesd204-framer-a-syncb-in-lvds-mode value: 1
debug attr 195: adi,jesd204-framer-a-over-sample value: 0
debug attr 196: adi,jesd204-framer-a-syncb-in-select value: 0
debug attr 197: adi,jesd204-framer-a-new-sysref-on-relink value: 0
debug attr 198: adi,jesd204-framer-a-lmfc-offset value: 31
debug attr 199: adi,jesd204-framer-a-serializer-lane-crossbar value: 228
debug attr 200: adi,jesd204-framer-a-serializer-lanes-enabled value: 3
debug attr 201: adi,jesd204-framer-a-external-sysref value: 1
debug attr 202: adi,jesd204-framer-a-scramble value: 1
debug attr 203: adi,jesd204-framer-a-np value: 16
debug attr 204: adi,jesd204-framer-a-f value: 4
debug attr 205: adi,jesd204-framer-a-k value: 32
debug attr 206: adi,jesd204-framer-a-m value: 4
debug attr 207: adi,jesd204-framer-a-lane0-id value: 0
debug attr 208: adi,jesd204-framer-a-device-id value: 0
debug attr 209: adi,jesd204-framer-a-bank-id value: 1
debug attr 210: adi,aux-dac-values11 value: 0
debug attr 211: adi,aux-dac-values10 value: 0
debug attr 212: adi,aux-dac-values9 value: 0
debug attr 213: adi,aux-dac-resolution9 value: 0
debug attr 214: adi,aux-dac-vref9 value: 3
debug attr 215: adi,aux-dac-values8 value: 0
debug attr 216: adi,aux-dac-resolution8 value: 0
debug attr 217: adi,aux-dac-vref8 value: 3
debug attr 218: adi,aux-dac-values7 value: 0
debug attr 219: adi,aux-dac-resolution7 value: 0
debug attr 220: adi,aux-dac-vref7 value: 3
debug attr 221: adi,aux-dac-values6 value: 0
debug attr 222: adi,aux-dac-resolution6 value: 0
debug attr 223: adi,aux-dac-vref6 value: 3
debug attr 224: adi,aux-dac-values5 value: 0
debug attr 225: adi,aux-dac-resolution5 value: 0
debug attr 226: adi,aux-dac-vref5 value: 3
debug attr 227: adi,aux-dac-values4 value: 0
debug attr 228: adi,aux-dac-resolution4 value: 0
debug attr 229: adi,aux-dac-vref4 value: 3
debug attr 230: adi,aux-dac-values3 value: 0
debug attr 231: adi,aux-dac-resolution3 value: 0
debug attr 232: adi,aux-dac-vref3 value: 3
debug attr 233: adi,aux-dac-values2 value: 0
debug attr 234: adi,aux-dac-resolution2 value: 0
debug attr 235: adi,aux-dac-vref2 value: 3
debug attr 236: adi,aux-dac-values1 value: 0
debug attr 237: adi,aux-dac-resolution1 value: 0
debug attr 238: adi,aux-dac-vref1 value: 3
debug attr 239: adi,aux-dac-values0 value: 0
debug attr 240: adi,aux-dac-resolution0 value: 0
debug attr 241: adi,aux-dac-vref0 value: 3
debug attr 242: adi,aux-dac-enables value: 0
debug attr 243: adi,rxagc-agc-enable-fast-recovery-loop value: 0
debug attr 244: adi,rxagc-ip3-peak-exceeded-cnt value: 4
debug attr 245: adi,rxagc-ip3-over-range-thresh-index value: 246
debug attr 246: adi,rxagc-ip3-over-range-thresh value: 31
debug attr 247: adi,rxagc-agc-enable-ip3-optimization-thresh value: 0
debug attr 248: adi,rxagc-agc-enable-sync-pulse-for-gain-counter value: 0
debug attr 249: adi,rxagc-agc-reset-on-rxon value: 0
debug attr 250: adi,rxagc-agc-peak-thresh-gain-control-mode value: 1
debug attr 251: adi,rxagc-agc-change-gain-if-thresh-high value: 1
debug attr 252: adi,rxagc-agc-low-thresh-prevent-gain value: 0
debug attr 253: adi,rxagc-agc-slow-loop-settling-delay value: 16
debug attr 254: adi,rxagc-agc-rx2-attack-delay value: 10
debug attr 255: adi,rxagc-agc-rx1-attack-delay value: 10
debug attr 256: adi,rxagc-agc-gain-update-counter_us value: 250
debug attr 257: adi,rxagc-agc-rx2-min-gain-index value: 195
debug attr 258: adi,rxagc-agc-rx2-max-gain-index value: 255
debug attr 259: adi,rxagc-agc-rx1-min-gain-index value: 195
debug attr 260: adi,rxagc-agc-rx1-max-gain-index value: 255
debug attr 261: adi,rxagc-agc-peak-wait-time value: 4
debug attr 262: adi,rxagc-power-power-log-shift value: 0
debug attr 263: adi,rxagc-power-upper1-power-thresh value: 0
debug attr 264: adi,rxagc-power-upper0-power-thresh value: 2
debug attr 265: adi,rxagc-power-rx2-tdd-power-meas-delay value: 1
debug attr 266: adi,rxagc-power-rx2-tdd-power-meas-duration value: 5
debug attr 267: adi,rxagc-power-rx1-tdd-power-meas-delay value: 1
debug attr 268: adi,rxagc-power-rx1-tdd-power-meas-duration value: 5
debug attr 269: adi,rxagc-power-power-measurement-duration value: 5
debug attr 270: adi,rxagc-power-under-range-low-power-gain-step-recovery value: 4
debug attr 271: adi,rxagc-power-under-range-high-power-gain-step-recovery value: 4
debug attr 272: adi,rxagc-power-under-range-low-power-thresh value: 2
debug attr 273: adi,rxagc-power-under-range-high-power-thresh value: 9
debug attr 274: adi,rxagc-power-power-use-bbdc2 value: 0
debug attr 275: adi,rxagc-power-power-use-rfir-out value: 1
debug attr 276: adi,rxagc-power-power-enable-measurement value: 1
debug attr 277: adi,rxagc-peak-hb2-thresh-config value: 3
debug attr 278: adi,rxagc-peak-hb2-ovrg-sel value: 0
debug attr 279: adi,rxagc-peak-hb2-overload-power-mode value: 1
debug attr 280: adi,rxagc-peak-hb2-gain-step-attack value: 4
debug attr 281: adi,rxagc-peak-hb2-gain-step-mid-recovery value: 8
debug attr 282: adi,rxagc-peak-hb2-gain-step-low-recovery value: 4
debug attr 283: adi,rxagc-peak-hb2-gain-step-high-recovery value: 2
debug attr 284: adi,rxagc-peak-hb2-lower-thresh-peak-exceeded-cnt value: 3
debug attr 285: adi,rxagc-peak-hb2-upper-thresh-peak-exceeded-cnt value: 6
debug attr 286: adi,rxagc-peak-hb2-under-range-high-thresh value: 128
debug attr 287: adi,rxagc-peak-hb2-under-range-mid-thresh value: 90
debug attr 288: adi,rxagc-peak-hb2-under-range-low-thresh value: 45
debug attr 289: adi,rxagc-peak-hb2-high-thresh value: 181
debug attr 290: adi,rxagc-peak-hb2-overload-thresh-cnt value: 4
debug attr 291: adi,rxagc-peak-hb2-overload-duration-cnt value: 1
debug attr 292: adi,rxagc-peak-enable-hb2-overload value: 1
debug attr 293: adi,rxagc-peak-apd-gain-step-recovery value: 2
debug attr 294: adi,rxagc-peak-apd-gain-step-attack value: 4
debug attr 295: adi,rxagc-peak-apd-lower-thresh-peak-exceeded-cnt value: 3
debug attr 296: adi,rxagc-peak-apd-upper-thresh-peak-exceeded-cnt value: 6
debug attr 297: adi,rxagc-peak-apd-low-gain-mode-low-thresh value: 19
debug attr 298: adi,rxagc-peak-apd-low-thresh value: 23
debug attr 299: adi,rxagc-peak-apd-low-gain-mode-high-thresh value: 36
debug attr 300: adi,rxagc-peak-apd-high-thresh value: 39
debug attr 301: adi,rxagc-peak-agc-under-range-high-interval value: 4
debug attr 302: adi,rxagc-peak-agc-under-range-mid-interval value: 2
debug attr 303: adi,rxagc-peak-agc-under-range-low-interval_ns value: 205
debug attr 304: adi,default-initial-calibrations-mask value: 9362927
debug attr 305: direct_reg_access value: 0x3C
No trigger on this device
iio:device4: axi-adrv9009-rx-hpc (buffer capable)
4 channels found:
voltage0_i: (input, index: 0, format: le:S16/16>>0)
4 channel-specific attributes found:
attr 0: calibbias value: 0
attr 1: calibphase value: 0.000000
attr 2: calibscale value: 0.000000
attr 3: sampling_frequency value: 122880000
voltage0_q: (input, index: 1, format: le:S16/16>>0)
4 channel-specific attributes found:
attr 0: calibbias value: 0
attr 1: calibphase value: 0.000000
attr 2: calibscale value: 0.000000
attr 3: sampling_frequency value: 122880000
voltage1_i: (input, index: 2, format: le:S16/16>>0)
4 channel-specific attributes found:
attr 0: calibbias value: 0
attr 1: calibphase value: 0.000000
attr 2: calibscale value: 0.000000
attr 3: sampling_frequency value: 122880000
voltage1_q: (input, index: 3, format: le:S16/16>>0)
4 channel-specific attributes found:
attr 0: calibbias value: 0
attr 1: calibphase value: 0.000000
attr 2: calibscale value: 0.000000
attr 3: sampling_frequency value: 122880000
3 buffer-specific attributes found:
attr 0: data_available value: 0
attr 1: length_align_bytes value: 8
attr 2: watermark value: 256
2 debug attributes found:
debug attr 0: pseudorandom_err_check value: CH0 : PN9 : Out of Sync : PN Error
CH1 : PN9 : Out of Sync : PN Error
CH2 : PN9 : Out of Sync : PN Error
CH3 : PN9 : Out of Sync : PN Error
debug attr 1: direct_reg_access value: 0x0
No trigger on this device
iio_sysfs_trigger:
0 channels found:
2 device-specific attributes found:
attr 0: add_trigger ERROR: Permission denied (-13)
attr 1: remove_trigger ERROR: Permission denied (-13)
No trigger on this device

Any help or hint will be much appreciated.

Edit: I tried to debug the error using 9009_iiostream file (https://github.com/analogdevicesinc/libiio/blob/master/examples/adrv9009-iiostream.c) . i modified the file(disabling all Tx) and I can see the Msamples readings but when i interrupt the file using ctrl+c then I am experiencing same mentioned error. I think the error is due to (iio_buffer_destroy(rxbuf))

Thanks and regards.



First edit after trying executing modified 9009_iiostream file.
[edited by: FPGA@noob at 12:42 PM (GMT -4) on 31 May 2021]