Post Go back to editing

IIO Oscilloscope can't connect to device running custom firmware, but will connect to Kuiper Linux

Category: Software

I am using the CN0540 with a DE10-Nano, If I use a Kuiper Linux image osc will see the device and can connect to it, if I'm using my custom firmware (5.10 adi linux, built with yocto) osc will see the device just like with the Kuiper image, but when I click connect the window will freeze for a second, the blue LED sw_cc on the CN0540 will illuminate, then osc crashes, and nothing happens after.

libiio on the device is version 0.25.

osc is on version 0.16.

There was a point earlier in development that osc would work with our custom firmware, but I haven't used osc in a while, and I don't know what change would have caused an issue.

Some of the changes include adding support for swupdate, and adding some gpios to the HDL and devicetree.

This is the output from iiod when trying to connect:

New client connected from fe80::529a:df3:54df:bd10%end0
New client connected from 192.168.1.154
Client exited
Client exited
New client connected from fe80::529a:df3:54df:bd10%end0
Client exited
New client connected from 192.168.1.154
Client exited
New client connected from fe80::529a:df3:54df:bd10%end0
Client exited
New client connected from fe80::529a:df3:54df:bd10%end0
Client exited

Is there any configuration for iiod, I missed? Are there any log files I could check?

Parents
  • Hello,

    This was indeed a bug in osc.

    We fixed it here : https://github.com/analogdevicesinc/iio-oscilloscope/commit/8ae984733f07ff60b4a01567636d1bef219da41c

    Rebuilding osc using the branch above should solve the crash.

    Let me know if this fixes your issue.

    Thanks.

    -- Cristina

  • Hello ,

    I do not currently have a linux system set up to build osc, are there any build instructions for windows?

    Windows is where I have been using osc anyway, and would like to test on the same system where the problem originally occurred.

    I mistakenly forgot to mention that in my question.

    Thanks,

    --- Wyatt

  • Hi, Wyatt.

    We provide windows installers that you can download from our github repo, in the actions tab, in the artifact section.
    Here's the installer for that specific commit : https://github.com/analogdevicesinc/iio-oscilloscope/actions/runs/6390209340

    Please make sure that you are logged into github, in order to be able to download the installer.
    Let me know if this fixes your issue.

    Thanks.

    --Cristina

  • Hi Cristina,

    I've installed the version of osc you linked, however it doesn't seem to have affected the issue, osc still crashes right after connecting to the device.

    Here are two outputs from iio_info, one before trying to connect with osc, and one from after, hopefully helpful when finding what is causing osc to crash.

    Before:

    iio_info version: 0.25 (git tag:b6028fde)
    Libiio version: 0.25 (git tag: b6028fd) backends: local xml ip serial
    IIO context created with local backend.
    Backend version: 0.25 (git tag: b6028fd)
    Backend description string: Linux HydraVibrationMonitor 5.10.0-yocto-standard-adi #1 SMP Thu Jun 1 14:38:12 UTC 2023 armv7l
    IIO context has 2 attributes:
            local,kernel: 5.10.0-yocto-standard-adi
            uri: local:
    IIO context has 5 devices:
            iio:device0: ad7768-1 (buffer capable)
                    1 channels found:
                            voltage0:  (input, index: 0, format: le:s24/32>>8)
                            2 channel-specific attributes found:
                                    attr  0: raw value: -2135407
                                    attr  1: scale value: 0.000488281
                    4 device-specific attributes found:
                                    attr  0: common_mode_voltage value: (AVDD1-AVSS)/2
                                    attr  1: common_mode_voltage_available value: (AVDD1-AVSS)/2 2V5 2V05 1V9 1V65 1V1 0V9 OFF
                                    attr  2: sampling_frequency value: 256000
                                    attr  3: sampling_frequency_available value: 256000 128000 64000 32000 16000 8000 4000 2000 1000
                    2 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 16
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x0
                    No trigger on this device
            iio:device1: ltc2308
                    8 channels found:
                            voltage6:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 117
                                    attr  1: scale value: 1.000000000
                            voltage3:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 115
                                    attr  1: scale value: 1.000000000
                            voltage7:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 125
                                    attr  1: scale value: 1.000000000
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 121
                                    attr  1: scale value: 1.000000000
                            voltage4:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 117
                                    attr  1: scale value: 1.000000000
                            voltage1:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 121
                                    attr  1: scale value: 1.000000000
                            voltage5:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 119
                                    attr  1: scale value: 1.000000000
                            voltage2:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 118
                                    attr  1: scale value: 1.000000000
                    2 device-specific attributes found:
                                    attr  0: sleep_mode value: DISABLED
                                    attr  1: sleep_mode_available value: DISABLED ENABLED
                    No trigger on this device
            iio:device2: one-bit-adc-dac
                    18 channels found:
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_sw_ff_gpio
                                    attr  1: raw value: 0
                            voltage1:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_red_led
                                    attr  1: raw value: 0
                            voltage5:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_DIS
                                    attr  1: raw value: 0
                            voltage10:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_3
                                    attr  1: raw value: 0
                            voltage9:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_2
                                    attr  1: raw value: 0
                            voltage0:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_blue_led
                                    attr  1: raw value: 0
                            voltage12:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_5
                                    attr  1: raw value: 0
                            voltage13:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_6
                                    attr  1: raw value: 0
                            voltage16:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_9
                                    attr  1: raw value: 0
                            voltage3:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio0
                                    attr  1: raw value: 0
                            voltage6:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_MODE
                                    attr  1: raw value: 0
                            voltage2:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_shutdown_gpio
                                    attr  1: raw value: 0
                            voltage11:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_4
                                    attr  1: raw value: 0
                            voltage14:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_7
                                    attr  1: raw value: 0
                            voltage4:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio1
                                    attr  1: raw value: 0
                            voltage7:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_0
                                    attr  1: raw value: 0
                            voltage8:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_1
                                    attr  1: raw value: 0
                            voltage15:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_8
                                    attr  1: raw value: 0
                    No trigger on this device
            iio:device3: ltc2606
                    1 channels found:
                            voltage0:  (output)
                            5 channel-specific attributes found:
                                    attr  0: powerdown value: 0
                                    attr  1: powerdown_mode value: 90kohm_to_gnd
                                    attr  2: powerdown_mode_available value: 90kohm_to_gnd
                                    attr  3: raw value: 32768
                                    attr  4: scale value: 0.062500000
                    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
    

    After:

    iio_info version: 0.25 (git tag:b6028fde)
    Libiio version: 0.25 (git tag: b6028fd) backends: local xml ip serial
    IIO context created with local backend.
    Backend version: 0.25 (git tag: b6028fd)
    Backend description string: Linux HydraVibrationMonitor 5.10.0-yocto-standard-adi #1 SMP Thu Jun 1 14:38:12 UTC 2023 armv7l
    IIO context has 2 attributes:
            local,kernel: 5.10.0-yocto-standard-adi
            uri: local:
    IIO context has 5 devices:
            iio:device0: ad7768-1 (buffer capable)
                    1 channels found:
                            voltage0:  (input, index: 0, format: le:s24/32>>8)
                            2 channel-specific attributes found:
                                    attr  0: raw value: -2093715
                                    attr  1: scale value: 0.000488281
                    4 device-specific attributes found:
                                    attr  0: common_mode_voltage value: (AVDD1-AVSS)/2
                                    attr  1: common_mode_voltage_available value: (AVDD1-AVSS)/2 2V5 2V05 1V9 1V65 1V1 0V9 OFF
                                    attr  2: sampling_frequency value: 256000
                                    attr  3: sampling_frequency_available value: 256000 128000 64000 32000 16000 8000 4000 2000 1000
                    2 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 16
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x0
                    No trigger on this device
            iio:device1: ltc2308
                    8 channels found:
                            voltage6:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 124
                                    attr  1: scale value: 1.000000000
                            voltage3:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 124
                                    attr  1: scale value: 1.000000000
                            voltage7:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 134
                                    attr  1: scale value: 1.000000000
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 129
                                    attr  1: scale value: 1.000000000
                            voltage4:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 127
                                    attr  1: scale value: 1.000000000
                            voltage1:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 129
                                    attr  1: scale value: 1.000000000
                            voltage5:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 126
                                    attr  1: scale value: 1.000000000
                            voltage2:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 134
                                    attr  1: scale value: 1.000000000
                    2 device-specific attributes found:
                                    attr  0: sleep_mode value: DISABLED
                                    attr  1: sleep_mode_available value: DISABLED ENABLED
                    No trigger on this device
            iio:device2: one-bit-adc-dac
                    18 channels found:
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_sw_ff_gpio
                                    attr  1: raw value: 0
                            voltage1:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_red_led
                                    attr  1: raw value: 0
                            voltage5:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_DIS
                                    attr  1: raw value: 0
                            voltage10:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_3
                                    attr  1: raw value: 0
                            voltage9:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_2
                                    attr  1: raw value: 0
                            voltage0:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_blue_led
                                    attr  1: raw value: 1
                            voltage12:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_5
                                    attr  1: raw value: 0
                            voltage13:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_6
                                    attr  1: raw value: 0
                            voltage16:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_9
                                    attr  1: raw value: 0
                            voltage3:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio0
                                    attr  1: raw value: 0
                            voltage6:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_MODE
                                    attr  1: raw value: 1
                            voltage2:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_shutdown_gpio
                                    attr  1: raw value: 1
                            voltage11:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_4
                                    attr  1: raw value: 0
                            voltage14:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_7
                                    attr  1: raw value: 0
                            voltage4:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio1
                                    attr  1: raw value: 0
                            voltage7:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_0
                                    attr  1: raw value: 0
                            voltage8:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_1
                                    attr  1: raw value: 0
                            voltage15:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_8
                                    attr  1: raw value: 0
                    No trigger on this device
            iio:device3: ltc2606
                    1 channels found:
                            voltage0:  (output)
                            5 channel-specific attributes found:
                                    attr  0: powerdown value: 0
                                    attr  1: powerdown_mode value: 90kohm_to_gnd
                                    attr  2: powerdown_mode_available value: 90kohm_to_gnd
                                    attr  3: raw value: 32768
                                    attr  4: scale value: 0.062500000
                    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
    

    Thanks,

    --- Wyatt

