Post Go back to editing

Ethernet works intermittently

Category: Software
Product Number: AD9375

Hi

I am working with a ZC706+ADRV9375-W platform connecting to the Analog GUI
The problem is that when the GUI is running, communication is disconnected after a few seconds and then reconnects
I am using the terminal to configure an IP address- ifconfig eth1 192.168.1.10
What is the solution to the communication being disconnected? Is it somehow related to the software or the DEVICE adrv9375-w package?

I downloaded the software version from the link:

https://www.analog.com/en/lp/001/transceiver-evaluation-software.html

Thread Notes

Parents
  • Hi

    More information: For this purpose I use software code  AD9371/AD9375 API Source Code Ver. 3566

    Communication is OK for ZC706 if I don't use this code,The disconnection of communication reads even when I don't run the GUI.

  • Can you check if the physical ethernet cable connection is proper, without any loose connection ?

    Are you able to connect to the board via the serial port?

    When you notice communication is lost with the board, are you also unable to access the board through the serial connection?"

    Can you try continuously pinging  to the board? Can you check if the firewall is disabled?

  • Are we connecting the board with a lab network ?

    Have we tried connecting the board directly to the laptop/PC directly and check if we do not see this issue?

    As we are facing issue since even before connecting to the GUI, this seems to be a network issue.

    Can you please try reflashing the SD card image from the below link and check again.

    https://www.analog.com/en/lp/001/transceiver-evaluation-software.html

  • Hi

    I did all your questions and still the communication is disconnected.

    I have some information that might help you find the problem:

    1. Software version I work with the communication works continuously- 2024-11-08-ADI-Kuiper-full

    2.Software version I work with the communication don't works continuously- AD9371 Image 20161130

    I would appreciate an answer as soon as possible.

  • Hi 

    Thanks for the answer

    Are we connecting the board with a lab network ? I didn't quite understand.

    Have we tried connecting the board directly to the laptop/PC directly and check if we do not see this issue? Yes I am connected directly I also tried with a laptop and PC, I set the IP address I believe I set it correctly because otherwise I would not be connected.

    Can you please try reflashing the SD card image from the below link and check again. I've tried reflashing the sd and working with it several times. 

    Are there any other ideas to solve the problem?

  • Can you please share us the serial port console log with us ?

    And once you get the console via serial port , can you check the IP address set using vi/etc/network/interfaces ?

    Are there any other ideas to solve the problem?

    And from the TES GUI and command prompt screenshot shared the IP domain series for AD9375  is 192.168.1.x and not 192.168.2.x.

    Below is the IP address screenshot for reference.

    Can you please go through TRANSCEIVER EVALUATION SOFTWARE section from the UG-992  for more details.

  • Hi

    And from the TES GUI and command prompt screenshot shared the IP domain series for AD9375  is 192.168.1.x and not 192.168.2.x.  -  I also tried to work with IP 192.168.1.10 without success.

    (

    Can you please share us the serial port console log with us ?

    My plots from tera term:

    message 1:

    U-Boot 2014.01-dirty (Jul 21 2014 - 14:45:35)

    I2C: ready
    Memory: ECC disabled
    DRAM: 1 GiB
    MMC: zynq_sdhci: 0
    SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 32 MiB
    In: serial
    Out: serial
    Err: serial
    Net: Gem.e000b000
    Hit any key to stop autoboot: 0
    undefined instruction
    pc : [<0000000c>] lr : [<3ff65f5c>]
    sp : 3fb2ff08 ip : 3ff6c2c4 fp : 04000020
    r10: 00000000 r9 : 3fb2ff38 r8 : 0000089c
    r7 : 000003e7 r6 : 3ff8c16e r5 : 3fb52bd0 r4 : 00000000
    r3 : 00000072 r2 : 00000000 r1 : ffffffff r0 : 02000000
    Flags:

    message 2:

    U-Boot 2014.01-dirty (Jul 21 2014 - 14:45:35)

    I2C: ready
    Memory: ECC disabled
    DRAM: 1 GiB
    MMC: zynq_sdhci: 0
    SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 3 2 MiB
    In: serial
    Out: serial
    Err: serial
    Net: Gem.e000b000
    Hit any key to stop autoboot: 0
    Device: zynq_sdhci
    Manufacturer ID: 3
    OEM: 5344
    Name: SU16G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 3.0
    High Capacity: Yes
    Capacity: 14.8 GiB
    Bus Width: 4-bit
    reading uEnv.txt
    379 bytes read in 7 ms (52.7 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from SD ...
    Running uenvcmd ...
    Copying Linux from SD to RAM...
    reading uImage
    2999904 bytes read in 288 ms (9.9 MiB/s)
    reading devicetree.dtb
    11264 bytes read in 13 ms (845.7 KiB/s)
    reading uramdisk.image.gz
    ** Unable to read file uramdisk.image.gz **
    ## Booting kernel from Legacy Image at 03000000 ...
    Image Name: Linux-3.14.0-g5ea3bc9
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2999840 Bytes = 2.9 MiB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum ... OK
    ## Flattened Device Tree blob at 02a00000
    Booting using the fdt blob at 0x2a00000
    Loading Kernel Image ... OK
    Loading Device Tree to 1fffa000, end 1ffffbff ... OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 3.14.0-g5ea3bc9 (jeckard@hotel.adral.analog.com) (gcc version 4.7. 3 (Sourcery CodeBench Lite 2013.05-40) ) #1 SMP PREEMPT Thu May 1 08:26:35 EDT 2 014
    CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine model: Xilinx Zynq ZC706
    bootconsole [earlycon0] enabled
    cma: CMA: reserved 40 MiB at 2d000000
    Memory policy: Data cache writealloc
    PERCPU: Embedded 7 pages/cpu @ec7c9000 s7680 r8192 d12800 u32768
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
    Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk ro otfstype=ext4 rootwait
    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: 992364K/1048576K available (3984K kernel code, 213K rwdata, 1512K rodata , 183K init, 126K bss, 56212K reserved, 270336K highmem)
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
    lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .text : 0xc0008000 - 0xc0566420 (5498 kB)
    .init : 0xc0567000 - 0xc0594e00 ( 184 kB)
    .data : 0xc0596000 - 0xc05cb400 ( 213 kB)
    .bss : 0xc05cb40c - 0xc05eacd4 ( 127 kB)
    Preemptible hierarchical RCU implementation.
    Dump stacks of tasks blocking RCU-preempt GP.
    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    NR_IRQS:16 nr_irqs:16 16
    slcr mapped to f0004000
    zynq_clock_init: clkc starts at f0004100
    Zynq clock init
    sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207951633ns
    timer #0 at f0006000, irq=43
    Console: colour dummy device 80x30
    Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
    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)
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x3c3eb8 - 0x3c3eec
    L310 cache controller enabled
    l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72760000, Cache size: 512 kB
    CPU1: Booted secondary processor
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated.
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    syscon f8000000.slcr: regmap [mem 0xf8000000-0xf8000fff] registered
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 4 bytes.
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    media: Linux media interface: v0.10
    Linux video capture interface: v2.00
    Advanced Linux Sound Architecture Driver Initialized.
    Switched to clocksource ttc_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP: reno registered
    UDP hash table entries: 512 (order: 2, 16384 bytes)
    UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    NET: Registered protocol family 1
    hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
    futex hash table entries: 512 (order: 3, 32768 bytes)
    bounce pool size: 64 pages
    msgmni has been set to 1490
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-2364208
    dma-pl330 f8003000.ps7-dma: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Even ts-16
    e0001000.uart: ttyPS0 at MMIO 0xe0001000 (irq = 82, base_baud = 3124999) is a xu ,ֻk½±[ttyPS0] enabled
    console [ttyPS0] enabled
    bootconsole [earlycon0] disabled
    bootconsole [earlycon0] disabled
    [drm] Initialized drm 1.1.0 20060810
    drivers/gpu/drm/adi_axi_hdmi/axi_hdmi_drv.c:axi_hdmi_platform_probe[176]
    platform 70e00000.axi_hdmi: Driver axi-hdmi requests probe deferral
    brd: module loaded
    loop: module loaded
    cdns-spi e0006000.spi: at 0xE0006000 mapped to 0xF0016000, irq=58
    libphy: XEMACPS mii bus: probed
    xemacps e000b000.eth: pdev->id -1, baseaddr 0xe000b000, irq 54
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ULPI transceiver vendor/product ID 0x0424/0x0007
    Found SMSC USB3320 ULPI transceiver.
    ULPI integrity check: passed.
    zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller
    zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1
    zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000
    zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver usbserial
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver ftdi_sio
    usbserial: USB Serial support registered for FTDI USB Serial Device
    mousedev: PS/2 mouse device common for all mice
    i2c /dev entries driver
    i2c i2c-0: Added multiplexed i2c bus 1
    i2c i2c-0: Added multiplexed i2c bus 2
    at24 3-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
    i2c i2c-0: Added multiplexed i2c bus 3
    i2c i2c-0: Added multiplexed i2c bus 4
    rtc-pcf8563 5-0051: chip found, driver version 0.4.3
    rtc-pcf8563 5-0051: rtc core: registered rtc-pcf8563 as rtc0
    i2c i2c-0: Added multiplexed i2c bus 5
    at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
    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
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    sdhci-pltfm: SDHCI platform and OF driver helper
    mmc0: no vqmmc regulator found
    mmc0: no vmmc regulator found
    mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
    platform leds.2: Driver leds-gpio requests probe deferral
    ledtrig-cpu: registered to indicate activity on CPUs
    hidraw: raw HID events driver (C) Jiri Kosina
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    adv7511-hdmi-snd adv7511_hdmi_snd.6: adv7511 <-> 75c00000.axi-spdif-tx mapping o k
    mmc0: new high speed SDHC card at address e624
    mmcblk0: mmc0:e624 SU16G 14.8 GiB
    TCP: cubic registered
    NET: Registered protocol family 17
    mmcblk0: p1 p2
    Registering SWP/SWPB emulation handler
    regulator-dummy: disabling
    axi-hdmi 70e00000.axi_hdmi: No connectors reported connected with modes
    [drm] Cannot find any crtc or sizes - going 1024x768
    Console: switching to colour frame buffer device 128x48
    axi-hdmi 70e00000.axi_hdmi: fb0: frame buffer device
    axi-hdmi 70e00000.axi_hdmi: registered panic notifier
    [drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0
    platform leds.2: Driver leds-gpio requests probe deferral
    rtc-pcf8563 5-0051: setting system clock to 2025-03-09 08:23:13 UTC (1741508593)
    ALSA device list:
    #0: HDMI monitor
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing unused kernel memory: 180K (c0567000 - c0594000)
    ¡ֻ+dom: init urandom read with 19 bits of entropy available
    י ureadahead main process (722) terminated with status 5
    Last login: Wed Dec 31 19:00:05 EST 1969 on tty1
    Welcome to Linaro 12.11 (GNU/Linux 3.14.0-g5ea3bc9 armv7l)

    * Documentation: https://wiki.linaro.org/

    root@linaro-ubuntu-desktop:~# sudo vi /etc/network/interfaces

    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    "/etc/network/interfaces" 3L, 82C 1,1 All

    I notice that I am booting with an SD CARD (I don't see the default IP setting for the software that needs to be loaded from the SDCARD when the ZC706 is turned on)

    I type the ifconfig command and get the following output:

    root@linaro-ubuntu-desktop:~# ifconfig
    eth1 Link encap:Ethernet HWaddr 00:0a:35:03:64:32
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:147 errors:0 dropped:0 overruns:0 frame:0
    TX packets:171 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:10634 (10.6 KB) TX bytes:37134 (37.1 KB)
    Interrupt:54 Base address:0xb000

    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:336 errors:0 dropped:0 overruns:0 frame:0
    TX packets:336 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:27552 (27.5 KB) TX bytes:27552 (27.5 KB)

    root@linaro-ubuntu-desktop:~#

    I would appreciate an answer as soon as possible.

  • There are two GUI options and 2 SD cards for the AD9375. 

    • One for Linux driver and IIO Scope (AD-FMC-SDCARD)
    • One for Windows-based GUI (ADRV9371-SDCARD)

    The 20xx_R1 SD card will work only with IIO oscilloscope based GUI and not with TES GUI. From the serial console log , looks like you are using IIO based SD card,

    When you wrote the SD card from where did you download the image. TES SD card image is available here. (ADRV9371-SDCARD)  https://www.analog.com/en/license/licensing-agreement/transceiver-evaluation-software.html

    From your first post , looks like you are able to program the board, but you are loosing connection intermittently. I guess you did ping the IP from command prompt and the ping is continuous, If this is the case you need to check if there is some firewall settings that is blocking the GUI communication, 

  • I am working with the same SDCARD and the same software on 2 different ZC706 cards. One of them has communication working, the other card has communication problem.
    Works with Windows operating system and the firewall settings that is blocking.

  • Which SD card are you using and which GUI are you using ? 

    You have 2 setups with ZC706+ADRV9371 and one of them works and the other one does not. Hope my understanding is correct. Have you tries swapping the SD card to rule out SD card corruption. ? Try putting SD card from working system on non-working ZC706+ADRV9371. 

  • Hi

    I have tried yet without success.

Reply Children
    • Are there any other ideas to solve the problem?

      From the screenshot shared the IP address entered is 192.168.2.10 , that is the reason we suspected the IP address conflict.

      Assuming that the IP address configured is correct i.e 192.168.1.10, have you configured the ethernet settings (eth1) in the /etc/network/interfaces? I don't see this in the console log shared by you.

      Below screenshot is from our setup in the /etc/network/interfaces file for reference.

      Are you able to continuously ping to the IP address configured in the board?

      After configuring the IP address properly and if we still ping inconsistency then the issue might be due to firewall connection settings which needs to be fixed.