AnsweredAssumed Answered

No iio devices found in ADI IIO Oscilloscope

Question asked by rtaylorua on Jul 6, 2018
Latest reply on Jul 9, 2018 by DragosB

I am using the KC705 from Xilinx in conjunction with the AD-FMCDAQ2-EBZ device. I have used it successfully with the IIO Oscilloscope over the network before. Today, I am having trouble using the IIO Oscilloscope tool.

 

When I enter the IP address into the connection tool, it finds the board as evidenced by having "10.115.79.65 Linux buildroot 4.9.0-g1034515e9fa1-dirty #174 Tue May 8 16:17:24 EEST 2018 microblaze" in the "Context Info" section. However, in the "IIO Devices" section, I get "No iio devices found."

 

If I click refresh or OK, it takes me back to the blank ADI IIO Oscilloscope screen.

 

********** Included here is the result of the bit/elf file downloads in Xilinx Microprocessor Debugger 2014.3.1:


****** Xilinx Microprocessor Debugger (XMD) Engine
****** XMD v2014.3.1 (64-bit)
  **** SW Build 1056140 on Thu Oct 30 17:07:39 MDT 2014
    ** Copyright 1986-2014 Xilinx, Inc. All Rights Reserved.

 


XMD%
XMD% pwd
C:/Xilinx/SDK/2014.3.1
XMD% cd c:/Users/taylo019/Documents/Vivado_Projects
XMD% dir
 Volume in drive C is OS
 Volume Serial Number is E4D0-CE87

 

 Directory of c:\Users\taylo019\Documents\Vivado_Projects

 

07/06/2018  08:12 AM    <DIR>          .
07/06/2018  08:12 AM    <DIR>          ..
07/03/2018  10:34 AM    <DIR>          basys3_blinky
07/06/2018  08:12 AM    <DIR>          kc705_adfmcdaq2_quickstart_files
07/04/2018  02:08 PM    <DIR>          kc705_bist
07/04/2018  02:01 PM    <DIR>          kc705_blinky
               0 File(s)              0 bytes
               6 Dir(s)  749,518,839,808 bytes free
XMD% cd kc705_adfmcdaq2_quickstart_files
XMD% dir
 Volume in drive C is OS
 Volume Serial Number is E4D0-CE87

 

 Directory of c:\Users\taylo019\Documents\Vivado_Projects\kc705_adfmcdaq2_quickstart_files

 

07/06/2018  08:12 AM    <DIR>          .
07/06/2018  08:12 AM    <DIR>          ..
05/08/2018  08:20 AM               110 run.tcl
05/08/2018  08:18 AM         9,127,784 simpleImage.kc705_ad9467_fmc
05/02/2018  07:58 PM         4,214,431 system_top.bit
               3 File(s)     13,342,325 bytes
               2 Dir(s)  749,518,872,576 bytes free
XMD% run.tcl
couldn't execute ".\run.tcl": no such file or directory
XMD% tcl run.tcl
run.tcl
0
XMD% fpga -f system_top.bit
Configuring Device 1 (xc7k325t) with Bitstream -- system_top.bit
......10.....20......30.....40......50.....60......70.....80.....90......100Successfully downloaded bit file.

 

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       43651093           6        xc7k325t

 

0
XMD% connect mb mdm
WARNING: Processor Version 0x24 - UnSupported Version, New Features May Not Work

 


JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       43651093           6        xc7k325t

 

MicroBlaze Processor Configuration :
-------------------------------------
Version............................0x24 - UnSupported Version
Optimization.......................Performance
Interconnect.......................AXI-LE
MMU Type...........................Full_MMU
No of PC Breakpoints...............1
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0x80000000
Instruction Cache High Address.....0xbfffffff
Data Cache Support.................on
Data Cache Base Address............0x80000000
Data Cache High Address............0xbfffffff
Exceptions  Support................on
FPU  Support.......................off
Hard Divider Support...............on
Hard Multiplier Support............on - (Mul64)
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
PVR Supported......................on
PVR Configuration Type.............Full
Data Cache Write-back Support......off
Fault Tolerance Support............off
Stack Protection Support...........off

 

Connected to "mb" target. id = 0
Starting GDB server for "mb" target (id = 0) at TCP port no 1234
XMD% dow simpleImage.kc705_ad9467_fmc
System Reset .... DONE
Downloading Program -- simpleImage.kc705_ad9467_fmc
        section, .text: 0x80000000-0x803e38e7
        section, .init.text: 0x8057c000-0x8059caab
        section, .init.ivt: 0x8059eac0-0x8059eae7
        section, __fdt_blob: 0x803e38e8-0x803eb8e7
        section, .rodata: 0x803ec000-0x8053365f
        section, .builtin_fw: 0x80533660-0x80533683
        section, __ksymtab: 0x80533684-0x805392e3
        section, __ksymtab_gpl: 0x805392e4-0x8053d893
        section, __ksymtab_strings: 0x8053d894-0x80554ec9
        section, __param: 0x80554ecc-0x805553a3
        section, __modver: 0x805553a4-0x80555fff
        section, __ex_table: 0x80556000-0x80557687
        section, .notes: 0x80557688-0x805576ab
        section, .sdata2: 0x805576ac-0x80557fff
        section, .data: 0x80558000-0x8057bd1f
        section, .init.data: 0x8059cac0-0x8059eabf
        section, .init.setup: 0x8059eae8-0x8059ee2f
        section, .initcall.init: 0x8059ee30-0x8059f213
        section, .con_initcall.init: 0x8059f214-0x8059f21b
        section, .init.ramfs: 0x8059f21c-0x808b30c3
        section, .bss: 0x808b4000-0x808cd29b