Reply
  • Hi Cristina,

    I've installed the version of osc you linked, however it doesn't seem to have affected the issue, osc still crashes right after connecting to the device.

    Here are two outputs from iio_info, one before trying to connect with osc, and one from after, hopefully helpful when finding what is causing osc to crash.

    Before:

    iio_info version: 0.25 (git tag:b6028fde)
    Libiio version: 0.25 (git tag: b6028fd) backends: local xml ip serial
    IIO context created with local backend.
    Backend version: 0.25 (git tag: b6028fd)
    Backend description string: Linux HydraVibrationMonitor 5.10.0-yocto-standard-adi #1 SMP Thu Jun 1 14:38:12 UTC 2023 armv7l
    IIO context has 2 attributes:
            local,kernel: 5.10.0-yocto-standard-adi
            uri: local:
    IIO context has 5 devices:
            iio:device0: ad7768-1 (buffer capable)
                    1 channels found:
                            voltage0:  (input, index: 0, format: le:s24/32>>8)
                            2 channel-specific attributes found:
                                    attr  0: raw value: -2135407
                                    attr  1: scale value: 0.000488281
                    4 device-specific attributes found:
                                    attr  0: common_mode_voltage value: (AVDD1-AVSS)/2
                                    attr  1: common_mode_voltage_available value: (AVDD1-AVSS)/2 2V5 2V05 1V9 1V65 1V1 0V9 OFF
                                    attr  2: sampling_frequency value: 256000
                                    attr  3: sampling_frequency_available value: 256000 128000 64000 32000 16000 8000 4000 2000 1000
                    2 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 16
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x0
                    No trigger on this device
            iio:device1: ltc2308
                    8 channels found:
                            voltage6:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 117
                                    attr  1: scale value: 1.000000000
                            voltage3:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 115
                                    attr  1: scale value: 1.000000000
                            voltage7:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 125
                                    attr  1: scale value: 1.000000000
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 121
                                    attr  1: scale value: 1.000000000
                            voltage4:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 117
                                    attr  1: scale value: 1.000000000
                            voltage1:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 121
                                    attr  1: scale value: 1.000000000
                            voltage5:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 119
                                    attr  1: scale value: 1.000000000
                            voltage2:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 118
                                    attr  1: scale value: 1.000000000
                    2 device-specific attributes found:
                                    attr  0: sleep_mode value: DISABLED
                                    attr  1: sleep_mode_available value: DISABLED ENABLED
                    No trigger on this device
            iio:device2: one-bit-adc-dac
                    18 channels found:
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_sw_ff_gpio
                                    attr  1: raw value: 0
                            voltage1:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_red_led
                                    attr  1: raw value: 0
                            voltage5:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_DIS
                                    attr  1: raw value: 0
                            voltage10:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_3
                                    attr  1: raw value: 0
                            voltage9:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_2
                                    attr  1: raw value: 0
                            voltage0:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_blue_led
                                    attr  1: raw value: 0
                            voltage12:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_5
                                    attr  1: raw value: 0
                            voltage13:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_6
                                    attr  1: raw value: 0
                            voltage16:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_9
                                    attr  1: raw value: 0
                            voltage3:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio0
                                    attr  1: raw value: 0
                            voltage6:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_MODE
                                    attr  1: raw value: 0
                            voltage2:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_shutdown_gpio
                                    attr  1: raw value: 0
                            voltage11:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_4
                                    attr  1: raw value: 0
                            voltage14:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_7
                                    attr  1: raw value: 0
                            voltage4:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio1
                                    attr  1: raw value: 0
                            voltage7:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_0
                                    attr  1: raw value: 0
                            voltage8:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_1
                                    attr  1: raw value: 0
                            voltage15:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_8
                                    attr  1: raw value: 0
                    No trigger on this device
            iio:device3: ltc2606
                    1 channels found:
                            voltage0:  (output)
                            5 channel-specific attributes found:
                                    attr  0: powerdown value: 0
                                    attr  1: powerdown_mode value: 90kohm_to_gnd
                                    attr  2: powerdown_mode_available value: 90kohm_to_gnd
                                    attr  3: raw value: 32768
                                    attr  4: scale value: 0.062500000
                    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
    

    After:

    iio_info version: 0.25 (git tag:b6028fde)
    Libiio version: 0.25 (git tag: b6028fd) backends: local xml ip serial
    IIO context created with local backend.
    Backend version: 0.25 (git tag: b6028fd)
    Backend description string: Linux HydraVibrationMonitor 5.10.0-yocto-standard-adi #1 SMP Thu Jun 1 14:38:12 UTC 2023 armv7l
    IIO context has 2 attributes:
            local,kernel: 5.10.0-yocto-standard-adi
            uri: local:
    IIO context has 5 devices:
            iio:device0: ad7768-1 (buffer capable)
                    1 channels found:
                            voltage0:  (input, index: 0, format: le:s24/32>>8)
                            2 channel-specific attributes found:
                                    attr  0: raw value: -2093715
                                    attr  1: scale value: 0.000488281
                    4 device-specific attributes found:
                                    attr  0: common_mode_voltage value: (AVDD1-AVSS)/2
                                    attr  1: common_mode_voltage_available value: (AVDD1-AVSS)/2 2V5 2V05 1V9 1V65 1V1 0V9 OFF
                                    attr  2: sampling_frequency value: 256000
                                    attr  3: sampling_frequency_available value: 256000 128000 64000 32000 16000 8000 4000 2000 1000
                    2 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 16
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x0
                    No trigger on this device
            iio:device1: ltc2308
                    8 channels found:
                            voltage6:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 124
                                    attr  1: scale value: 1.000000000
                            voltage3:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 124
                                    attr  1: scale value: 1.000000000
                            voltage7:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 134
                                    attr  1: scale value: 1.000000000
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 129
                                    attr  1: scale value: 1.000000000
                            voltage4:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 127
                                    attr  1: scale value: 1.000000000
                            voltage1:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 129
                                    attr  1: scale value: 1.000000000
                            voltage5:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 126
                                    attr  1: scale value: 1.000000000
                            voltage2:  (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 134
                                    attr  1: scale value: 1.000000000
                    2 device-specific attributes found:
                                    attr  0: sleep_mode value: DISABLED
                                    attr  1: sleep_mode_available value: DISABLED ENABLED
                    No trigger on this device
            iio:device2: one-bit-adc-dac
                    18 channels found:
                            voltage0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_sw_ff_gpio
                                    attr  1: raw value: 0
                            voltage1:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_red_led
                                    attr  1: raw value: 0
                            voltage5:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_DIS
                                    attr  1: raw value: 0
                            voltage10:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_3
                                    attr  1: raw value: 0
                            voltage9:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_2
                                    attr  1: raw value: 0
                            voltage0:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_blue_led
                                    attr  1: raw value: 1
                            voltage12:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_5
                                    attr  1: raw value: 0
                            voltage13:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_6
                                    attr  1: raw value: 0
                            voltage16:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_9
                                    attr  1: raw value: 0
                            voltage3:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio0
                                    attr  1: raw value: 0
                            voltage6:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_FDA_MODE
                                    attr  1: raw value: 1
                            voltage2:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_shutdown_gpio
                                    attr  1: raw value: 1
                            voltage11:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_4
                                    attr  1: raw value: 0
                            voltage14:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_7
                                    attr  1: raw value: 0
                            voltage4:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: cn0540_ad7768-1-gpio1
                                    attr  1: raw value: 0
                            voltage7:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_0
                                    attr  1: raw value: 0
                            voltage8:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_1
                                    attr  1: raw value: 0
                            voltage15:  (output)
                            2 channel-specific attributes found:
                                    attr  0: label value: mux_8
                                    attr  1: raw value: 0
                    No trigger on this device
            iio:device3: ltc2606
                    1 channels found:
                            voltage0:  (output)
                            5 channel-specific attributes found:
                                    attr  0: powerdown value: 0
                                    attr  1: powerdown_mode value: 90kohm_to_gnd
                                    attr  2: powerdown_mode_available value: 90kohm_to_gnd
                                    attr  3: raw value: 32768
                                    attr  4: scale value: 0.062500000
                    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
    

    Thanks,

    --- Wyatt

Children
No Data