Windows based IIO Oscope v.13 issue crashing

I'm using Windows 10 with IIO Oscope version .13  - master-fg60115E.  I'm trying to connect to the Arria10 SoC with the ADRV9371-W EVkit.  The version used on the SD card is 2019_R1-2020_06_22.img and the SoC is booting without a problem.  

==== From the Arria 10 SoC ===

[ 1.639454] ad9371 spi0.1: ad9371_probe : enter
[ 1.645588] ad9371 spi0.1: ad9371_probe : enter
[ 2.432479] random: crng init done
[ 8.131905] ad9371 spi0.1: framerStatus (0x20)
[ 8.314412] ad9371 spi0.1: ad9371_probe : AD9371 Rev 4, Firmware 5.2.2 API version: 1.5.2.3566 successfully initialized
[ 8.352237] cf_axi_dds ff254000.axi-ad9371-tx-hpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0xFF254000 mapped to 0xf09a8000, probed DDS AD9371
[ 8.386419] cf_axi_adc ff250000.axi-ad9371-rx-hpc: ADI AIM (10.01.b) at 0xFF250000 mapped to 0xf09b0000, probed ADC AD9371 as MASTER
[ 8.398539] of_cfs_init
[ 8.401033] of_cfs_init: OK
[ 8.404209] ttyS0 - failed to request DMA
[ 8.440739] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 8.448860] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 8.465022] devtmpfs: mounted
[ 8.469650] Freeing unused kernel memory: 1024K
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
[ 8.902653] init: hwclock main process (777) terminated with status 1
* Setting up X socket directories... [ OK ]
* STARTDISTCC is set to false in /etc/default/distcc
* /usr/bin/distccd not starting
* Starting IIO Daemon iiod [ OK ]

===============

In IIO Scope, the connection is via IP so in the manual box - I type "ip:192.168.1.120" and when I connect, the IIO scope application always gets "osc.exe has stopped working".