Download Progress.........10.........20.........30.........40..........50.........60.........70.........80.........90.........Done
Setting PC with Program Start Address 0x80000000
XMD% con
Processor started. Type "stop" to stop processor

 

RUNNING> XMD%

 

********** Included here are the kernel boot messages:

Ramdisk addr 0x00000000,
Compiled-in FDT at 803e38e8
Linux version 4.9.0-g1034515e9fa1-dirty (dragos@debian) (gcc version 5.2.0 (crosstool-NG 1.20.0) ) #174 Tue May 8 16:17:24 EEST 2018
setup_cpuinfo: initialising
setup_cpuinfo: Using full CPU PVR support
wt_msr_noirq
setup_memory: max_mapnr: 0x30000
setup_memory: min_low_pfn: 0x80000
setup_memory: max_low_pfn: 0xb0000
setup_memory: max_pfn: 0xb0000
Zone ranges:
DMA [mem 0x0000000080000000-0x00000000afffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000080000000-0x00000000bfffffff]
Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
On node 0 totalpages: 196608
free_area_init_node: node 0, pgdat 8057b3e0, node_mem_map 808d5000
DMA zone: 1536 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 196608 pages, LIFO batch:31
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 195072
Kernel command line: console=ttyUL0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 769640K/786432K available (3982K kernel code, 143K rwdata, 1448K rodata, 3292K init, 100K bss, 16792K reserved, 0K cma-reserved)
Kernel virtual memory layout:
* 0xffffe000..0xfffff000 : fixmap
* 0xffffe000..0xffffe000 : early ioremap
* 0xb0000000..0xffffe000 : vmalloc & ioremap
NR_IRQS:128
/amba_pl/interrupt-controller@41200000: num_irq=16, edge=0x412
/amba_pl/timer@41c00000: irq=1
clocksource: xilinx_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
xilinx_timer_shutdown
xilinx_timer_set_periodic
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
Calibrating delay loop... 49.35 BogoMIPS (lpj=246784)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
NET: Registered protocol family 16
clocksource: Switched to clocksource xilinx_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
random: fast init done
Skipping unavailable RESET gpio -2 (reset)
futex hash table entries: 256 (order: -1, 3072 bytes)
workingset: timestamp_bits=30 max_order=18 bucket_order=0
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
40600000.serial: ttyUL0 at MMIO 0x40600000 (irq = 4, base_baud = 0) is a uartlite
console [ttyUL0] enabled
brd: module loaded
Xilinx SystemACE device driver, major=254
60000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008962
NOR chip too large to fit in mapping. Attempting to cope...
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=1023
erase region 1: offset=0x7fe0000,size=0x8000,blocks=4
Reducing visibility of 131072KiB chip to 32768KiB
libphy: Fixed MDIO Bus: probed
xilinx_emaclite 40e00000.ethernet: Device Tree Probing
libphy: Xilinx Emaclite MDIO: probed
xilinx_emaclite 40e00000.ethernet: MAC address is now 00:0a:35:00:00:02
xilinx_emaclite 40e00000.ethernet: Xilinx EmacLite at 0x40E00000 mapped to 0xB00F8000, irq=2
i2c /dev entries driver
i2c i2c-0: Added multiplexed i2c bus 1
i2c i2c-0: Added multiplexed i2c bus 2
i2c i2c-0: Added multiplexed i2c bus 3
i2c i2c-0: Added multiplexed i2c bus 4
i2c i2c-0: Added multiplexed i2c bus 5
i2c i2c-0: Added multiplexed i2c bus 6
i2c i2c-0: Added multiplexed i2c bus 7
i2c i2c-0: Added multiplexed i2c bus 8
pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548
ad9517 spi0.1: Unrecognized CHIP_ID 0xFF
NET: Registered protocol family 17
Freeing unused kernel memory: 3292K (8057c000 - 808b3000)
This architecture does not have kernel memory protection.
Starting logging: OK
Initializing random number generator... done.
Starting network: OK
Starting network...
udhcpc: started, v1.25.0
udhcpc: sending discover
xilinx_emaclite 40e00000.ethernet eth0: Link is Down
xilinx_emaclite 40e00000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
udhcpc: sending discover
udhcpc: sending select for 10.115.79.65
udhcpc: lease of 10.115.79.65 obtained, lease time 3600
deleting routers
adding dns 10.40.73.73
adding dns 10.40.8.8
Starting dropbear sshd: OK
Starting IIO Server Daemon

Welcome to Buildroot
buildroot login: root
Password:
# ls
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0A:35:00:00:02
inet addr:10.115.79.65 Bcast:10.115.79.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:103 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:93447 (91.2 KiB) TX bytes:684 (684.0 B)
Interrupt:2 Memory:40e00000-40e01fff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

#

 

********** Incidentally, I will occasionally get a "random: crng init done" message at the prompt. I'm not sure if this is relevant.

 

********** Has anyone seen this behavior before?

Outcomes