Is there some issue with IIO scope and Windows 10?

  • 0
    •  Analog Employees 
    on Mar 3, 2021 6:48 PM 1 month ago

    From the board can you run: iio_attr -d

    -Travis

  • 0
    •  Analog Employees 
    on Mar 3, 2021 6:58 PM 1 month ago in reply to travisfcollins

    root@analog:~# iio_attr -d
    IIO context has 4 devices:
    iio:device0, ad9528-1: found 9 device attributes
    iio:device1, ad9371-phy: found 9 device attributes
    iio:device2, axi-ad9371-tx-hpc: found 0 device attributes
    iio:device3, axi-ad9371-rx-hpc: found 0 device attributes

  • 0
    •  Analog Employees 
    on Mar 3, 2021 8:21 PM 1 month ago in reply to jshu

    Attached is the dmesg output from the A10 SoC

    dmesg.txt
    [    0.007920] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.007937] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.011860] NET: Registered protocol family 16
    [    0.013739] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.014558] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.014570] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.032988] SCSI subsystem initialized
    [    0.033199] usbcore: registered new interface driver usbfs
    [    0.033246] usbcore: registered new interface driver hub
    [    0.033304] usbcore: registered new device driver usb
    [    0.033445] usb_phy_generic soc:usbphy: soc:usbphy supply vcc not found, using dummy regulator
    [    0.119888] lcd-comm 0-0028: LCD driver initialized
    [    0.120352] pps_core: LinuxPPS API ver. 1 registered
    [    0.120360] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.120376] PTP clock support registered
    [    0.120530] FPGA manager framework
    [    0.121890] clocksource: Switched to clocksource timer1
    [    0.160748] NET: Registered protocol family 2
    [    0.161180] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.161243] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.161344] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.161436] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.161481] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.161618] NET: Registered protocol family 1
    [    0.161956] RPC: Registered named UNIX socket transport module.
    [    0.161964] RPC: Registered udp transport module.
    [    0.161969] RPC: Registered tcp transport module.
    [    0.161974] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.163458] workingset: timestamp_bits=30 max_order=18 bucket_order=0
    [    0.168445] NFS: Registering the id_resolver key type
    [    0.168480] Key type id_resolver registered
    [    0.168485] Key type id_legacy registered
    [    0.168515] ntfs: driver 2.1.32 [Flags: R/W].
    [    0.168699] jffs2: version 2.2. (NAND) \xffffffc2\xffffffa9\xffffffa9 2001-2006 Red Hat, Inc.
    [    0.169823] bounce: pool size: 64 pages
    [    0.169842] io scheduler noop registered (default)
    [    0.169848] io scheduler mq-deadline registered
    [    0.169853] io scheduler kyber registered
    [    0.174758] dma-pl330 ffda1000.pdma: Loaded driver for PL330 DMAC-341330
    [    0.174775] dma-pl330 ffda1000.pdma: 	DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
    [    0.178804] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    0.179735] console [ttyS0] disabled
    [    0.179782] ffc02100.serial1: ttyS0 at MMIO 0xffc02100 (irq = 37, base_baud = 6250000) is a 16550A
    [    0.778325] console [ttyS0] enabled
    [    0.783298] brd: module loaded
    [    0.787575] at24 0-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
    [    0.795687] spi_altera ff200040.spi: base f0909040, irq 40
    [    0.802174] libphy: Fixed MDIO Bus: probed
    [    0.806876] CAN device driver interface
    [    0.811157] socfpga-dwmac ff800000.ethernet: PTP uses main clock
    [    0.817335] stmmac - user ID: 0x10, Synopsys ID: 0x37
    [    0.822389] socfpga-dwmac ff800000.ethernet: Ring mode enabled
    [    0.828198] socfpga-dwmac ff800000.ethernet: DMA HW capability register supported
    [    0.835751] socfpga-dwmac ff800000.ethernet: Enhanced/Alternate descriptors
    [    0.842689] socfpga-dwmac ff800000.ethernet: Enabled extended descriptors
    [    0.849445] socfpga-dwmac ff800000.ethernet: RX Checksum Offload Engine supported
    [    0.856898] socfpga-dwmac ff800000.ethernet: COE Type 2
    [    0.862104] socfpga-dwmac ff800000.ethernet: TX Checksum insertion supported
    [    0.869121] socfpga-dwmac ff800000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [    0.884255] libphy: stmmac: probed
    [    0.887654] Micrel KSZ9031 Gigabit PHY stmmac-0:07: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
    [    0.901254] dwc2 ffb00000.usb: ffb00000.usb supply vusb_d not found, using dummy regulator
    [    0.909548] dwc2 ffb00000.usb: ffb00000.usb supply vusb_a not found, using dummy regulator
    [    0.917919] dwc2 ffb00000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM
    [    0.925733] dwc2 ffb00000.usb: DWC OTG Controller
    [    0.930435] dwc2 ffb00000.usb: new USB bus registered, assigned bus number 1
    [    0.937499] dwc2 ffb00000.usb: irq 38, io mem 0xffb00000
    [    0.942938] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.949697] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.956899] usb usb1: Product: DWC OTG Controller
    [    0.961581] usb usb1: Manufacturer: Linux 4.14.73-ltsi-ge70c7af dwc2_hsotg
    [    0.968431] usb usb1: SerialNumber: ffb00000.usb
    [    0.973484] hub 1-0:1.0: USB hub found
    [    0.977252] hub 1-0:1.0: 1 port detected
    [    0.981814] usbcore: registered new interface driver usb-storage
    [    0.990384] rtc-ds1307 0-0068: SET TIME!
    [    1.002010] rtc-ds1307 0-0068: registered as rtc0
    [    1.006782] i2c /dev entries driver
    [    1.010465] IR NEC protocol handler initialized
    [    1.015001] IR RC5(x/sz) protocol handler initialized
    [    1.020029] IR RC6 protocol handler initialized
    [    1.024544] IR JVC protocol handler initialized
    [    1.029051] IR Sony protocol handler initialized
    [    1.033651] IR SANYO protocol handler initialized
    [    1.038331] IR Sharp protocol handler initialized
    [    1.043016] IR MCE Keyboard/mouse protocol handler initialized
    [    1.048819] IR XMP protocol handler initialized
    [    1.056683] ltc2978: probe of 0-005c failed with error -121
    [    1.062976] Synopsys Designware Multimedia Card Interface Driver
    [    1.069067] dw_mmc ff808000.dwmmc0: 'num-slots' was deprecated.
    [    1.075099] dw_mmc ff808000.dwmmc0: IDMAC supports 32-bit address mode.
    [    1.081751] dw_mmc ff808000.dwmmc0: Using internal DMA controller.
    [    1.087934] dw_mmc ff808000.dwmmc0: Version ID is 270a
    [    1.093097] dw_mmc ff808000.dwmmc0: DW MMC controller at irq 31,32 bit host data width,1024 deep fifo
    [    1.102354] mmc_host mmc0: card is polling.
    [    1.131904] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
    [    1.162364] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.168506] usbcore: registered new interface driver usbhid
    [    1.174074] usbhid: USB HID core driver
    [    1.178429] ad9371 spi0.1: ad9371_probe : enter
    [    1.183460] ad9528 spi0.0: spi0.0 supply vcc not found, using dummy regulator
    [    1.201275] random: fast init done
    [    1.234170] altera-a10-fpll ff245000.altera-a10-fpll: FPLL PLL calibration OK (1400 us)
    [    1.244067] altera-a10-fpll ff235000.altera-a10-fpll: FPLL PLL calibration OK (1400 us)
    [    1.254060] altera-a10-fpll ff225000.altera-a10-fpll: FPLL PLL calibration OK (1400 us)
    [    1.295209] altera_adxcvr ff224000.axi-ad9371-tx-xcvr: ATX PLL calibration OK (20 ms)
    [    1.314983] altera_adxcvr ff224000.axi-ad9371-tx-xcvr: Lane 0 TX termination and VOD calibration OK (600 us)
    [    1.344562] altera_adxcvr ff224000.axi-ad9371-tx-xcvr: Lane 1 TX termination and VOD calibration OK (600 us)
    [    1.373200] altera_adxcvr ff224000.axi-ad9371-tx-xcvr: Lane 2 TX termination and VOD calibration OK (600 us)
    [    1.390363] altera_adxcvr ff224000.axi-ad9371-tx-xcvr: Lane 3 TX termination and VOD calibration OK (600 us)
    [    1.400174] altera_adxcvr ff224000.axi-ad9371-tx-xcvr: Altera ADXCVR (17.01.a) probed
    [    1.412700] altera_adxcvr ff234000.axi-ad9371-rx-xcvr: Lane 0 CDR/CMU PLL & RX offset calibration OK (600 us)
    [    1.426309] altera_adxcvr ff234000.axi-ad9371-rx-xcvr: Lane 1 CDR/CMU PLL & RX offset calibration OK (600 us)
    [    1.436198] altera_adxcvr ff234000.axi-ad9371-rx-xcvr: Altera ADXCVR (17.01.a) probed
    [    1.449105] altera_adxcvr ff244000.axi-ad9371-rx-os-xcvr: Lane 0 CDR/CMU PLL & RX offset calibration OK (600 us)
    [    1.462950] altera_adxcvr ff244000.axi-ad9371-rx-os-xcvr: Lane 1 CDR/CMU PLL & RX offset calibration OK (600 us)
    [    1.473097] altera_adxcvr ff244000.axi-ad9371-rx-os-xcvr: Altera ADXCVR (17.01.a) probed
    [    1.481530] fpga_manager fpga0: SoCFPGA Arria10 FPGA Manager registered
    [    1.488669] oprofile: no performance counters
    [    1.493139] oprofile: using timer interrupt.
    [    1.498040] NET: Registered protocol family 10
    [    1.502879] altera_adxcvr ff224000.axi-ad9371-tx-xcvr: Setting link rate to 122880000 (lane rate: 4915200)
    [    1.512204] Segment Routing with IPv6
    [    1.512249] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.512693] NET: Registered protocol family 17
    [    1.512707] NET: Registered protocol family 15
    [    1.512710] can: controller area network core (rev 20170425 abi 9)
    [    1.512752] NET: Registered protocol family 29
    [    1.512756] can: raw protocol (rev 20170425)
    [    1.512758] can: broadcast manager protocol (rev 20170425 t)
    [    1.512764] can: netlink gateway (rev 20170425) max_hops=1
    [    1.512905] 8021q: 802.1Q VLAN Support v1.8
    [    1.512942] Key type dns_resolver registered
    [    1.513006] ThumbEE CPU extension supported.
    [    1.513014] Registering SWP/SWPB emulation handler
    [    1.534241] ad9371 spi0.1: ad9371_probe : enter
    [    1.535801] ad9371 spi0.1: ad9371_probe : enter
    [    1.584355] altera_adxcvr ff234000.axi-ad9371-rx-xcvr: Setting link rate to 122880000 (lane rate: 4915200)
    [    1.595012] altera_adxcvr ff244000.axi-ad9371-rx-os-xcvr: Setting link rate to 122880000 (lane rate: 4915200)
    [    1.617136] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
    [    1.626887] mmc0: new high speed SDHC card at address aaaa
    [    1.632660] mmcblk0: mmc0:aaaa SB16G 14.8 GiB 
    [    1.641099]  mmcblk0: p1 p2 p3
    [    2.312658] random: crng init done
    [    7.982243] ad9371 spi0.1: framerStatus (0x20)
    [    8.164868] ad9371 spi0.1: ad9371_probe : AD9371 Rev 4, Firmware 5.2.2 API version: 1.5.2.3566 successfully initialized
    [    8.202530] cf_axi_dds ff254000.axi-ad9371-tx-hpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0xFF254000 mapped to 0xf09a8000, probed DDS AD9371
    [    8.236697] cf_axi_adc ff250000.axi-ad9371-rx-hpc: ADI AIM (10.01.b) at 0xFF250000 mapped to 0xf09b0000, probed ADC AD9371 as MASTER
    [    8.248804] of_cfs_init
    [    8.251295] of_cfs_init: OK
    [    8.254483] ttyS0 - failed to request DMA
    [    8.404526] EXT4-fs (mmcblk0p2): recovery complete
    [    8.410287] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    8.418392] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    8.434513] devtmpfs: mounted
    [    8.439137] Freeing unused kernel memory: 1024K
    [    8.875649] init: hwclock main process (779) terminated with status 1
    [    9.594401] systemd-udevd[869]: starting version 204
    [   10.649615] init: udev-fallback-graphics main process (1250) terminated with status 1
    [   11.579761] Micrel KSZ9031 Gigabit PHY stmmac-0:07: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
    [   11.586841] dwmac1000: Master AXI performs any burst length
    [   11.586870] socfpga-dwmac ff800000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
    [   11.588217] socfpga-dwmac ff800000.ethernet eth0: registered PTP clock
    [   11.588510] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   12.099404] init: failsafe main process (1317) killed by TERM signal
    [   13.245698] init: alsa-restore main process (1583) terminated with status 19
    [   13.282805] init: samba-ad-dc main process (1491) terminated with status 1
    [   14.095376] init: tty1 main process (1704) killed by TERM signal
    [   14.557457] init: lightdm main process (1542) terminated with status 1
    [   14.713383] socfpga-dwmac ff800000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   14.713443] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 4390.416504] ERROR: 0: MYKONOS_setupTempSensor()
    [ 4390.421364] ERROR: 0: MYKONOS_startTempMeasurement()
    [ 4390.426783] ERROR: 0: MYKONOS_readTempSensor()
    [ 5529.764227] ERROR: 0: MYKONOS_setupTempSensor()
    [ 5529.769066] ERROR: 0: MYKONOS_startTempMeasurement()
    [ 5529.774205] ERROR: 0: MYKONOS_readTempSensor()
    [ 5921.292248] ad9371 spi0.1: framerStatus (0x20)
    [ 5921.292338] ad9371 spi0.1: obsFramerStatus (0x20)
    [ 5998.372251] ad9371 spi0.1: framerStatus (0x20)
    [ 5998.372340] ad9371 spi0.1: obsFramerStatus (0x20)
    [ 6217.343463] ERROR: 0: MYKONOS_setupTempSensor()
    [ 6217.348331] ERROR: 0: MYKONOS_startTempMeasurement()
    [ 6217.353752] ERROR: 0: MYKONOS_readTempSensor()
    

  • 0
    •  Analog Employees 
    on Mar 4, 2021 7:19 AM 1 month ago in reply to jshu

    Can you try this (latest CI) build here - there were some issues regarding error handling which were fixed recently.

    https://ci.appveyor.com/project/analogdevicesinc/iio-oscilloscope/build/artifacts

    -Michael

  • 0
    •  Analog Employees 
    on Mar 4, 2021 3:51 PM 1 month ago in reply to mhennerich

    I don't see any build artifacts in this link to download.